dimanche 4 décembre 2016

How to use sqlite3 file from different docker containers?

I am planning to use sqlite3 as a persistent storage between multiple docker containers.

Only a single container (data producer) will be used to write to the same sqlite file, while all others will read (i.e. visualization application).

Sqlite uses Mutex based multi-thread synchronization, so I will use docker with -ipc:host option

  • Are there any problems with such scenario?
  • Are there any performance issues I need to be aware of?

Thanks

Aucun commentaire:

Enregistrer un commentaire