so should i do a store.flush() at the end of each thread loop?<br><br>shawn<br><br><div><span class="gmail_quote">On 7/17/07, <b class="gmail_sendername">shawn bright</b> &lt;<a href="mailto:nephish@gmail.com">nephish@gmail.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yes, they all run independent of each other, in fact, if one dies, the others keep on running.
<br>The only thing they share is some of the text views in the GTK GUI that they update with new info<br>as they run. They do not talk to each other at all.
<br><br>thanks<div><span class="e" id="q_113d4e40afe83818_1"><br><br><div><span class="gmail_quote">On 7/17/07, <b class="gmail_sendername">Christopher Armstrong</b> &lt;<a href="mailto:radix@twistedmatrix.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
radix@twistedmatrix.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 7/17/07, shawn bright &lt;<a href="mailto:nephish@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nephish@gmail.com</a>&gt; wrote:<br>&gt; To process everything coming in and all control going out, we are running
<br>&gt; about 16 threads, all initiated from the GUI.
<br><br>Does each thread want to do its own isolated transactions?<br><br>&gt; I am wondering what the best strategy would be for creating store objects.<br>...<br>&gt; i know thats a lot, but i say that to ask this:<br>
&gt; what would be the best strategy for where to put my store?
<br>&gt; should i have several ? Like one per thread ?<br>&gt; or should there be only one that i pass to each thread from the GUI as<br>&gt; required?<br><br>I imagine you want one Store per thread that wants to do database
<br>work, assuming that the database work is isolated into a transaction.<br><br><br>--<br>Christopher Armstrong<br>International Man of Twistery<br><a href="http://radix.twistedmatrix.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://radix.twistedmatrix.com/
</a><br><a href="http://twistedmatrix.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://twistedmatrix.com/</a><br><a href="http://canonical.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://canonical.com/</a><br></blockquote></div><br>
</span></div></blockquote></div><br>