Ratpack: Future Server.HTTP Java

Ratpack is a simple and capable open source toolkit for creating high performance web applications. Ratpack is built on Java and the Netty event-driven networking engine. The API is optimized for Groovy and Java 8. This presentation shows you how to write simple HTTP Rest Server using the open source Ratpack library.

Have you ever heard of non blocking web servers? Have you tried it in Java? Curious? This presentation shows you how to write simple HTTP Rest Server using the open source Ratpack library. Yes library – because it is not another vast framework. Just a small tool for big things! You will learn how non blocking architecture works – and yes one thread can handle thousands of simultaneous HTTP connections in Java. You will see why using more threads on server is not the best option every time – and we will try to find the sweet spot for performance. We will deal with topics such as: REST, WebSockets, persistence (with and without SQL databases), asynchronous IO, blocking IO, RxJava 2.0, JavaSlang, immutability and more. All that on a working example of a simple web based multiplayer game.

Video producer: http://geecon.org/