Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 30 Oct 2006 20:41:01 +0800

On Mon, Oct 30, 2006, Henrik Nordstrom wrote:
> m??n 2006-10-30 klockan 14:16 +0800 skrev Adrian Chadd:
>
> > (When this is done you'll be rather scared at how much of a boost
> > overlapped IO will give you. Its acually frightening to watch
> > a Win2k or win2k3 server decimate a Linux/FreeBSD machine due to
> > overlapped IO. Ouch.)
>
> Yes, the overlapped IO API looks quite nice, fulfilling most my
> requirements for a decent I/O framework. Kind of what AIO should be..
> Still have a few minor questionmarks around buffer management in high
> scale applications with very many connections, but nothing major.

You might find the Windows (and commercial cache engines, *hinthint*)
have figured out this kind of stuff. Might be able to find some papers
too in random places.

Kqueue makes it easier (in the traditional UNIX IO method).
It tells you how much data is available before you read/write. :)

Adrian
Received on Mon Oct 30 2006 - 05:37:24 MST

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:06 MST