search for: mailbox_open_nonblock

Displaying 1 result from an estimated 1 matches for "mailbox_open_nonblock".

2009 Dec 29
2
Design: Optimizations for high-latency storage backend
...lly already works as intended, but there are some cases that don't, such as FETCH + SELECT (see #5). Problem #5: Opening mailbox index. So if your indexes are also stored in high-latency disk, how do you optimize getting STATUS for each mailbox? Again, a similar idea than before: Create a new mailbox_open_nonblock() function that calls a given callback function when the indexes are read to memory. During the wait it can continue processing more STATUS commands (hopefully client sends them all at once, instead of waiting for each reply before sending next STATUS). .. I think that's all of the problemati...