Can SQLite be used with GlusterFS

high-availabilitysqlite

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?

Best Answer

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

Related Topic