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...
Create a soccer league dashboard app
Pull real-time scores, commentary, standings, and results into app using Akka, React, and IBM Cloudant
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.
- Create actors for Akka.
- Expose Akka REST APIs.
- Actor to crawl and store data to NoSQL database.
- Deploy the app to IBM Cloud.
- User can interact with the app.