[jboss-jira] [JBoss JIRA] (WFLY-5811) Clustering performance regression in scenarios with ASYNC cache used

Mathieu Lachance (JIRA) issues at jboss.org
Fri Feb 12 14:16:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-5811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162436#comment-13162436 ] 

Mathieu Lachance commented on WFLY-5811:
----------------------------------------

Hi [~pferraro], we are currently doing performance testing around session replication (REPL_ASYNC) with Wildfly 8.2.1.Final and I was wondering if what we discovered could be related to this issue.

One thing we do not understand is, even if we are using BATCH we are seeing in the TransactionCoordinator::commit method, multiple WriteCommand for the same key, i.e. for each [non-immutable] session get/setAttribute, one PutKeyValueCommand followed by n amount of ReplaceCommand. Shouldn't in batch mode everything be collapsed into one single PutKeyValueCommand?

In Wildfly 10.0.0.Final, there's one notable difference, instead of having one PutKeyValueCommand followed by n ReplaceCommand we are only seeing multiple PutKeyValueCommand. But again, shouldn't that be all collapsed into one single PutKeyValueCommand?
Not collapsing the changes will for sure increase the amount of WriteCommand sent on the wire for basically nothing (?). Sure we could enable JGroups compression in the protocol stack, though, I feel this is more a workaround than a potential fix.

I did not have a deep comparison yet with EAP, though, it looks like the session storage strategy have changed between EAP and Wildfly. Could you confirm?
Could it be that in EAP, in the FineSessionAttributeStorage, the sessionData.getModifiedSessionAttributes() was already collapsing everything when trying to replicate attributes?

Either case, could you share more information about your performance testing scenarios. I'd like to see if we are potentially affected by the same issues.

> Clustering performance regression in scenarios with ASYNC cache used
> --------------------------------------------------------------------
>
>                 Key: WFLY-5811
>                 URL: https://issues.jboss.org/browse/WFLY-5811
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>            Reporter: Michal Vinkler
>            Assignee: Paul Ferraro
>
> Our clustering write-heavy stress tests show a performance drop of 7.0.0.ER2 bits compared to 6.4.0 bits, when using ASYNC cache.
> Compare these results:
> stress-ejbremote-dist-async
> 7.0.0.ER2: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-stress-ejbremote-dist-async/6/artifact/report/graph-throughput.png]
> 6.4.0.GA: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-stress-ejbremote-dist-async_noperf21/1/artifact/report/graph-throughput.png]
> stress-ejbremote-repl-async
> 7.0.0.ER2: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-stress-ejbremote-repl-async/4/artifact/report/graph-throughput.png]
> 6.4.0.GA: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-stress-ejbremote-repl-async_noperf21/1/artifact/report/graph-throughput.png]
> stress-ejbservlet-repl-async
> 7.0.0.ER2: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-stress-ejbservlet-repl-async/3/artifact/report/graph-throughput.png]
> 6.4.0.GA: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-stress-ejbservlet-repl-async_noperf21/2/artifact/report/graph-throughput.png]
> stress-session-repl-async
> 7.0.0.ER2: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-stress-session-repl-async/3/artifact/report/graph-throughput.png]
> 6.4.0.GA: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-stress-session-repl-async_noperf21/1/artifact/report/graph-throughput.png]
> stress-session-dist-async
> 7.0.0.ER2: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-stress-session-dist-async/3/artifact/report/graph-throughput.png]
> 6.4.0.GA: [throughput|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-stress-session-dist-async_noperf21/1/artifact/report/graph-throughput.png]
> Also, load scenarios, which use a stable load of 4000 sessions are affected.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list