[jifty-devel] Jifty server stuck
jesse at bestpractical.com
Tue Jan 22 21:57:30 EST 2008
> > as far as ::Handle->simple_query. (Say, trap a failure and retry if you
> > get a not-connected error?) That way you don't get the overhead of a
> > ping before each statement.
> why not setting up a timer two times shorter than standard MySQL timeout
> and ping the DB server when this timer expires?
mostly because that's a "guess at when it might fail and try to prevent
it" rather than a "when it does fail, deal gracefully"
More information about the jifty-devel