Aug 22, 2011
tom

Can SQLite be used with GlusterFS?

Question

I want to build a distributed storage based on GlusterFS with Automatic File Replication (AFR) to store users files in a fault-tolerant way.

But I also want to access an SQLite3 database stored on the GlusterFS volume (and so replicated on several servers) from multiples clients. Is it possible? Does the concurency between the several clients will be well handled and will not lead to corruption?

Or is there a better alternative to GlusterFS to distribute the SQLite3 database?

Answer

GlusterFS supports full POSIX file / record level locking even in replication mode. It should work fine.

Related posts:

  1. Using GlusterFS for simple replication
  2. Can I run mysqld on top of glusterfs?
  3. Clearer understanding for glusterfs for replication
  4. GlusterFS vs Ceph, which is better for production use for the moment?
  5. How do GlusterFS permissions work on Linux?

Leave a comment