Hello folks!<br><br>i have a question about strategy. Our company takes data in from field sensors several different ways ( serial port, ethernet, etc..)<br>and we process this information and send pages to customers when the status of their machines change. We also use the info to show their stuff on a website.
<br><br>The whole this is run from a GTK2 app written in python on Ubuntu Linux.<br><br>To process everything coming in and all control going out, we are running about 16 threads, all initiated from the GUI.<br><br>I am wondering what the best strategy would be for creating store objects.
<br>Each thread runs in it&#39;s own class <br><br>like <br>class SerialDataIn(threading.thread):<br>&nbsp;&nbsp; def run(self):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while 1:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; process stuff comming in over and over forever, or until we restart the program, or a hard drive melts
<br><br>each thread will require at least a half different storm classes like Sensor, Customer, etc.. and will process several hundred records each time through the loop.<br><br>i know thats a lot, but i say that to ask this:
<br>what would be the best strategy for where to put my store?<br>should i have several ? Like one per thread ?<br>or should there be only one that i pass to each thread from the GUI as required?<br><br>i am looking at porting all of my app to storm because the way i am doing things with SQL is painful. And i can do this one thread at&nbsp; a time, whenever i like. 
<br><br>Any tips?<br><br>thanks<br><br>shawn<br><br><br><br>