nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Payne (JIRA)" <>
Subject [jira] [Updated] (NIFI-527) Persistent Prov Repo should compress write-ahead-log files in chunks
Date Wed, 22 Apr 2015 00:56:58 GMT


Mark Payne updated NIFI-527:
    Attachment: 0004-NIFI-527-Added-unit-test-to-verify-backpressure.patch

> Persistent Prov Repo should compress write-ahead-log files in chunks
> --------------------------------------------------------------------
>                 Key: NIFI-527
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 0.1.0
>         Attachments: 0001-NIFI-527-Refactored-the-serialization-format-of-the-.patch,
0002-NIFI-527-More-performance-improvements-including-reu.patch, 0003-NIFI-527-Cleaned-up-log-messages.patch,
> Currently when we rollover a prov log, we compress the entire thing. This means that
when we want to jump to a particular offset we have to open a GZIPInputStream and read through
all of the data. If we instead compress the logs in chunks, we can actually jump to a particular
chunk using FileInputStream.skip and then open a GZIPInputStream from there. Currently, this
is by far the biggest bottleneck in the prov repo when doing queries.

This message was sent by Atlassian JIRA

View raw message