[storm] Pylons and Storm

Drew Smathers drew.smathers at gmail.com
Sun Aug 19 01:34:35 BST 2007


>
> I think, my work is done. Result code at http://pylonshq.com/pasties/411
>
>> Key features:
>> - single database connection
>> - cache Store objects per thread
>>
>> I test this code only with postgres.



> I finally took a look at your code, Vsevolod. I'm really confused, because
> you listed "Single database connection" as a *feature* -- why would you want
> only one database connection?

Equally confused here.   Well they say bugs are often really just
features.  If your concern is fixed sized pools (which I'm guessing
could create a good "feature") though, you'll a have to implement some
messy book-keeping ... which you tried to do before the current
incarnation.  It will be messy and difficult to implement, and even
messier and more difficult to prove.  But unless you don't want ACID
transactions as a feature (which most developers generally want by
default), you should really start over.


-- 
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/  \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\  /\\\ \\
/ /\\\  /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
               d.p.s



More information about the storm mailing list