[DGD] Why use callouts in klib to increment resources?

Felix A. Croes felix at dworkin.nl
Tue Oct 23 22:14:04 CEST 2018


Raymond Jennings <shentino at gmail.com> wrote:

> I meant if the admin imposes a quota.
>
> Are you sure that no checks are performed though?

I reviewed the code I wrote in 2004, and actually it is alright as
it is.  A quota can be set, which will be enforced.  Only the event
of exceeding the quota will affect a shared resource, ordinary tick
updates will not invalidate concurrent tasks.

I'm not concerned about "evading" a tick usage quota.  At most one
batch of callouts can run in excess of the quota, before it is
enforced.

Regards,
Felix Croes



More information about the DGD mailing list