Re: LIFO simulations

Michael Rogers <m.rogers-kecf2yCh/[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
Ken Snider wrote:
> Couldn't you just accomplish this with a FIFO queue of arbitrarily short 
> depth or fixed lifetime per-queue-object? The would seem to gain you all the 
> benefits of LIFO without the drawbacks mentioned by toad.

A short FIFO queue for incoming searches would be similar to 
token-passing, but tokens have the advantage that you know whether your 
search will fit in the queue (because you have a token), so you can 
avoid sending searches that will be dropped.

Cheers,
Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.