Thanks for your response. The JVM settings used for the embedded Jetty program and the Standalone Jetty server were same (Min: 256MB, Max 512MB). Also the default threadpool settings were the same (Min: 10 and Max : 200)
Tests were simulated with more than 100 requests/each cycle on Standalone Jetty and the Embedded Jetty. The response numbers were the average response times across 100 requests. - tiru On Tue, Jun 23, 2015 at 12:03 PM, Christoph Läubrich <[email protected]> wrote: > You should then check the JVM settings used. Have you checked with > several repeating request or just a single shot? > > > Am 23.06.2015 08:19, schrieb Thirumal Bandi: > > Hi, > > I am using embedded Jetty container in one of my program and deployying > a WAR that exposes a REST API. > > *Jetty Version: jetty-9.2.10.v20150310* > > *Problem*: > When I execute an API in a standalone Jetty then the average response time > is 2secs. When I try the same API from the embedded Jetty then the average > response time is around 4secs. > > What does the API do? > > 1. Transforms the request payload to a different format. > 2. Make a SOAP API call to an external API > 3. Parse the response from external API > 4. Transform the response to a different format and return it > > Observation: The time taken to make the external SOAP call is more in > embedded Jetty compared to the standalone Jetty even though the testing is > done in the same machine with similar settings. > > Could you please let me know if I need to enable any settings in > Embedded Jetty to get the same performance numbers as a standalone Jetty. > > > Thanks > tiru > > > _______________________________________________ > jetty-users mailing [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visithttps://dev.eclipse.org/mailman/listinfo/jetty-users > > > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
