4 ms·
That's my usual approach as well. Usually an app's data will easily fit in memory within one process (and if it doesn't, that means the app has become so popula
by pavlov 12y ago
That's my usual approach as well. Usually an app's data will easily fit in memory within one process (and if it doesn't, that means the app has become so popular that adding an extra X GB of memory is an insignificant cost). Using the language's native data types and an append-only file for persistence is simple and offers high performance compared to doing all access over a socket.