I have an application interface implemented on angularjs + nodejs + express + socket.io. There is also a function in a separate service. This service is written in akka.
Here's what the entire communication pipeline looks like:
[user enters value] → [angularjs receives the value and sends it to the nodejs server via socket.io] → [nodejs receives the value and direct it to akka] → [akka does some calculations and returns the answer] → [nodejs receives the answer and directs it to angularapp] ,
One possible solution would be to implement the MQ middleware and use it for interoperability, but this message-based approach seems to be overhead for something that clearly looks like an RPC call. What is the best way to create this type of connection between nodejs and akka?
source share