Thread Starvation with Eat What You Kill

This is going to be a blog of mixed metaphors as I try to explain how we avoid thread starvation when we use Jetty’s eat-what-you-kill[n]The EatWhatYouKill strategy is named after a hunting proverb in the sense that one should only kill to eat. The use of this phrase is not Read more

By gregw, ago

Unix Sockets for Jetty 9.4?

In the 20th year of Jetty development we are finally considering a bit of native code integration to provide Unix Domain Sockets in Jetty 9.4! Typically the IO performance of pure java has been close enough to native code for all the use cases of a HTTP Server, with the Read more

By gregw, ago

Introduction to HTTP2 in Jetty

Jetty 9.3 supports HTTP/2 as defined by RFC7540 and it is extremely simple to enable and get started using this new protocol that is available in most current browsers. Getting started with Jetty 9.3 Before we can run HTTP/2, we need to setup Jetty for HTTP/1.1 (strictly speaking this is Read more

By gregw, ago

Jetty-9.3 Features!

Jetty 9.3.0 is almost ready and Release Candidate 1 is available for download and testing!  So this is just a quick blog to introduce you to what is new and encourage you to try it out! HTTP2 The headline feature in Jetty-9.3 is HTTP/2 support. This protocol is now a Read more

By gregw, ago

Simple Jetty HelloWorld Webapp

With the jetty-maven-plugin and Servlet Annotations, it has never been simpler to start developing with Jetty! While we have not quiet achieved the terseness of some convention over configuration environments/frameworks/languages, it is getting close and only 2 files are needed to run a web application! Maven pom.xml A minimal maven Read more

By gregw, ago

Eat What You Kill

A producer consumer pattern for Jetty HTTP/2 with mechanical sympathy Developing scalable servers in Java now requires careful consideration of mechanical sympathetic issues to achieve both high throughput and low latency.  With the introduction of HTTP/2 multiplexed semantics to Jetty, we have taken the opportunity to introduce a new execution Read more

By gregw, ago