[asterisk-dev] [Code Review] Rate limit astdb->sync() calls

Simon Perreault simon.perreault at viagenie.ca
Wed Sep 8 10:39:27 CDT 2010


On 2010-09-08 11:30, Russell Bryant wrote:
> So what do others think?  Rate limiting fsync() calls to twice a
> second gives a half second window of operations that will be lost in
> the case of a system crash.  Is that acceptable for the sake of a
> significant performance gain?  I think it is.  I just want to make
> sure others agree.

+1

This was a very important problem, thanks for solving it!

Simon
-- 
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org



More information about the asterisk-dev mailing list