Re: eCAP: expose Squid or link with eCAP lib?

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Thu, 14 Feb 2008 16:26:47 -0700

On Fri, 2008-02-15 at 10:12 +1100, Robert Collins wrote:

> What I meant was that when an eCAP module needs (say) DNS access,
> there will be someone looking at the ease of use of the DNS interface
> in squid. And just that act will provide some pressure to improve
> things.

With option #1 (expose everything), somebody can use the existing DNS
code/API in Squid "as is". They do not have to clean it up to use it
because they have access to everything Squid code has to offer (and that
code already uses DNS, of course).

With option #2 (the eCAP library layer), the developer may indeed have
to polish Squid code to provide DNS functionality to modules that do not
have access to raw Squid guts. I am not saying this will happen all the
time, but I think it will happen more often because there is an external
pressure/limits that force a cleanup.

This is all hand-waving and speculation, of course.

$0.02,

Alex.
Received on Thu Feb 14 2008 - 16:26:59 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:09 MST