Chapter 4Consuming Backing Services with JRuby
Twitalytics requires some new features that trigger each time a post is created. It must retain a per-user count of new posts, annotate each new post with the stock price markup you implemented in Chapter 1, Getting Started with JRuby, and stream this information back to its clients.
Each feature adds a challenging concern to Twitalytics. One is stateful, one consumes a microservice over the network, and one must send the same data across multiple connections. None of these features are well suited to the synchronous request-response cycle of a traditional web application, which is why you’ll need to implement these features with the help of some backing services.
In this chapter, you’ll ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access