4 ms·
I couldn't agree more with "We need more building blocks like Redis that do what they’re supposed to, then get out of the way." Redis has become such a foundati
by baconomatic 8y ago
I couldn't agree more with "We need more building blocks like Redis that do what they’re supposed to, then get out of the way." Redis has become such a foundational piece of software for me and the projects I work on.
Plus, it's just plain fun to use.
- dnomad 8y agoFrankly this strikes me as really hacky. A million operations a second isn't even that much. Something like Chronicle [1] can do millions of atomic operations a second. A cluster of 10 nodes for what are basic in-memory counters? And the wackiness of Lua scripts to read from the cache? It all seems a bit much. I've solved similar problems in the trading space (processing raw market data feeds) with much less. It's interesting how different communities have their hammers and nails. Redis seems to have really taken over certain consumer-web-oriented communities. In other more enterprise communities I've seen people lean heavily on distributed cache products like Hazelcast etc. And in trading this sort of thing is so bread and butter and common that everybody has internal solutions. [1] https://chronicle.software/ https://chronicle.software/
- spmurrayzzz 8y agoAm I mistaken in that you need to pay for the Enterprise version of Chronicle to get a feature set comparable to Redis (which is free OSS)?
- manigandham 8y agoSure, but Redis is also fast, versatile, and very easy to run which is why so many gravitate towards it. It also has a much larger ecosystem compared to any of the other options which makes it more productive. The fintech industry is generally years ahead in performance but most companies will trade those solutions for easier dev/ops.
- misterbowfinger 8y agoA lot of people also make a mistake of benchmarking Redis on multi-core machines. Redis is single-threaded, so it'll never be faster if you have multiple cores. To properly benchmark Redis on a multi-core machine, you have to run more instances of Redis on the same machine (1 instance/core).
- GauntletWizard 8y agoYes; A redis cluster with 10 'nodes' can easily fit on a single machine. When comparing redis performance, benchmarking apples-to-apples in per-core performance is important.
- tybit 8y agoI don’t see what’s wrong with using a scripting language to extend a data store. Regardless, Redis now has modules so that you can implement these extensions in native code instead of/as well as Lua. In fact it seems the author of the post already has done so with https://github.com/brandur/redis-cell https://github.com/brandur/redis-cell
- cortesoft 8y agoI think you underestimate the importance of being open source to a lot of people.. I don’t want to rely on something I can’t debug if we have an issue.