Reputation: 6428
I want to set up a Swarm with persistent and replicated volumes through Ceph. I see these options to combine both services, once both are set up:
/var/lib/docker/volumes
.I wonder now: which option would deliver fastest performance? Is there another better option that I'm missing? Thanks.
Upvotes: 3
Views: 4901
Reputation: 6113
In general for best performance you should go for rbd, since it provides you with direct block access to the ceph volume, whereas s3fs is quite much more machinery to be spun, which eventually result in longer response times. Having quick responses for random read/writes is especially important when you have a scenario like running a postgreSQL (or MariaDB) database with mixed read/write load.
This is only a general advice looking at Ceph rbd. But my guess is this will apply as well to docker storage drivers.
Upvotes: 4