On Tue, Oct 17, 2000, Henrik Nordstrom wrote:
>
> Sounds like one of the ideas I have..
>
> Run multiple "independent" Squid processes, all using the same backend
> store. The only thing the processes share is
> a) The backend store
> b) The listening socket
> c) Some IPC mechanism for sharing the accept() load
Here's the cute bit - either (a) we can have a socket redirector process
sitting at the front of the X squids, or (b) we can modify the ipf/ipfw/
ipchains/whatever code to do load-balancing redirection.
> Unfortunately raw reiserfs is not entirely suitable yet due to not being
> able to differentiate between partially and fully stored objects, but I
> imagine it could quite easily be extended to exclusive writer access (no
> other readers while writing to an object).
Depends how it is implemented. See, if we use aio, we can schedule reads
of the file from multiple processes and have the reads block whilst the
object is being written. Squid can't do that now due to how the storage
manager is written but I don't imagine it'd be that hard.
Adrian
-- Adrian Chadd "It was then that I knew that I wouldn't <adrian@creative.net.au> die, as a doctor wouldn't fart in front of a dying boy." -- Angela's AshesReceived on Tue Oct 17 2000 - 07:10:11 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:50 MST