B
B
bacalastein2017-04-27 17:10:28
linux
bacalastein, 2017-04-27 17:10:28

What solutions are used to create multi-host distributed memory for storing data from Docker containers?

What solutions are used to create multi-host distributed memory for storing data from Docker containers? What is the most robust, production-ready approach? GlusterFS? Minio+S3? We need to store images uploaded by users. You can, of course, connect some S3 or other cloud to Rails, but I would like a Docker solution with replication between hosts. GlusterFS looks good, but you need to create a separate partition for each host, and, say, if you need to add 10 new servers, this solution will not be very elegant, since you have to do it manually.
PS We are talking about a system of 2 hosts with the same web application containers.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
huwesu, 2017-04-27
@huwesu

Experience in building and operating a large file ...
Binary (file) storage, a scary tale with m...

S
SchmeL, 2017-05-04
@SchmeL

You can write an ansible playbook if you don't want to by hand. We currently have 3 servers configured with GlusterFS with NFS enabled. On all servers, folders are mounted via NFS, since it has a higher speed than the native fuse driver. There was OCFS2 before it, but after 2TB of data (mostly images), the write speed dropped sharply. I had to switch to GlusterFS. At the moment we are considering the option with CephFS...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question