[medusa] Connection Pooling w/ async_mysql?
Sam Rushing
rushing@n...
Tue, 12 Dec 2000 12:07:57 -0800
jkraai@m... wrote:
> Greetings,
>
> Anyone doing connection pooling w/ async_mysql from inside
> a medusa'ish server?
>
> Nice features'd be configurable max_connections and smart
> cmd_use() 'caching' w/ default db option.
>
> If it hasn't been done, I'll make an attempt and post it
> for criticism.
>
The egp-coro package has support for connection-pooling (or rather
'connection-limiting'), that I think was also used with the mysql
protocol implementation. You could look in there for hints. Of course
it won't be as easy using callbacks...
http://www.nightmare.com/~rushing/copython/index.html
-Sam