nickva opened a new pull request, #5619:
URL: https://github.com/apache/couchdb/pull/5619

   Previously, on every write and _all_docs and other call the props term was 
always loaded from disk, decompressed and run through binary_to_term. The term 
is small, and likely will be in the page cache, but still we'd have to go back 
to the disk to fetch it, in the worst case.
   
   To fix it, load the terms once at startup and cache them into memory. This 
way we get the best of both worlds: a small header record, since we're using a 
pointer to a term, and fast interactive operations, since we don't have to do 
extra reads and deserializations.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to