[jifty-devel] Jifty server stuck

Jesse Vincent jesse at bestpractical.com
Tue Jan 22 21:57:30 EST 2008


>  down
> > 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"

-j


More information about the jifty-devel mailing list