IBM Developer Day | Bengaluru | March 14th Register now
Get the code
By Sanjeev Ghimire | Published February 19, 2018
Soccer fans worldwide enjoy live weekly games of the various soccer leagues. And every week, there are many live feeds coming to the various websites in the form of scores, commentary, team standings, fixtures, results, etc. And there lacks a proper web application that can communicate with the providers and give real-time feedback to the soccer fans. For the fans of teams in La Liga, Premier League UK, Serie A, and Bundesliga, instead of having to go to multiple websites to get real-time scores, they just look at the dashboard for the aggregated real-time scores from all four leagues – a real time-saver. Since Akka is an asynchronous way of building powerful, reactive, concurrent, and distributed applications, a real-time soccer league dashboard would be an ideal use of Akka.
Akka consists of actors. An actor is the smallest unit of your Akka-based application. An Akka is a container for several components. The components include actors, state, behavior, mailbox, child actors, and supervisor strategy. Akka ensures that the communication is through asynchronous messaging and that it’s the only way to interact.
This pattern will demonstrate how to define Akka actors in an Akka cluster.
Ready to put this code pattern to use? Complete details on how to get started running and using this application are in the README.
March 28, 2019
February 20, 2019
March 22, 2019
Back to top