openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17861
Re: [SWIFT] Proxies Sizing for 90.000 / 200.000 RPM
On Wed, Oct 24, 2012 at 4:45 PM, heckj <heckj@xxxxxxx> wrote:
> "Specifically, I'm concerned with the way auth_token handles memcache
> connections. I'm not sure how well it will work in swift with eventlet. If
> the memcache module being used caches sockets, then concurrency in eventlet
> (different greenthreads) will cause problems. Eventlet detects and prevents
> concurrent access to the same socket (for good reason--data from the socket
> may be delivered to the wrong listener)."
What about of doing like pre-keystonelight auth_token to use
swift.cache if available for token caching instead of reusing a
connection, a quick patch here :
http://pastie.org/private/ezd5iqf7g6lz0nfpercz8a
can do the cleanup and propose for reviews if nobody has objections about it.
Chmouel.
References