Y
Hacker News
new
|
ask
|
show
|
jobs
by
gcr
75 days ago
The SQLite documentation says in strong terms not to do this.
https://sqlite.org/howtocorrupt.html#_filesystems_with_broke...
See more:
https://sqlite.org/wal.html#concurrency
2 comments
Retr0id
75 days ago
They tell you to use a proper FS, which is largely orthogonal to containerization.
link
jmull
75 days ago
WAL relies on shared memory, so while a proper FS is necessary, it isn't going to help in this case.
link
fauigerzigerk
75 days ago
Why does it not help if both containers can mmap the same -shm file?
link
jmull
75 days ago
Shared memory across containers is a property of a containerization environment, not a property of a file system, "proper" or not.
link
Retr0id
75 days ago
It's a property of the filesystem, docker does not virtualize fs.
link
merb
75 days ago
btw nfs that is mentioned here is fine in sync mode. However that is slow.
link