At present, there are many network services available for file storage, such as Ali Cloud OSS, Qiuniuyun, Tencent cloud and so on, but the fees are a little expensive. To help the company save money, it has been using fastDFS as a file server, or image server to be exact. Until I discovered MinIO, I decided to give up FastDFS. I won’t say anything about how MinIO works. MinIO’s official website is docs. Min. IO /cn/. To put this in perspective, I decided to give up fastDFS and use MinIO as a photo storage server.
Cause 1: Complexity of installation and deployment (O&M)
When companies used fastDFS previously, only a few people were able to master the fasdtDFS deployment structure. So if something goes wrong, there are only a few people on top. To deploy a fastDFS distributed service, you need to have the following knowledge
- Linux based directory operations
- The common distributed master-slave principle
- C language code compilation
- Nginx installation and deployment
- Using the Nginx plugin (anti-theft)
If it is only the above basic knowledge, arrange a few programmers to learn it is good to say. The main thing is that the fastdFS deployment structure is so complex that IF I don’t look back for too long, I forget what it was all about. When I saw the MinIO installation process and distributed deployment commands (Distributed MinIO Quick Start), the decision to give up fastDFS was more than half made. To put it bluntly: FastDFS deployment is just an assembly process, and you need to understand the FastDFS architecture to properly install and deploy it. MinIO is installed in a black box, so you don’t have to dig into the architecture, you don’t have to assemble parts, and it’s pretty much out of the box. Ordinary technical personnel can participate in the later operation and maintenance.
Reason 2: Documentation
I think it’s been 10 years since I knew about fastDFS. Unexpectedly, there is no official document, all the documents are the summary of the company’s own document, or the summary of the user’s own document. In this regard, fastDFS is a complete failure, although Yuqing probably didn’t think about how many people would use it when he started the project. Even if more people use it, In the eyes of Yuqing God may feel that this is just a small toy developed by himself, there is no need to continue in-depth operation.
Reason 3: Open source project operation organization
Fastdfs is a personal project by Yuqing Ali, which has applications in some Internet startups. No official website, inactive, 6 ficolones. Few updates have been made. MinIO is currently an open source project run by Minio. Inc., a silicon Valley company founded in 2014, and the community forums are very active.
Reason 4: UI
We all know that fastDFS doesn’t have a UI by default, so take a look at MinIO’s interface. This interface does not need to be deployed separately, along with the server. Out of the box, out of the box.
Reason 5: Performance
MinIO claims to be the world’s fastest object storage server. On standard hardware, the read/write speed of the object storage can reach 183 GB/s and 171 GB/s. On fastDFS I once wrote 200, 000 files totaling 200 GIGABytes in a single-thread test that took about 10 hours. In general, it is difficult to achieve the gigabit-per-second read and write speeds MinIO claims to have.
Reason 6: Containerization support
MinIO offers deep integration with containerization technologies such as K8S, ETCD, and Docker, which is designed for the cloud environment. This is something FastDFS does not have.
Reason 7: Rich SDK support
FastDFS currently provides THE C and Java SDKS, as well as the PHP extension SDK. MinIO SDK support is shown below. MinIO provides SDKS and documentation for almost all major development languages. What’s important, guys, is the documentation.
Not that PHP isn’t mainstream, don’t want to start a war. He has a strong desire for life.
Reason 8: Compatible with AWS S3 standards
Amazon’s S3 API is the de facto standard in object storage. MinIO is the de facto standard for S3 compatibility, being one of the first to adopt an API and add support for S3 Select. More than 750 companies, including Microsoft Azure, use MinIO’s S3 gateway, more than the rest of the industry combined.
What do you mean? So you’re using MinIO now to save money, until your company gets bigger and richer. If you don’t want to run your own infrastructure, you can put your object store in the cloud, and as long as the cloud vendor supports the S3 standard, your application won’t need to be redeveloped.
Welcome to my blog, where there are many fine collections
- This article is reprinted with a credit (must be accompanied by a link, not only the text) : Antetokounmpo blog.
Feel helpful to you, help me like, share! Your support is my inexhaustible creative power! . In addition, the author recently a period of time output as follows boutique content, looking forward to your attention.
- Spring Boot2.0 by Hand
- Spring Security- JWT-OAUTH2
- RBAC Authority Management System for Actual Combat Front-end and Back-end Separation
- “Actual SpringCloud Micro-service from Bronze to King”
- VUE Series