Not envy mandarin duck not envy fairy, a line of code half a day. Original: Taste of Little Sister (wechat official ID: XjjDog), welcome to share, please reserve the source.

I was surprised to see that RedHat is offering Ceph training for free. Is it really necessary to build such a complex and powerful storage scheme? With MinIO, I knew I was done with Ceph forever.

Besides FastDFS. The biggest reason WHY I hate FastDFS is not because it’s hard to use or deploy, but because of its name. I’m a Fast boy. I’m a Fast boy.

Just kidding, FastDFS has been with us for years. Also, Minio’s min is not a modest word.

I feel so helpless after one FastDFS wank. Deployment is a hassle, and its SDK is incomplete and documentation is flying around. After learning about MinIO, I was happy to finally get rid of FastDFS.

MinIO is an Apache project with aristocratic pedigree and pride. It has high performance and is 100% S3 compatible.

What does that mean? ** If you are in a private cloud and have s3 set up, you have aws’ most advanced S3 storage. ** It is best for storing unstructured data such as photos, videos, log files, backups, and container/VM images. Objects can range in size from a few KB to a maximum of 5TB. Many commercial companies secretly developed MinIO, tinkered with the interface, and finally claimed to have made it themselves, only to find out after removing a layer of skin that it was MinIO.

More importantly, it is deeply integrated with current virtual technologies, such as K8SK3s, ETCD, Docker, etc., which can be said to be born for the cloud environment. No more debugging disgusting configuration files in a virtual environment. Minio is designed primarily for ARTIFICIAL intelligence, machine learning, and other big data workloads. In terms of architecture and functionality, Minio is a relatively good open source object storage solution.

At this point, as you can probably guess, this guy is written in go. Applications written with GO, clean as a running program, look clean. As refreshing as SpringBoot into a JAR package.

How easy is it to install? See the official GIF.

Minio is available in Chinese, see docs.min. IO /cn/. It covers everything from installation to principle.

Let’s take a look at high availability for a moment. Minio uses erasure codes so that even if you lose half the number of hard drives (N/2), you can still recover data. In distributed and single-machine mode, all read and write operations of Minio strictly follow the Read-after-write consistency model. This is not surprising, object stores store large amounts of data and take much longer to write than to coordinate, making it unnecessary to use complex coordination mechanisms like Raft or Paxos.

This is the access screen after startup, and you can see a very clean interface. If you want to do some custom selling, you just need to develop a skin.

In terms of usage, this is very similar to S3. In fact, you can even manipulate Minio using s3CMD. If you look at these basic commands, those who know Linux should feel no pressure at all.

Ls Lists files and folders. MB Creates a bucket or folder. Cat displays file and object contents. Pipe redirects a STDIN to an object or file or STDOUT. Share generates the URL for sharing. Cp Copies files and objects. Mirror Mirrors buckets and folders. Find finds files based on parameters. Diff compares differences between two folders or buckets. Rm deleted files and objects. Events Notifications of managed objects. Watch listens for events on files and objects. Policy Manages access policies. Session Indicates the session saved by cp command management. Config Manages MC configuration files. Update Checks software updates. Version Displays the version information.Copy the code

SDK, provides Java, JavaScript, Python, Golang,.NET and other languages SDK, integration becomes easier.

The rest is not wordy, the content of the Chinese document is very complete. With file services such as Ceph, Swift, hbase, HDFS, Glusterfs, and even Mongo, Minio is arguably the most useful. In fact, the author of Minio was the creator of GlusterFS. The latter was acquired by Red Hat in 2011.

It’s like when MySQL was bought by Oracle, Mariadb came out. You might think the company is losing money, but big companies don’t need the money. Acquisitions don’t necessarily want to build, they just want to eliminate some threat in their path.

Xjjdog is a public account that doesn’t allow programmers to get sidetracked. Focus on infrastructure and Linux. Ten years architecture, ten billion daily flow, and you discuss the world of high concurrency, give you a different taste.