Seeing as standalone Jetty and embedded Jetty are the same code, performance differences you see are going to be squarely in your configuration of embedded Jetty (vs the configuration that start.jar creates for embedded Jetty in the standalone distribution)
We'll need to see your configuration code in order to help. (The most common problem seen is premature/overzealous optimization of the ThreadPool) -- Joakim Erdfelt <[email protected]> webtide.com <http://www.webtide.com/> - eclipse.org/jetty - cometd.org Expert advice, services and support from from the Jetty & CometD experts On Mon, Jun 22, 2015 at 11:19 PM, Thirumal Bandi <[email protected]> wrote: > 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 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
