News for hackers. Stuff that matters.
Re:How to build a HackerNews Clone using Redis by tyingq on Friday December 03, 2021 @12:06PM (#29432292)
They have two different approaches to persistence, with different tradeoffs: https://redis.io/topics/persistence

Either would have the generic disadvantages of:

- Dataset can't exceed available memory

- The general disadvantages of NoSQL vs SQL around queries, transactions, etc, if you're expecting relational type functionality

Re:How to build a HackerNews Clone using Redis by sudo-it-all on Friday December 03, 2021 @12:28PM (#29432591)
Redis supports clustering and sharding: https://redis.io/topics/cluster-tutorial

There are also managed solutions that implement Redis with partial flash storage. Redis Enterprise and AWS ElastiCache both do this.

Re:How to build a HackerNews Clone using Redis by Raed667 on Friday December 03, 2021 @12:10PM (#29432349)
> Dataset can't exceed available memory

From my understanding, they do support sharding

Re:How to build a HackerNews Clone using Redis by tyingq on Friday December 03, 2021 @01:19PM (#29433227)
Sure, but still limited to the total amount of memory of all machines. You can't page in/out from storage.
Re:How to build a HackerNews Clone using Redis by node-bayarea on Friday December 03, 2021 @05:30PM (#29436434)
You can store Terabytes of data in Redis. Just google it.
Re:How to build a HackerNews Clone using Redis by tyingq on Friday December 03, 2021 @06:04PM (#29436740)
Yes, in Terabytes of RAM, or some separate commercial offering with flash. Not sure I get your point.