Re: Disk I/O

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 12 Oct 2002 13:12:06 +0200

On Saturday 12 October 2002 10.54, ДСнис ОвсиСнко wrote:
> Ok, I'll look through the 2.5 code to determine, if I can write
> appropriate code in reasonable time. It'll take a week to decide.

The 2.5 and earlier code is perhaps not very appropriate for such
designs unless you want to rewrite many things.. This is because
Squid-2.5 (and all earlier Squid versions) assumes store index
lookups is atomous operations not ever requiring a blocking operation
such as waiting for a SQL query to complete. Only data I/O operations
are assumed to take time...

This is why I refer to the refactoring currently being done by Robert.
When that is done designs with a separate store index such as a SQL
based index should be considerably easier to implement.

Regards
Henrik
Received on Sat Oct 12 2002 - 05:12:24 MDT

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