zlacker

[return to "Do you really need Redis? How to get away with just PostgreSQL"]
1. chmod7+K[view] [source] 2021-06-12 07:07:15
>>hyzyla+(OP)
Funny. My approach is usually the other way around: Can I get away with just Redis?
◧◩
2. wokwok+T3[view] [source] 2021-06-12 07:44:04
>>chmod7+K
Why would you choose to use a system that doesn't scale by default?

Single user local applications? Fair.

Web applications? Very strange choice imo.

Reddis is great, but it is *not* a database, and it's thoroughly rubbish at high load concurrency without clustering, which is (still) a massive pain in the ass to setup manually.

Of course, you can just use a hosted version off a cloud provider... but, it's generally about 10x more expensive than just a plain old database.

/shrug

I mean, sure, it's (arguably...) step up from just using sqlite, but... really, it's easy, and that's good... but it isn't good enough as a general replacement for having a real database.

(To be fair, sqlite has got some pretty sophisticated functionality too, even some support for concurrency; it's probably a step up from redis in many circumstances).

◧◩◪
3. arpa+a5[view] [source] 2021-06-12 07:58:18
>>wokwok+T3
redis is not a database. It's a key-value based cache. If you're using it as a database, you're gonna have a bad time.
◧◩◪◨
4. cube22+s6[view] [source] 2021-06-12 08:12:19
>>arpa+a5
Why so? It has persistence and I'm not aware of any reported data loss happening with it.

It's also got loads of complex and useful instructions.

◧◩◪◨⬒
5. jasonw+e8[view] [source] 2021-06-12 08:32:19
>>cube22+s6
Redis is inherently lossy as a matter of basic design, and that's not even touching on the many other issues born of NIH solutions rampant within it. You may not hit the behavior until you push real loads through it. If you talk to anyone who has, I'm confident they'll agree with the criticism that while it may be an excellent cache, it should never be treated as a ground truth database. It's excellent as a slower memcachd with richer features. It's not a database. You can also read Aphyr's reports over the years, which to be utterly frank, bent over backwards to be charitable.
[go to top]