Re:SQLite Is Serverless
by paulfurtado on Sunday January 26, 2020 @04:51PM
(#22155030)
If the language's sqlite bindings don't offer a way to load a database from a string, if you're on a modern linux kernel (3.17+) you can make use of the memfd_create syscall: it creates an anonymous memory-backed file descriptor equivalent to a tmpfs file, but no tmpfs filesystem needs to be mounted and there's no need to think about file paths.
[ Parent
| on HN ]
There are no comments on this comment yet.