diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-07-17 17:26:37 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-07-17 17:26:37 +0100 |
| commit | 1cf7c30120d48a2d6e4820e7f858119463e3ae51 (patch) | |
| tree | 70e0f1426845bf44872e4824c8449a1ba5b5b49c /include | |
| parent | 3e16b75ac21e8dabd5c8bcfe4ac11cd67a4f19c7 (diff) | |
| download | rabbitmq-server-git-1cf7c30120d48a2d6e4820e7f858119463e3ae51.tar.gz | |
ok, limits on the cache, and on prefetch.
I decided the right thing to do is to prefer older messages in the cache to younger ones. This is because they're more likely to be used sooner. Which means we just fill it up and then leave it alone, which is nice and simple.
Things are pretty much ok with it now, but the whole notion of prefetch is still wrong and needs to be changed to be driven by the mixed queue, not the disk_queue. For one reason, currently, if two or more queues issue prefetch requests, and the first fills the cache up, then the 2nd won't do anything. The cache is useful, but shouldn't be abused for prefetching purposes. The two things are separate.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
