incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <>
Subject [jira] [Updated] (BLUR-5) Write through caching for the BlockCache
Date Tue, 23 Oct 2012 00:28:13 GMT


Patrick Hunt updated BLUR-5:

    Attachment: BLUR-5.patch

My initial patch for supporting the write through cache. This is against the lucene-4.0.0
branch. It's basically functional, I've run the unit tests successfully but not yet had a
chance to run the real server against this code. Would appreciate any review/comments.

Notice: currently everything is write cached, similar to read

1) added a test for the write cache by using a larger cache, this results in everything written
(and subseq read) being in the cache. fwiw I've seen perf improve by ~30-40% on my machine
when using the same seed.
2) I had to remove the "setLength" calls in the createFile method - it's not guaranteed that
those methods are implemented, and when they are there is no guarantee what is actually in
the file if not explicitly written. In some cases the test would write less than it had set.
This works ok with the prior implementation which is calling file.setLength (although it's
not clear why it's successful given the file.setLength says the content is undefined if not
specifically written)

> Write through caching for the BlockCache
> ----------------------------------------
>                 Key: BLUR-5
>                 URL:
>             Project: Apache Blur
>          Issue Type: Improvement
>            Reporter: Aaron McCurry
>         Attachments: BLUR-5.patch
> This will allow for better NRT update performance because the writer will not have to
read the NRT segments from HDFS.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message