Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
slashdave
· 12mo ago · 0 comments
Sure. Now keep everything in memory and use redis or memcache. Easy to get performance if you change the rules.
Comments
[–]
koakuma-chan
12mo ago
You can use SQLite for persistence and a hash map as cache. Or just go for Mongo since it's web scale.
[–]
Yodan2025
12mo ago
yep, then add an AWS worker in-between
[–]
SJC_Hacker
12mo ago
SQLite can also do in memory
[–]
slashdave
OP
12mo ago
Yeah, 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
12mo ago
Backups are to the second with litestream.