Popular recipes tagged "distribution"http://code.activestate.com/recipes/tags/distribution/popular/2012-11-29T17:27:20-08:00ActiveState Code RecipesSample script for TCL socket load distribution across many CPUs / hosts (Tcl)
2012-11-29T17:27:20-08:00John Brearleyhttp://code.activestate.com/recipes/users/4184423/http://code.activestate.com/recipes/578351-sample-script-for-tcl-socket-load-distribution-acr/
<p style="color: grey">
Tcl
recipe 578351
by <a href="/recipes/users/4184423/">John Brearley</a>
(<a href="/recipes/tags/distribution/">distribution</a>, <a href="/recipes/tags/load/">load</a>, <a href="/recipes/tags/socket/">socket</a>, <a href="/recipes/tags/tcl/">tcl</a>).
</p>
<p>Here is a demo script for others to reuse / learn from. The server process hands out work assignments to multiple children process to do load balancing across multiple CPUs / hosts. The children process in this sample script dont do any real work, but occasionally create an error to demonstrate the error handling and recovery. Enjoy!</p>