Live data from Hacker News

How Fast can A Single Instance of Redis be?

docs.keydb.dev

11–20 of 79 posts

Re: How Fast can A Single Instance of Redis be?

#12
Well, 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?

#15
IIUC 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?

#19
post #9

Earlier 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.
Post reply on HN