-
1. Re: Wildfly 10 & 11 performance issue compared with GlassFish
lafr Feb 14, 2018 2:51 PM (in response to afe038)1 of 1 people found this helpfulDid you run the tests on the same server or at least on identical servers.
Did you run the test against the same PostgrSQL database engine?
~500 transactions/second during your performance test? Meaning about 1.000 transactions during the execution of your test function?
And ~2.000 transactions/second with Wildfly, in total 20.000 transactions executed during your test? 20 times number of transactions for the same work?
GlassFish uses eclipselink as it's persistence provider, Wildfly is using Hibernate.
Do you use SessionBeans, Bean oder Container managed transactions, ....?
-
2. Re: Wildfly 10 & 11 performance issue compared with GlassFish
ctomc Feb 15, 2018 11:38 AM (in response to lafr)1 of 1 people found this helpfulmaybe enabling SQL logging for hibernate might show what is making more queries.
and tuning JPA mappings could help.
another possibility is that you don't have second level caching enabled on WildFly, where it is enabled on GlassFish.
-
3. Re: Wildfly 10 & 11 performance issue compared with GlassFish
afe038 Feb 21, 2018 5:38 AM (in response to afe038)Hi,
I was running the test on the same server with both GlassFish and Wildfly running concurrently. FYI we're using container managed transactions. After some research, our dev team changed some parameters on the persistence.xml and the issue was solved.
Thanks & regards,
A.