Re:How to build a HackerNews Clone using Redis
by bogomipz on Friday December 03, 2021 @11:06AM
(#29431509)
Why would using Redis add significantly to the cost?
[ Parent
| on HN ]
Re:How to build a HackerNews Clone using Redis
by _hyn3 on Friday December 03, 2021 @11:09AM
(#29431543)
Because Redis' database is stored exclusively in RAM, which is an order of magnitude more expensive than even SSD.
Also, long-term maintenance effort and costs would be substantially higher. (Redis persistent-to-disk options, namely AOF and RDB, are notoriously unreliable.) These issues would persist (ha) even with a clustered setup (actually, especially then.)
Re:How to build a HackerNews Clone using Redis
by bertjk on Friday December 03, 2021 @11:51AM
(#29432110)
I've never heard of them being unreliable, and certainly not notoriously so. What sources do you have on this? My own impression formed from reading HN is that opinion around Redis is nearly entirely (almost cultish-ly) positive.
I'm just checking if there is something I missed.
Re:How to build a HackerNews Clone using Redis
by Eikon on Friday December 03, 2021 @12:26PM
(#29432566)
> Because Redis' database is stored exclusively in RAM, which is an order of magnitude more expensive than even SSD.
Maybe, but still very cheap. Unless you are talking about insanely high priced cloud services.
Something like Hetzner would provide you with 128GB of ram for 60 euros / month or 1TB of ram for around 500 euros / month.
Re:How to build a HackerNews Clone using Redis
by node-bayarea on Friday December 03, 2021 @05:32PM
(#29436453)
Not exactly true. There are things like "Redis on Flash" that redis.com offers for large sets of data. If you enable it, most of your data gets stored in a Flash memory and hence super cheap, in fact even cheaper than things like DynamoDB and stuff.