Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this Book
About the Cover Illustration
1. Getting started with reactive web applications
Chapter 1. Did you say reactive?
1.1. Putting reactive into context
1.1.1. Origins of reactive
1.1.2. The Reactive Manifesto
1.1.3. Reactive programming
1.1.4. The emergence of reactive technologies
1.2. Rethinking computational resource utilization
1.2.1. Threaded versus evented web application servers
1.2.2. Developing web applications fit for multicore architectures
1.2.3. The horizontal application architecture
1.3. Failure-handling as first-class concern
1.3.1. Failure is inevitable
1.3.2. Building applications with failure in mind
1.3.3. Dealing with load
1.4. Summary
Chapter 2. Your first reactive web application
2.1. Creating and running a new project
2.2. Connecting to Twitter���s streaming API
2.2.1. Getting the connection credentials to the Twitter API
2.2.2. Working around a bug with OAuth authentication
2.2.3. Streaming data from the Twitter API
2.2.4. Asynchronously transforming the Twitter stream
2.3. Streaming tweets to clients using a WebSocket
2.3.1. Creating an actor
2.3.2. Setting up the WebSocket connection and interacting with it
2.3.3. Sending tweets to the WebSocket
2.4. Making the application resilient and scaling out
2.4.1. Making the client resilient
2.4.2. Scaling out
2.5. Summary
Chapter 3. Functional programming primer
3.1. A few words on functional programming
3.2. Immutability