Performance degraded in Wildfly 26.1 after moving from Weblogic

351 views
Skip to first unread message

Pankaj Kumar

unread,
Apr 11, 2023, 7:48:35 AM4/11/23
to WildFly
Hello,

We have migrated a large J2EE application from Weblogic to Wildfly. It heavily uses EJB and JMS. After changes on certain code specific to Wildfly, we started doing performance testing on Wildfly and found below statistics:

OS: Linux Centos (AWS Ec2)
CPU: 8 VCPU
Memory: 64 GB
JDK: Oracle JDK 1.8
JAVA Heap: 10g (min and max)


Response in Milliseconds for specific use case.

       Wildfly          Weblogic

Min    26               18

Max    486             70

AVG.   36               23

90 P     37              26


TPS:   105            144.   for 5 threads running for 10 mins.


We have tried following tuning options:

  1. OS Tuning – Ulimit, Hugepages
  2.  JVM settings – changed GC strategy, heap, metaspace and others
  3. WildFly Container – JMS lookup approach, logs, thread pooling optimization, Data source tuning, IO, EJB and others
  4.  Application refactoring – optimized EJB and JMS invocation, pass by ref and others

After all the above changes, unable to improve the TPS from 105.

is there any performance benchmark available between Weblogic and Wildfly?

is there any degradation observed when moving to open source Wildfly from Weblogic?

Anybody has any experience which can share on this, will be helpful.

Thanks,
Pankaj K.

Message has been deleted

D E

unread,
Apr 11, 2023, 9:08:21 AM4/11/23
to WildFly
If your application uses ssl/tls/https one thing I've found is that establishing the secure socket by the JVM takes a lot of time instead of re-using an existing socket.  So we have NGINX in front of Wildfly, and we have tuned Wildfly to use OpenSSL instead of Java for these secure connections.  This has made a significant difference when performance testing Wildfly with https://httpd.apache.org/docs/2.4/programs/ab.html

Thejas .C.S

unread,
May 23, 2023, 9:28:23 PM5/23/23
to WildFly
Hi Pankaj,
                   Were you able to improve the performance? We are moving an app from websphere to wildfly and have been facing a similar issue. After making all the required changes suggested for performance, the app is still slower compared to websphere

Thejas .C.S

unread,
May 23, 2023, 9:28:24 PM5/23/23
to WildFly
Hi Pankaj,
                    Were you able to get your app working to meet your weblogic benchmarks. I am facing a similar issue while migrating from websphere. Transactions seem to slow down on wildfly compared to websphere.

On Tuesday, 11 April 2023 at 06:48:35 UTC-5 Pankaj Kumar wrote:
Reply all
Reply to author
Forward
0 new messages