← Back to team overview

registry team mailing list archive

[Bug 649807] [NEW] Redis concurrency problems in API server

 

Public bug reported:

It seems that both our use of Redis and Carrot (or py-amqplib) are
suffering somewhat under Eventlet. This bug is about Redis:

Trying something like this:
$ euca-describe-instances & euca-describe-instances & euca-describe-instances & euca-describe-instances &

Causes at least two (sometimes all) of these calls to fail with an HTTP
403 error from the API server. My analysis strongly suggested this to be
due to multiple calls to Redis going through the same socket at the same
time, making all of them fail.

Replacing the Redis singleton with a class that just returns a fresh
Redis connection each time fixes it, but may not be acceptable (When
doing 200 concurrent requests I got a /lot/ of Redis connections at the
same time).

** Affects: nova
     Importance: Undecided
         Status: New

-- 
Redis concurrency problems in API server
https://bugs.launchpad.net/bugs/649807
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References