[storm] question about strategy
Christopher Armstrong
radix at twistedmatrix.com
Tue Jul 17 16:51:24 BST 2007
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/
More information about the storm
mailing list