Re:Why you should probably be using SQLite
by andreidd on Friday October 27, 2023 @09:22AM
(#38038095)
Why not use “:memory:”?
Re:Why you should probably be using SQLite
by aaviator42 on Friday October 27, 2023 @09:29AM
(#38038183)
Multiple processes cannot access the same :memory: sqlite db, which makes it incompatible for our use cases.
Have you considered https://www.sqlite.org/inmemorydb.html
Re:Why you should probably be using SQLite
by aaviator42 on Friday October 27, 2023 @10:24AM
(#38038842)
Yes! Like I mentioned in the other comment, multiple processes cannot access the same :memory: sqlite db, which makes it incompatible for our use cases.
Re:Why you should probably be using SQLite
by mharig on Saturday October 28, 2023 @08:19AM
(#38049253)
Use tempfs.
Re:Why you should probably be using SQLite
by mharig on Saturday October 28, 2023 @02:02PM
(#38052005)
Sorry, it's tmpfs.
Re:Why you should probably be using SQLite
by aaviator42 on Sunday October 29, 2023 @01:11PM
(#38060587)
Yes, we are!
Handles tens of thousands of requests a day very smoothly! :)
As an aside, has anyone tried using a RAM-disk as the storage medium for SQLite DB files? We've started experimenting with it lately and results have been promising!