--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To post to this group, send email to redi...@googlegroups.com.
To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
I'm also experiencing a somewhat similar behavior with redis-2.2.12 on
Centos 5.6. I see lots of errors from PHP backends which can't connect
to redis.
I graphed redis connections per second and commands per second during
such periods, here's the numbers:
* 230-250 conns/sec
* 2000-2700 cmds/sec.
How can I further diagnose the problem? Am I hitting some redis specific limits?
--
Best regards, Pavel
--
> I don't know what it would take to do pooling using whatever client you are
> using.
You are right, I'm using non-persistent connections and it looks like
the redis client library(https://github.com/nicolasff/phpredis) I'm
using does support some sort pooling(via pconnect method). I'm going
to try it, thanks for the tip! I'm just wondering what are the
possible negative consequences of this...
--
Best regards, Pavel
Best regards, Pavel
Yep, thanks again. I remember I was thinking about this before but
stumbled upon some MySQL related articles where folks claimed that
persistent connections were evil if used improperly.
--
Best regards, Pavel
Yep, you are right :) After switching to persistent redis connections
the server handles much heavier load spikes without any glitches.
Thanks again.
Best regards, Pavel