3 ms·
Hey how's the mmap-based shared memory WAL approach working out? It's been about half a year since you finished the implementation and I only see one issue abou
by infogulch 2y ago
Hey how's the mmap-based shared memory WAL approach working out? It's been about half a year since you finished the implementation and I only see one issue about it on the tracker, a good sign?
- ncruces 2y agoIt's turning out great, I guess. The current approach is not portable to Windows, but it works fine on Linux, macOS, BSD and illumos. In general, portability is hindered more by file locking (I hate POSIX locks) than mmap. The currently open GitHub issue is more bad default configuration than anything else. Configuring connections to use less memory by default should fix it. I already have a PR ready for the next release that also opens this up for 32-bit platforms. Also, GoToSocial (a self-hostable Mastodon alternative) moved to it (from modernc) for its first beta release. https://github.com/superseriousbusiness/gotosocial https://github.com/superseriousbusiness/gotosocial