Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure. Now keep everything in memory and use redis or memcache. Easy to get performance if you change the rules.




You can use SQLite for persistence and a hash map as cache. Or just go for Mongo since it's web scale.

yep, then add an AWS worker in-between

SQLite can also do in memory

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.

Backups are to the second with litestream.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: