cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-420) Improve performance of BinaryMemtable sort phase
Date Fri, 04 Sep 2009 14:30:57 GMT


Jonathan Ellis commented on CASSANDRA-420:

Can you extend this to support the other partitioners as well?

Probably the easiest way is to make DK a (Token decoration, String key) tuple, since the different
Token subclasses already wrap the different decorations (BigInteger, byte[]).  May or may
not be worth special-casing OPP (whose StringToken is just a wrapper around the key in question)
to have null decoration.

> Improve performance of BinaryMemtable sort phase
> ------------------------------------------------
>                 Key: CASSANDRA-420
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.5
>         Attachments: CASSANDRA-420.patch
> The BinaryMemtable sorts an array of decorated keys. There are a lot of string operations
and object allocation in the comparator that could be avoided to improve performance..

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message