[mod_python] sys.path shared?

Todd Boland itodd at itodd.org
Wed Sep 22 15:29:07 EDT 2004


SQL Relay is not supposed to be faster than a traditional connection. 
SQL Relay's benefits will only show themselves when the load is high 
and db connections are scarce.

My db connection will be the first limited resource exhausted. SQL 
Relay relieves that bottleneck which will net me limited, but arguably 
more load handling capability.

You know when a site gets slashdotted and you see that mysql_connect(): 
too many users message? SQL Relay will help alleviate that.

My application may never reach that bottleneck, but it's easing to know 
I am prepared for it. It's my pro-active nature.

Take Care,


On Sep 22, 2004, at 2:10 PM, Kamil Niechajewicz wrote:

> On Wed, 22 Sep 2004 13:17:38 -0400, Todd Boland <itodd at itodd.org> 
> wrote:
>> I'm using SQL Relay to share database connections on my pre-forked 
>> apache. This way, when load increases, every process doesn't need 
>> their own db connection, they only need their own SQL Relay 
>> connection. It's a pretty neat project. David Muse did a good job. 
>> Python bindings are included :)
> hello, i'm quite interested in using sqlrelay. i tried to do some tests
> both using sqlrelay database access or plain postgresql connection.
> and the results i've got were quite comparable, sometimes plain 
> connection
> even had better result..
> have you made any benchmarks like that? how do you feel about sqlrelay
> speed compared to normal db api?
> best regards,
> kamil
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list