Am 20.09.2013 22:25, schrieb simendsjo:
On Fri, 20 Sep 2013 19:36:19 GMT, simendsjo wrote:
On Fri, 20 Sep 2013 19:31:21 GMT, simendsjo wrote:
What is the correct way of using redis?
Oh.. And fetching a value from redis is actually slower than mariadb - why is that?
From mariadb takes ~40ms, while redis takes 40-100. All I do is get/set.Building with -profile doesn't work, so I'm unable to find out why it's slow.
Could it be the calls to format() is RedisConnection.request?
Without looking at the source at all a wild guess would be that there
is a flush()
missing after sending each command and even with that
enabling tcpNoDelay
may be necessary.