cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7045) Investigate changes to threading model for network consumers to improve performance for small messages
Date Tue, 22 Apr 2014 04:44:15 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976379#comment-13976379
] 

Jonathan Ellis commented on CASSANDRA-7045:
-------------------------------------------

I exchanged a few emails with the author of Kilim about 18 months ago.  Kind of scary to get
that deep in the bytecode with a project that doesn't look to be used seriously in production.

> Investigate changes to threading model for network consumers to improve performance for
small messages
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7045
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7045
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>              Labels: performance
>
> See CASSANDRA-7029 for original discussion.
> We can (maybe) optimise the threading model for network consumers: since we generally
process very small messages (200 bytes not at all implausible), the thread signalling costs
on the processing thread can actually dramatically impede throughput. In general it costs
~10micros to signal (and passing the message to another thread for processing in the current
model requires signalling). For 200-byte messages this caps our throughput at 20MB/s.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message