concept reactive web application in category akka

appears as: reactive web applications, reactive web application
Reactive Web Applications: With Play, Akka, and Reactive Streams

This is an excerpt from Manning's book Reactive Web Applications: With Play, Akka, and Reactive Streams.

We need a new set of tools to help us efficiently deal with the challenges that come with this evolution. The Play Framework has been designed from the ground up to make it possible to build reactive web applications that are capable of providing real-time behavior to users even under high load and in a decentralized setting. At the time of this writing, Play is the only full-stack reactive web application framework available on the Java virtual machine. Embraced by large companies such as Morgan Stanley, LinkedIn, and The Guardian, as well as many smaller players, Play is available as free, open source software, ready to be downloaded to your computer.

In this chapter, we’ll look into what reactive web applications are, why you’d want to build such applications, and why the Play Framework is a good tool for this purpose. We’ll start by disambiguating the meaning of the word “reactive” and look into how new trends in hardware design and software architecture call for a reconsideration of how to use computational resources. Finally, we’ll explore why failure handling plays a crucial role in this context, and how it can be achieved.

Testing web applications is hard, and testing reactive web applications is even harder. Next to all client-side concerns such as browser compatibility and execution on a plethora of mobile devices under varying connection speeds and connection quality, we must also concern ourselves with the guarantees that a reactive web application promises to deliver—being able to react to load by scaling out (and back in), offering a degraded execution rather than complete outage under failure, as well as responding to the user as quickly as possible—with the smallest possible latency.