[Code] Is openid.server thread-safe and load-balanceable?
Attila-Mihaly Balazs
dify.ltd at gmail.com
Fri Apr 6 09:11:08 UTC 2012
Hello all,
I'm planning on using python-openid to run an OpenID server on Google
App Engine. I would have two questions related to this:
- is openid.server "thread safe"? That is if requests to the webserver
are coming in on different threads but there is one global server
object, could this create problems? (for example does openid.server
store state in instance variables which could be overwritten by a
concurrent thread?) - I'm asking this because I'm planning on using
Python 2.7 on GAE with "threadsafe: true"
- can different steps of the authentication flow be handled by
different server instances (supposedly GAE has a loadbalancer in front
of a set of servers and requests may randomly go to one server or an
other) as long as the store implementation can share data between
them? (I'm planning on using google's memcache implementation)
Thank you,
Attila Balazs
More information about the Code
mailing list