How Fast can A Single Instance of Redis be?
11–20 of 79 posts
Re: How Fast can A Single Instance of Redis be?
#12Well, to be honest if you are IO/network bound and kernel TCP stack is the bottleneck then user space networking like DPDK can help in every application. It depends on application but sometimes additional complexity of introducing DPDK is just not worth it, and just spinning another instance/server is a better choice. Look also at Seastar used in ScyllaDB with and without DPDK numbers.
Just remember you need to give DPDK one whole NIC and it's using polling so 100% CPU usage on polling cores.
Re: How Fast can A Single Instance of Redis be?
#13Hackernews hug of death already?
The AWS instance was sized too low :) touche on the not fast enough comments.
Re: How Fast can A Single Instance of Redis be?
#14Re: How Fast can A Single Instance of Redis be?
#15IIUC the benchmark did not use pipelines and the numbers show that. Redis itself can outperform this by a factor of 10 with pipelining, and I'm betting the difference from the module won't be that big given such a setup (which is how you should ideally work anyway).
Still, nice to see the modules API being put to interesting use cases.
Re: How Fast can A Single Instance of Redis be?
#16https://archive.fo/4WMYg
[deleted]
Re: How Fast can A Single Instance of Redis be?
#17Well the site is down.
We are back up, had to move to a bigger server haha
Re: How Fast can A Single Instance of Redis be?
#18These numbers seem off. 4ms to store something in memory ? Even if it include network latency it should be able to improve further.
Most of the bottleneck is in the TCP stack. That's why user mode networking like this module does helps a lot.
Re: How Fast can A Single Instance of Redis be?
#19Earlier quoted context omitted.
Maybe they should use this module that I can't read about to power their site. :P
I assume the downtime is due to the HTTP server, not persistence.
That would be unusual. Most websites fall over due to a DB bottleneck long before the backends or HTTP servers see significant load.
Re: How Fast can A Single Instance of Redis be?
#20To maximize reach, have you explored what would take for a first-class Redis wasm [1] implementation, maybe pairing it with Terra [2] for Lua scripting.