3 ms·
You would absolutely be surprised how far you can get using a process’s memory as it’s official database and just dumping it out to disk periodically for persis
by sbjs 8y ago
You would absolutely be surprised how far you can get using a process’s memory as it’s official database and just dumping it out to disk periodically for persistence. I kind of want to write an article but the article can’t do it justice: It’s something you need to experience yourself to fully appreciate it and be wowed like I was. I’m sure Linux uses files for its persistence layer for most cases.
- Filligree 8y agoWe're talking about the process table and so forth. It's never persisted at all.
- giovannibajo1 8y agoThat’s Redis’ initial persistence design, that is still available, but nowadays most people use it with append-only logs because it provides more resistance to random crashes (eg: power going off)