You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2013/12/19 20:01:09 UTC

[jira] [Updated] (SAMZA-111) SystemConsumers is slow with large partition count

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

Chris Riccomini updated SAMZA-111:
----------------------------------

    Attachment: 12-threads-1000-streams-4-partitions-each-with-hacky-fix.png
                12-threads-1000-streams-4-partitions-each.png
                12-threads-8-streams-4-partitions-each.png

Attaching CPU sample screenshots showing three different tests.

The hacky fix screenshot shows most of the time being spent in logging now. It was processing at ~63,000 messages/sec.

The 1000 stream test without the hacky fix was going in the 6,000 messages/sec range.

> SystemConsumers is slow with large partition count
> --------------------------------------------------
>
>                 Key: SAMZA-111
>                 URL: https://issues.apache.org/jira/browse/SAMZA-111
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.6.0
>            Reporter: Chris Riccomini
>            Assignee: Chris Riccomini
>         Attachments: 12-threads-1000-streams-4-partitions-each-with-hacky-fix.png, 12-threads-1000-streams-4-partitions-each.png, 12-threads-8-streams-4-partitions-each.png
>
>
> We have been seeing very slow processing speed when running a Samza container that consumes from 1000s of partitions. We don't see a corresponding slow speed when running the same code, but with fewer input partitions (say 8-24).
> The messages per second seems to drop off as more partitions are added to the Samza container. One Samza job has ~2500 partitions, and is seeing only 6000 messages/sec. The same code running with ~9 partitions is seeing 30,000 messages/sec.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)