Hi again,

> Yes it makes sense but where you would put "creation of the pool" should it
> go to the Database class?

Yes, or in a pooling class that gets the database on its constructor, and
would work as wrapper.


> but what about web applications(pylons) where I think is correct way that
> every request(thread) would get a new "Store" object and there I would to
> tell it to use
> connection from the pool

They should get a new Store, but not a new Database.  Check out how
this is done in storm.zope.

-- 
Gustavo Niemeyer
http://niemeyer.net

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

Reply via email to