Re: async disk io

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 07 Apr 2000 15:59:53 +0200

Adrian Chadd wrote:

> Now, I want to finally move onto implementing async disk IO. So,
> the question is: what mechanism do people think I should use for
> this? I have my own clever ideas, but I'm very FreeBSD/Solaris
> centric ..

I have several ideas, but as long as it is done below the StoreFS API
layer it does not matter that much from a basic Squid design
perspective.

Unsorted collection of ideas:

* Multi process design, utilizing shared memory, messages and possibly
file-descriptor passing.
* Multi process design utilizing memory mapped i/o.
* Threaded desing, similar to async-io but implemented quite differently
and with a higher granularity on the operations performed (data centric,
not file-descriptor centric).

/Henrik
Received on Fri Apr 07 2000 - 08:02:31 MDT

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