[storm] question about strategy

shawn bright nephish at gmail.com
Tue Jul 17 16:55:21 BST 2007


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 <radix at twistedmatrix.com> wrote:
>
> On 7/17/07, shawn bright <nephish at gmail.com> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20070717/a9e9a8da/attachment-0001.htm 


More information about the storm mailing list