phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankit Singhal (JIRA)" <>
Subject [jira] [Comment Edited] (PHOENIX-2417) Compress memory used by row key byte[] of guideposts
Date Tue, 12 Jan 2016 17:29:40 GMT


Ankit Singhal edited comment on PHOENIX-2417 at 1/12/16 5:29 PM:

[~giacomotaylor], PFA, patch on top PHOENIX-2143 and it includes your patch.

was (Author: ankit.singhal):
[~giacomotaylor], PFA, patch on top PHOENIX-2143.

> Compress memory used by row key byte[] of guideposts
> ----------------------------------------------------
>                 Key: PHOENIX-2417
>                 URL:
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: Ankit Singhal
>             Fix For: 4.7.0
>         Attachments: PHOENIX-2417.patch, PHOENIX-2417_encoder.diff
> We've found that smaller guideposts are better in terms of minimizing any increase in
latency for point scans. However, this increases the amount of memory significantly when caching
the guideposts on the client. Guidepost are equidistant row keys in the form of raw byte[]
which are likely to have a large percentage of their leading bytes in common (as they're stored
in sorted order. We should use a simple compression technique to mitigate this. I noticed
that Apache Parquet has a run length encoding - perhaps we can use that.

This message was sent by Atlassian JIRA

View raw message