[DGD] callout implementation

Shentino shentino at gmail.com
Thu Feb 23 00:57:14 CET 2012


On Wed, Feb 22, 2012 at 3:32 PM, Felix A. Croes <felix at dworkin.nl> wrote:
> 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.

I'm still not quite clear here...what distinguishes it from the "regular" 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.

So it's basically a downtime accumulator?

> Regards,
> Felix Croes
> ___________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd



More information about the DGD mailing list