<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Untitled</TITLE>
</HEAD>
<BODY>
<a HREF="http://asp1.rocketseed.com/RocketSeed/mail/433a32353a3733373030313a33303639373a2d323a313533"><!-- RS-STRIP-BEGIN MTk2LjMwLjc5LjE1NQ== --><IMG SRC="cid:18j4riW4H7kIxaIdiu4A0g==" alt=""Vodacom Look4me - Click here for more info"" border=0><!-- RS-STRIP-END MTk2LjMwLjc5LjE1NQ== --></a><br>
<a HREF="http://asp1.rocketseed.com/RocketSeed/mail/433a32353a3733373030313a33303639373a2d323a313438"><!-- RS-STRIP-BEGIN MTk2LjMwLjc5LjE1NQ== --><IMG SRC="cid:kWXTsU1MXxoXbuckYOAv9A==" alt="Bought to you by Launchpad." border=0><!-- RS-STRIP-END MTk2LjMwLjc5LjE1NQ== --></a>
<p>
A bit more detail on the problem is in order I see :)<br><br>Each incoming transaction spwawns a process that handles it up to a<br>point where output is generated.  We need to be able to handle large<br>volumes of transactions in a short time in bursts (SMS system using<br>oserl http://oserl.sourceforge.net/)<br>Each process needs to interpret the transaction content based on a set<br>of configuration data.  Unfortunately the entrie config set is needed<br>for this and it could be as large as 5k (worst case, 1-2k is probably<br>more realistic.)<br>Some quick profiling shows that we can expect in the order of thousands<br>of processes active at the same time, making the memory overhead a<br>problem.<br>In order to keep the processing speed as fast as possible I want as many<br>prallel processes as I can manage.  Obviosly if I can get clever with<br>the config data, this would mean more processes.  Failing that, I will<br>have to place a lower limit on the number of processes so that they will<br>fit into memory or to prevent memory churn.<br><br>From the coments up to now it seems that I am most likely going to have<br>to be satisfied with passing the config data as a parameter to the<br>function that executes in each thread and rely on the GC to keep things<br>sane.<br><br>-]-[einrich
</p>
   <a href="http://www.rocketseed.com/discstart.html"><br></a>
<p></p>
<a href="http://www.rocketseed.com/discend.html"><br></a></p></BODY></HTML>