Book Image

Learning Play! Framework 2

By : Andy Petrella
Book Image

Learning Play! Framework 2

By: Andy Petrella

Overview of this book

<p>The Learning Play! Framework 2 has been created for web developers that are building web applications. The core idea is to focus on the HTTP features and to enable them through a simplification lens. Building a web application no longer requires a configuration phase, an environment setup, or a long development lifecycle - it's integrated!<br /><br />Learning Play! Framework 2 will enable any web developers to create amazing web applications taking advantage of the coolest features. It's the fastest way to dive into Play!, focusing on the capabilities by using them in a sample application. Although essentially Java based code, a Scala version is presented as well – giving an opportunity to see some Scala in action.<br /><br />After setting up the machine and learning some Scala, you will construct an application which builds from static to dynamic, before introducing a database. <br /><br />Then we'll focus on how data can be consumed and rendered in several ways. This will enable some real time communication through WebSocket and Server-Sent Event – on both server and client sides.</p> <p>The book will end with testing and deployment, which completes any web development project.</p>
Table of Contents (20 chapters)
Learning Play! Framework 2
Credits
About the Author
Acknowledgement
About the Reviewers
www.packtpub.com
Preface
Materials
Index

Monitoring (Typesafe Console)


In the cloud world (which we've entered recently), most of the new applications are running in virtualized environments that are sold as services themselves (IAAS, PAAS).

This implies that a lot of responsibilities (infrastructure, network, OS, filesystem, and so on) are now out of our hands, which is good. But when we need to understand why our application has crashed or why it is particularly slow, we should be able to get our hands back on some of the responsibilities. For instance, our application might be slower at some point because the host network is overloaded or because the file system is being archived and is reducing the IO's performance.

Those facts have increased the need for monitoring, and this need has been tackled by great teams, building great products; New Relic (http://newrelic.com/) is one of them and probably the most famous one as well.

Actually, the Typesafe team is part of those smart teams, and so it has recently created a brand-new...