Re: Help in Eventio Branch

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 18 Sep 2001 00:18:49 +0200

You need to be familar with the current I/O method using commSetSelect()
and then the actual I/O performed by the callback, and the new eventio
API where eventio takes care of the I/O and then calls the callback.

In the eventio branch most of client_side.c has been translated to
eventio already, but quite a bit of work remains to port the rest. This
involves going thru every location where there is a commSetSelect and
convert it to the eventio API, and to change how I/O buffers are
managed. The concept of I/O buffers did not exists before eventio which
is a bit of a hazzle when making the transition to asynronous I/O.

The eventio branch is downloadable from the SourceForge CVS repository
by the tag "eventio". It should be quite up to date.

  cvs -d... co -r eventio -d eventio squid

Francly I do not know which path is the best. Convert Squid to eventio
or start from scratch and then pull things in to get something that
resembles Squid. Both are major tasks and will take months (in man
hours, not calendar time) to get completed.

--
Henrik
Venkatesh wrote:
> 
> Hello All,
> 
> I am thinking to make Squid modular as a first step towards High
> performacne Squid. I need some basic help and advice from henrik.
> Previously I had a discussion with joe and adrain in offline. They all
> guided me well. I already started seeing net i/o related code in
> Squid. I want to know from where can i start eventio? I have read all
> eventio related pages in squid.sourceforge.net site.
> 
> What are the files I have to be familar with before go to eventio? I
> know I have to very familar with client_side.c and http.c. Other than
> that?  Please advice me the programming tactics that whether I have to
> start this by writing simple proxy, or just go ahead with your eventio
> patch and Squid (which version is preferable).
> 
> And also I want to know how long I have to spend to make Squid modular
> in Net I/O. Ie to complete your work on eventio. I could understand
> that it depends on the programming experience I have. But for curious,
> I wanted to know the time frame needed for this to make it happen.
> 
> -Venkatesh
Received on Mon Sep 17 2001 - 16:42:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:21 MST