4 ms·
Sure. Now keep everything in memory and use redis or memcache. Easy to get performance if you change the rules.
by slashdave 11mo ago
Sure. Now keep everything in memory and use redis or memcache. Easy to get performance if you change the rules.
- koakuma-chan 11mo agoYou can use SQLite for persistence and a hash map as cache. Or just go for Mongo since it's web scale.
- Yodan2025 11mo agoyep, then add an AWS worker in-between
- SJC_Hacker 11mo agoSQLite can also do in memory
- slashdave 11mo agoYeah, very good point. It all comes down to requirements. If you require persistence, then we can start talking about redundancy and backup, and then suddenly this performance metric becomes far less relevant.
- andersmurphy 11mo agoBackups are to the second with litestream.