[infinispan-issues] [JBoss JIRA] (ISPN-8822) Performance degradation when running Spark jobs
Radim Vansa (JIRA)
issues at jboss.org
Mon Feb 19 01:49:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534889#comment-13534889 ]
Radim Vansa commented on ISPN-8822:
-----------------------------------
[~gustavonalle] The 2s delay is introduced in {{ChannelFactory.destroy}}: {{eventLoopGroup.shutdownGracefully().sync().getNow();}} uses 2 second delay:
{quote}
Graceful shutdown ensures that no tasks are submitted for 'the quiet period' (usually a couple seconds) before it shuts itself down. If a task is submitted during the quiet period, it is guaranteed to be accepted and the quiet period will start over.
{quote}
... and that method is preferred compared to regular {{shutdown}}. We could try to find out why Netty uses this pattern to closing the event loop.
> Performance degradation when running Spark jobs
> -----------------------------------------------
>
> Key: ISPN-8822
> URL: https://issues.jboss.org/browse/ISPN-8822
> Project: Infinispan
> Issue Type: Bug
> Components: Hot Rod
> Affects Versions: 9.2.0.CR2
> Reporter: Gustavo Fernandes
>
> When trying to upgrade the [Spark connector |https://github.com/infinispan/infinispan-spark/] to use Infinispan 9.2.0.CR2, the test suite runs about 10x slower.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list