[ 
https://issues.apache.org/jira/browse/CASSANDRA-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Bridges updated CASSANDRA-1187:
------------------------------------

    Attachment: CASSANDRA-1187.patch

This patch allows setting the number of threads used in compaction.

A queue is created for each column family, and only one compaction thread is 
allowed to compact a column family at a time.

> make the number of compaction threads configurable
> --------------------------------------------------
>
>                 Key: CASSANDRA-1187
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1187
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.6.1
>            Reporter: Sean Bridges
>         Attachments: CASSANDRA-1187.patch
>
>
> On our test machines, compaction is the limiting factor when we are writing 
> to Cassandra.  It's easy to write to Cassandra faster than the single 
> compaction thread can keep up, leading to a large number of sstables.
> In one extreme example, we inserted a TB of data into a single cassandra node 
> overnight, and ended up with 100,000 sstables, which took another two days to 
> finish compacting.
> If the number of compaction threads was configurable, we could tune cassandra 
> to support a higher write workload.

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

Reply via email to