parallelly execute blocking calls in python -


i need blocking xmlrpc call python script several physical server simultaneously , perform actions based on response each server independently. explain in detail let assume following pseudo code

while true:     response=call_to_server1() #blocking , takes long time     if response==this:         

i want servers simultaneously , independently same script

use threading module.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -