How is this different from what Solarflare ( https://twitter.com/Solarflare_Comm/status/11134717313798430... ) is doing with Cloud Onload? From what I understand they don't require any application changes and they work on any networking application.
How Fast can A Single Instance of Redis be?
21–30 of 79 posts
Re: How Fast can A Single Instance of Redis be?
#22Earlier quoted context omitted.
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.
---
FWIW, the site is up for me.
Re: How Fast can A Single Instance of Redis be?
#23IIUC 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?
#24Re: How Fast can A Single Instance of Redis be?
#25(I'm probably being thick; the benchmark code is probably linked and I'm just not seeing it.)
I recently maintained some nodejs & expressjs stuff. Neither the Redis clients (or the original developers of our stuff) have any concept of backpressure (throttling). In our case, HTTP request received would cause a Redis request. For whatever reason, expressjs (or nodejs) event loop thingie processes Request preempt other stuff. So Redis responses would pile up in Redis itself, causing Redis to ABEND (out of memory).
Trying to explain backpressure, queueing, throttling to a bunch of junior devs who LOVE LOVE LOVE nodejs... Definitely was not my favorite gig.
--
PS- I started using Redis a few gigs ago. I really wanted to hate it. I'm primarily a Java dev and was esthetically offended by the NoSQL fad. But turns out Redis is awesome. And antirez is now a personal hero. I truly wish I was more like him.
Re: How Fast can A Single Instance of Redis be?
#26These 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.
Valid question I'd say.
Re: How Fast can A Single Instance of Redis be?
#27Redis is not a database. Let's begin with that.
Re: How Fast can A Single Instance of Redis be?
#28Hackernews hug of death already?
Maybe they should use this module that I can't read about to power their site. :P
Re: How Fast can A Single Instance of Redis be?
#29"Redis is known as one of the fastest databases out there." Redis is not a database. Let's begin with that.
Re: How Fast can A Single Instance of Redis be?
#30"Redis is known as one of the fastest databases out there." Redis is not a database. Let's begin with that.