Create a soccer league dashboard app  

Pull real-time scores, commentary, standings, and results into app using Akka, React, and IBM Cloudant

Last updated | By Sanjeev Ghimire


When designing computer applications, the programming model needs to consider scalability, resilience, fault-tolerance, and performance. The system should be able to manage network latency, memory usage, and high computation required by the system. To overcome these situations, Akka’s actor model allows you to create actors to handle modern computer architectures. In this code pattern, we will create a soccer dashboard for Premier League UK. The dashboard is created by crawling The back end utilizes the Akka Actors model, the front end uses the React JavaScript library, the data storage uses IBM Cloudant®, and the code is deployed on IBM Cloud.


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.


  1. Create actors for Akka.
  2. Expose Akka REST APIs.
  3. Actor to crawl and store data to NoSQL database.
  4. Deploy the app to IBM Cloud.
  5. User can interact with the app.

Related Blogs

Two “edgy” AI TensorFlow models for you!

The global Call for Code is well underway, we want to share some visual recognition models which could help you. These AI models can operate on the edge, which could be particularly useful for this years’ theme: disaster preparedness. How could visual recognition help in relief work? From satellite and drone imagery analysis, to classifying...

Continue reading Two “edgy” AI TensorFlow models for you!

Leveraging the power of AI at Unite Berlin

Last week, from June 19 – 21, we were at Unity’s premiere in Berlin: Unite 2018. This conference brought together Unity’s video game and development community. Unity touches 770 million gamers all over the world and is the market leader for consumer AR and VR use cases and is also rapidly emerging as the market...

Continue reading Leveraging the power of AI at Unite Berlin

Related Links


Akka is a set of open source libraries for designing scalable, resilient systems that span processor cores and networks.


Learn more about this toolkit for providing and consuming HTTP-based services.


Learn more about React, a JavaScript library for building user interfaces.