python - Is SimpleXMLRPCServer single threaded? -


possible duplicate:
python xmlrpc concurrent requests

i'm writing python application act xml-rpc server, using simplexmlrpcserver class.

now question is: happens if 2 or more clients send request @ same time? queued? have guarantee if 2 clients call same or different functions executed 1 after , not @ same time?

i believe library implementation of simplexmlrpcserver indeed single-threaded. have add mixin make serve requests in multi-threaded way:

from socketserver import threadingmixin simplexmlrpcserver import simplexmlrpcserver  class myxmlrpcserver(threadingmixin, simplexmlrpcserver):     """...""" 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -