© Adam L. Davis 2019
Adam L. DavisLearning Groovy 3https://doi.org/10.1007/978-1-4842-5058-7_15

15. Ratpack

Adam L. Davis1 
(1)
New York, NY, USA
 

At its core, Ratpack1 enables asynchronous, stateless HTTP applications. It is built on Netty, the event-driven networking engine. Unlike some web frameworks, there is no expectation that one thread handles one request. Instead, you are encouraged to handle blocking operations in a way that frees the current thread, thus allowing high performance.

Ratpack can be used to make responsive, RESTful microservices, although it’s not a requirement.

Rest

stands for REpresentational State Transfer.2 It was designed in a PhD dissertation and has gained much popularity as the new web service standard. At the most basic ...

Get Learning Groovy 3: Java-Based Dynamic Scripting now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.