Cherrypy is running behind some server. What is that server? Does it
kill threads/processes after a given number of requests? Are you using
the standard redis-py connection pooling? Are you doing standard sync
requests, or are you using the async baruvka package?
- Josiah
On Wed, Aug 15, 2012 at 9:17 PM, Alvin Tran <
altha...@gmail.com> wrote:
> I'm making a web service (made with Python and using Cherrypy) that will
> make calls to a Redis instance (via redis-py) to retrieve data from a
> zrange. However, using an ab test (using 10000 connections and 10 concurrent
> connections), I occasionally see that my call to Redis occasionally takes
> more than 1 second (sometimes up to 22 seconds) to complete. Upon checking
> my slowlogs on this Redis instance, I find that I have no logs of any
> activity exceeding 10 ms to complete ("slowlog get" yielded an empty list).
> Thus, this makes me think that the roundtrip from my service to Redis (and
> vice versa) is what's taking long. I was wondering what could be causign
> this, if this is normal behavior, and if there is anything I could do to
> prevent such scenarios from occurring.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/redis-db/-/HvT9TSM-LaQJ.
> 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.