cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-446) Use DecoratedKey objects in Memtable, SSTableReader/Writer objects
Date Tue, 15 Sep 2009 18:24:57 GMT


Jonathan Ellis commented on CASSANDRA-446:

Note that while using DK objects means we could easily serialize the BigIntegers (in particular)
more efficiently than as Strings I'd like to avoid messing with the on-disk format for 0.5
if we can at all help it.

> Use DecoratedKey objects in Memtable, SSTableReader/Writer objects
> ------------------------------------------------------------------
>                 Key: CASSANDRA-446
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
> See CASSANDRA-420 for introduction of DecoratedKey.
> IMO we should move Memtable and SSTR objects to using DK objects, too.  This will help
Memtable flushes similar to how this helps BMt, and using DK objects in SSTR will avoid a
ton of potential confusion about whether a String is a key or a decorated key.
> As a side benefit, moving the decoration operation out of memtable flush and into the
insert path will help make better use of multicore systems, since we can have multiple write
threads but only one core can flush at a time.  (See CASSANDRA-445.)

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

View raw message