Re: Feature: quota control

From: Robert Collins <robertc_at_squid-cache.org>
Date: Fri, 27 Feb 2009 11:07:54 +1100

On Fri, 2009-02-27 at 10:00 +1100, Mark Nottingham wrote:
> Honestly, if I wanted to do byte-based quotas today, I'd have an
> external ACL helper talking to an external logging helper; that way,
> you can just log the response sizes to a daemon and then another
> daemon would use that information to make a decision at access time.
> The only even mildly hard part about this is sharing state between the
> daemons, but if you don't need the decisions to be real-time, it's not
> that bad (especially considering that in any serious deployment,
> you'll have state issues between multiple boxes anyway).

Sure; I think that would fit with 'ensuring enough hooks' :P

-Rob

Received on Fri Feb 27 2009 - 00:08:08 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 27 2009 - 12:00:02 MST