In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Today, I once again discussed the topic of storing pictures on the website, so I thought of the classic virtual application of storing pictures. That is, the "add virtual directory" function when IIS is released. Now this function has been gradually replaced by object storage service in the use of picture sharing.
In the traditional architecture, the virtual directory function is very popular because it enables multiple websites to share the same "picture read and write path". At the same time, it also achieves the function of centralized storage of pictures. However, with the development of cloud architecture, this usage is rare at present. Instead, static files such as pictures are shared and stored in the "object Storage" service.
There are many providers of object storage services. The object storage service provided by Aliyun is referred to as OSS, which can be purchased with coupons: http://2bit.cn/q. Thank you for your coupon support.
Why is the picture server no longer advocated? The editor temporarily thought of the following shortcomings:
1. Under the index performance caused by too many images in the same directory. Multi-level directory management is tedious, directory path is too deep and so on. Disk fragments are serious
2. Bandwidth bottlenecks caused by future concurrent traffic outbreaks, network contention caused by dynamic and dynamic resource sharing bandwidth, and slow website opening.
3, the requirement of independent deployment caused by the concurrent traffic in the future, which is deployed as a picture server independently, the process of independent deployment is tedious, and even needs to modify the source code to cooperate.
4, lack of high availability features, picture server downmachine, all referenced sites affected can not load pictures.
What are the advantages of replacing the current cloud architecture solution? The advantages of object storage are as follows:
1. With high availability, object storage itself is a cluster, stand-alone failure will not affect the entire system, and multiple copies of files should not be lost.
2. There is no upper limit of bandwidth (in other words, the upper limit of bandwidth is very large, often 100 megabits start as standard configuration), which directly increases the difficulty of triggering bandwidth bottlenecks.
3. The storage space is expanded at will, and the obvious characteristic of cluster service is dynamic additional resources, which makes the business reduce or even avoid interruption.
4. Supporting services often support enabling CDN services with one click, which makes it easy to achieve further node acceleration.
5. Support additional processing functions, such as hotlink protection settings, image watermarking, access statistics, etc.
6. Pay by quantity, the most expensive thing for object storage service is often the traffic fee, but this fee is paid as much as possible. Therefore, we need to pay extra attention here, do not disclose private services to the public network. In addition to the purpose of preventing private files from being stolen, it is also necessary to prevent malicious brush traffic. In this step, improper setting is tantamount to turning advantages into disadvantages.
Original address: https://www.opengps.cn/Blog/View.aspx?id=59, the updated editor of the article shall be subject to this link. Welcome to follow the original articles of Origin Server!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.