cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3576) make AbstractSSTableSimpleWriters threadsafe
Date Tue, 06 Dec 2011 13:35:40 GMT


Jonathan Ellis commented on CASSANDRA-3576:

bq. Note that the UnsortedWriter could probably be improving by having it spawn a 'writer'
thread, allowing to continue feed new info in the buffer while the writer thread is busy writting
the previous buffer

That would be an improvement, but then why not allow multiple threads "feeding in" other than
what looks like some fairly minor thread safety work?

I'm reasoning from analogy with the normal memtable write path which the Unsorted writer strongly
resembles -- we can max out 4 cores and just about max out 8 in that situation.  It would
be nice for bulk load to take advantage of multiple cores as well.
> make AbstractSSTableSimpleWriters threadsafe
> --------------------------------------------
>                 Key: CASSANDRA-3576
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.8.1
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.1
> I took a quick look and the Unsorted writer has a non-threadsafe getColumnFamily method.
 I did not look deeper than that.

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


View raw message