I have a 3rd party API that utilizes Threads. I am coding using Play framework and want to make use of Akka to implement ASYC functionality and to achieve Realtime results. But I'm not sure if integrating Akka with an API that uses Threads make sense or not. Consider the following scenario:
- Query 3rd party API using a Socket to return a stock price using the ticker symbol
- 3rd party receives the message, executes commands using Threads and does whatever else it needs to do. I'm not really worried about how it does things. Just pointing out that it utilizes threads.
- 3rd party API starts spitting out data
- Process data returned. If data matches given use case, save it in the database and push it to the browser.
Could you please share where Akka can create value in this use case? Thanks a bunch