Tom Sawyer <transami / transami.net> writes:

> but my web app is dog slow. one of the reasons is that i connect to
> the database on every request. is there a way to persist a database
> connection between requests?

Perhaps putting the functionality into a daemon, and having the web
front-end communicate via a pipe or shared memory would do what you
want?  (can you do shm in ruby?)

Or, perhaps use an rpc mechanism, like xmlrpc?

-- 
Josh Huber