Migrating from Tomcat to Wildfly

Hello,
I migrated an VAADIN app from Tomcat 8.0 to Wildfly 10.1, but I encountered some performance problems :bellow there 2 logs for the same operation (refreshing of the data in a grid with some columns where componentrenderer is used)
The time of retrieving the data from database it is the same for both cases, but the response is diffferent ( 1400 ms in wildfly vs 500 ms in Tomcat ).Both servers are running on the same machine.

WildFly :
1271ms Sending push (websocket) message to server: …
2661ms JSON parsing took 0.39ms
2661ms Received push (websocket) message: for(;;);[{"…

Tomcat :
1209ms Sending push (websocket) message to server: …
1690ms JSON parsing took 0.365ms
1691ms Received push (websocket) message: …

Is there a way to get similar response times from WildFly server ?
Thank you

Hi,

have you checked that the Wildfly server gets enough memory?

-Olli

Yes, it’s using only 125 Mb from 1024 …

Check the browser JS console logs with ?debug=push appended to the URL, that might show some more hints.

-Olli