[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Request for Comment: Elapsed-Time as Event in OPES/ICAP



Derek -- 
Let me make sure that I understand what you meant here --
By splitting the users into 40 groups (bucket), we treat two IPs falling
into one bucket as the same, so effectively it it like the problem of
handling 40 unique users. Is it right?
So what you want to achieve is -- For every 15 seconds, only IPs falling
into one group would be redirected for up to 25 connections?
Is it correct?

If so, then an unconditional rule is applied to fire up a local proxylet and
all the above logic is wrapped inside that proxylet. Only when redirection
(or whatever service in your mind) is determined necessary, the remote call
out service is fired. In that case a new header is added in the proxylet to
trigger the remote callout service in the second rule.

Is this what you had in mind?

Lily

> -----Original Message-----
> From: Derek Maxson, Front Porch [mailto:techmail@xxxxxxxxxxxxxx]
> Sent: Friday, March 30, 2001 11:12 AM
> To: ietf-openproxy@xxxxxxx
> Subject: RE: Request for Comment: Elapsed-Time as Event in OPES/ICAP
> 
> 
> All:
> 
> 	Perhaps using groups for timing. A hash could be usedto 
> aggregate into
> interval groups.
> 
> 	Take 1000 users to be redirected every 10 minutes.  
> Split the users into
> 40 groups by IP hash that will be redirected 25 at a time 
> every 15 seconds.
> 
> 	This would likely decrease the load of remembering time 
> stamps for all
> 1000 users (in this example) and enable much larger numbers 
> to be handled.
> 
> 	The proxy could keep track of each of the 40 groups as 
> buckets and load
> balance by dropping IP's into the bucket(s) with the fewest 
> active sessions.
> 
> 	Thoughts?
> 
> Derek
> 
> 
> > -----Original Message-----
> > From: owner-ietf-openproxy@xxxxxxxxxxxx
> > [mailto:owner-ietf-openproxy@xxxxxxxxxxxx]On Behalf Of Derek Maxson,
> > Front Porch
> > Sent: Monday, March 26, 2001 8:34 AM
> > To: ietf-openproxy@xxxxxxx
> > Subject: Request for Comment: Elapsed-Time as Event in OPES/ICAP
> > 
> > 
> > All:
> > 
> > 	A function that could prove helpful is to measure the 
> > elapsed time between
> > ICAP callouts to ensure a minimum interval.  
> > 
> > 	This function can allow the opportunity for individual 
> users to be
> > redirected via ICAP at certain intervals that can be set in a rule.
> > 
> > 	Is anyone already working on something similar?  Comments?
> > 
> > Derek Maxson
> > 
> 
>