OSS file storage system

Alibaba’s paid file object storage service

Object Storage Service (OSS) provides you with network-based data access services. Using OSS, you can store and recall various unstructured data files including text, pictures, audio and video at any time through the network.

Object storage can be simply understood as a data pool used to store unstructured data such as pictures, audio, and video. Compared with the host server, it has the characteristics of fast reading and writing speed and is conducive to sharing.

Alibaba Cloud OSS: A massive, secure, low-cost, and highly reliable cloud storage service, providing 99.9999999999% data reliability. Using RESTful API, it can be stored and accessed anywhere on the Internet, and the capacity and processing power can be elastically expanded.

1. Separate dynamic and static website data, greatly improving web page performance

Under normal circumstances, we recommend using a division of labor between the host server and object storage to store website data. The host server is mainly responsible for storing the dynamic data of the website, and the object storage is used to store the static files of the website. This achieves the separation of dynamic and static websites. When a user visits a website, data is read synchronously from the host server and the object storage server respectively, which can greatly improve the performance of the web page.

2. Separate file management interface, managing website files is as convenient as local computer

Whether it is Tencent Cloud, Alibaba Cloud, or Shanyan, object storage has a separate management console, and Tencent Cloud and Alibaba Cloud also have dedicated computer clients. You don't have to open the website, you can use object storage to manage your website files just like Baidu Cloud Disk. In addition to common functions such as uploading, downloading, and previewing, you can also perform image processing/media transcoding/data analysis directly on object storage. wait.

3. It is essentially a "distributed server with built-in large-capacity hard disk", and the same file supports cross-domain sharing.

The essence of object storage is a "distributed server with built-in large-capacity hard disk". Object storage has its own CPU, memory, network and disk system, and has certain intelligence. The same object storage data pool can create different buckets. , used to store data from different websites respectively without interfering with each other. Moreover, the same file can be referenced to different websites, which can effectively reduce data redundancy.

4. There are many storage nodes, supporting real-time synchronization across regions to achieve remote disaster recovery.

Assuming that your pictures and other data are stored on your own server, your data can only be protected through regular data backups. If the amount of data is large, each backup will take a lot of time and occupy a lot of disk space, making it inconvenient to manage.

If your data is placed in an object storage data pool and associated with the website. Then the backup of static files can be handed over to object storage. You only need to back up a small number of dynamic files on your website. save time and energy.

For example, I use object storage and store static files such as website images in the node closest to me [Shenzhen]. However, considering extreme situations, such as a sudden power outage at the Shenzhen node, all data may be lost. But if I selected [Hangzhou] as the second storage node before, and set the data of the [Shenzhen] node to be incrementally synchronized to the [Hangzhou] node in real time. Then even if the data of the Shenzhen node is lost, my data in Hangzhou can still be used. When the power is restored, I will synchronize the data from the Hangzhou node back to the Shenzhen node. This is what we call remote disaster recovery.

5. Low cost, flexible resource expansion and pay-as-you-go

Unlike server traffic, object storage is fixed and included in the cost of the server. Whether you use it or not, there are so many. Object storage can be billed based on your actual usage.

6. Save server space

Why did you choose to put this point at the end? Because the price of servers is quite affordable now and there are many activities. Most webmasters no longer have the problem of insufficient server space. Moreover, the emergence of object storage is not to solve the problem of insufficient server space. It is to combine the respective advantages of [block storage] and [file storage] to achieve efficient file reading, writing and sharing. But saving server space is still not a fact, so let’s mention it.

REST (English: Representational State Transfer, referred to as REST) ​​describes an architectural style network system

RESTFUL is a design style and development method for web applications. It is based on HTTP and can be defined in XML format or JSON format. RESTFUL is suitable for scenarios where mobile Internet manufacturers serve as business enablement interfaces to implement the function of third-party OTTs calling mobile network resources. The action types are adding, changing, and deleting the called resources.

Only one OSS service can be activated under the same user in the same region, and the purchased specifications cannot specify the kucket space size. All buckets share the entire specification space.


——————————————
Copyright Statement: This article is an original article by CSDN blogger “小水目小肖明” and follows the CC 4.0 BY-SA copyright agreement. Please attach a link to the original source for reprinting and this statement.
Original link: https://blog.csdn.net/Doudou_Mylove/article/details/107221109

Guess you like

Origin blog.csdn.net/weixin_70280523/article/details/132613204