[DGD] callout implementation

Felix A. Croes felix at dworkin.nl
Thu Feb 23 00:32:46 CET 2012


On Wed, Feb 22, 2012 at 01:24:33PM -0800, Shentino wrote:
> While browsing the source for callout handling I finally got curious
> enough to ask a few things
> 
> What is the purpose of the cyclic buffer, and why do we not simply
> just use a standard queue?

The cyclic buffer <is> a queue.  Its purpose is to be a very efficient
queue.


> How does timediff work?

Timediff is the number of seconds lost between the moment a snapshot
was made, and when the server restarted with that snapshot, accumulated
for all restarts.

Regards,
Felix Croes



More information about the DGD mailing list