so should i do a store.flush() at the end of each thread loop?

shawn

On 7/17/07, shawn bright <[EMAIL PROTECTED]> wrote:

Yes, they all run independent of each other, in fact, if one dies, the
others keep on running.
The only thing they share is some of the text views in the GTK GUI that
they update with new info
as they run. They do not talk to each other at all.

thanks

On 7/17/07, Christopher Armstrong <[EMAIL PROTECTED]> wrote:
>
> On 7/17/07, shawn bright <[EMAIL PROTECTED]> wrote:
> > To process everything coming in and all control going out, we are
> running
> > about 16 threads, all initiated from the GUI.
>
> Does each thread want to do its own isolated transactions?
>
> > I am wondering what the best strategy would be for creating store
> objects.
> ...
> > i know thats a lot, but i say that to ask this:
> > what would be the best strategy for where to put my store?
> > should i have several ? Like one per thread ?
> > or should there be only one that i pass to each thread from the GUI as
> > required?
>
> I imagine you want one Store per thread that wants to do database
> work, assuming that the database work is isolated into a transaction.
>
>
> --
> Christopher Armstrong
> International Man of Twistery
> http://radix.twistedmatrix.com/
> http://twistedmatrix.com/
> http://canonical.com/
>


-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to