[
https://issues.apache.org/jira/browse/NIFI-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056000#comment-15056000
]
Mark Payne commented on NIFI-1281:
----------------------------------
[~joewitt] - I believe that is accurate. I think the issue si that we have a
single mutually exclusive lock that is held either when reading from or writing
to the queue - will see if it's possible to avoid using the write lock if
writing to the queue when swapping occurs
> Investigate performance when queues are swapping heavily
> --------------------------------------------------------
>
> Key: NIFI-1281
> URL: https://issues.apache.org/jira/browse/NIFI-1281
> Project: Apache NiFi
> Issue Type: Task
> Components: Core Framework
> Reporter: Mark Payne
> Fix For: 0.5.0
>
>
> If we have a queue that has a huge amount of swapping going on (in and out),
> the ability to pull records from that queue is poor. When running a test, we
> had a producer continually pushing records into a queue with no backpressure.
> The consumer was very fast until swapping started to occur. At that point,
> the ability to consume dropped to only a few thousand events/second. Stopping
> the producer provided much better performance on the consuming side, which is
> problematic.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)