This fix simplifies the EWYK scheduler by factoring out the preallocated producer into a ReservedThreadExecutor class. A shared ReservedThreadExecutor can then be used by multiple EWYK instances to avoid over allocation of threads. Squashed commit of the following: commit c435dc20e25bd274d69423be1be7b0565925f249 Merge: 58a5a9a 90e5b56 Author: Greg Wilkins <gregw@webtide.com> Date: Wed Jun 21 10:48:22 2017 +0200 Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk3 commit 58a5a9a655ee1a72a66f54ac8c95d7c9d73afe85 Author: Simone Bordet <simone.bordet@gmail.com> Date: Wed Jun 14 15:56:43 2017 +0200 Code cleanups. commit 4e5296216b52948523572352cba391438ff6b494 Author: Greg Wilkins <gregw@webtide.com> Date: Wed Jun 14 07:34:58 2017 +0200 refixed Producing to Reproducing commit a1f8682f86d1f0803121162e3f14d7768286d3ed Author: Greg Wilkins <gregw@webtide.com> Date: Wed Jun 14 07:26:29 2017 +0200 fixed Producing to Reproducing commit 9468932e062d2271d8dc1d43a78544757732fff5 Author: Greg Wilkins <gregw@webtide.com> Date: Tue Jun 13 16:33:44 2017 +0200 fixed javadoc commit 9d4941eb97638fec09b3fe34d423538d17943b6f Author: Greg Wilkins <gregw@webtide.com> Date: Tue Jun 13 16:05:27 2017 +0200 Renamed Preallocated to ReservedThread commit 6d3379ab64c6dcc2a7aa8ec7088afd77863816c2 Author: Greg Wilkins <gregw@webtide.com> Date: Tue Jun 13 12:28:52 2017 +0200 Added configuration in modules commit 1bd1adea4682538e1546c2ae53f4c9340dafb3bb Merge: 83418a9 6702248 Author: Greg Wilkins <gregw@webtide.com> Date: Tue Jun 13 10:09:29 2017 +0200 Merge branch 'jetty-9.4.x' into jetty-9.4.x-ewyk3 commit 83418a91320c8bfc54465ca02efdce0d2c874a0e Author: Greg Wilkins <gregw@webtide.com> Date: Tue Jun 13 10:08:35 2017 +0200 javadoc commit 62918fd39189fed3414fec4a7c8380c21e90a4b8 Author: Greg Wilkins <gregw@webtide.com> Date: Sat Jun 10 00:04:06 2017 +0200 Improved EatWhatYouKill implementation Simplified by abstracting out PreallocatedExecutor Removed invocation execution HTTP2 now uses a shared PreallocationExcecutor between connection
Eclipse Jetty Canonical Repository
This is the canonical repository for the Jetty project, feel free to fork and contribute now!
Submitting a patch or pull request?
Make sure you have an Eclipse Contributor Agreement (ECA) on file.
Project description
Jetty is a lightweight highly scalable java based web server and servlet engine. Our goal is to support web protocols like HTTP, HTTP/2 and WebSocket in a high volume low latency way that provides maximum performance while retaining the ease of use and compatibility with years of servlet development. Jetty is a modern fully async web server that has a long history as a component oriented technology easily embedded into applications while still offering a solid traditional distribution for webapp deployment.
Documentation
Project documentation is available on the Jetty Eclipse website.
Building
To build, use:
mvn clean install
The Jetty distribution will be built in jetty-distribution/target/distribution
.
The first build may take a longer than expected as Maven downloads all the dependencies.
The build tests do a lot of stress testing, and on some machines it is necessary to set the file descriptor limit to greater than 2048 for the tests to all pass successfully.
It is possible to bypass tests by building with mvn -Dmaven.test.skip=true install
but note that this will not produce some of the test jars that are leveraged in other places in the build.
Professional Services
Expert advice and production support are available through Webtide.com.