Chapter 13. Going to Production

Congratulations! By now, you have all the tools and strategies at your fingertips to build robust, reactive web applications with Ratpack, and your applications are fully capable and ready to be deployed to production. However, in closing we should discuss a few final considerations before doing so. As the final chapter to this book, we will briefly discuss some of the aspects that need to be considered for any production web application deployment, and the faculties provided by Ratpack for accommodating a production environment. We will cover how to bring insight to your applications in the form of metrics, as well as provide coverage of distribution techniques that support the continuous delivery and deployment tactics commonly employed in modern infrastructure architectures.

You should take away from this chapter a firm understanding of the remaining bits of application development with Ratpack that set your project up for long-term success.

Publishing Metrics

There is no disputing the fact that one of the most important aspects of running any web application in production is to provide external insight into what your code is doing. Facilitating this can take many forms, but a common and well-adopted approach is to publish metrics to a centralized metric server, according to your application’s requirements. In doing so, you will provide a level of operationalization that ensures that your application remains stable when deployed to a production ...

Get Learning Ratpack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.