I have like 1000 devices that need update that takes like 1 minute each. I want them to update as quick as possible, sending lines from sx file, using UDP and for each line i got reponse &quot;OK&quot;.<br><br>Here is code that works for up to 500 servers, but not so well when i go more (it just does not finish)<div>
<br></div><div>my current  simplified client and server_emulator code is here:<br><a href="https://gist.github.com/3144857">https://gist.github.com/3144857</a></div><div><br></div><div><br>currently i have only one server for simulation, but in real world it will be 1000 different IP-s.<br>
<br>I was trying to stop and run reactor but did not work (reactor is not rerunnable exception or somthing like that).<br> I want to run lets say 100 updates at time and once some update is finished i want to remove this protocol out of job and schedule new one.<br>
<br>Can somebody give some pointers?</div><div><br></div><div>I am running this on windows if that is an issue.</div><div><br><br></div>