I have an application frontend, implemented on angularjs + nodejs + express + socket.io. There's also a feature in a separate service. This service is written on akka.
Here's the way of how the entire communication pipeline may look:
[user enters a value] -> [angularjs gets the value and send it to nodejs server thru socket.io] -> [nodejs receives the value and channel it to akka] -> [akka performs some calculation and return a response] -> [nodejs receive the response and channel it to angularapp].
One possible solution would be to introduce a MQ middleware and use it for the interaction, but such "message driven approach" seems like an overhead for something that clearly looks like an RPC call. What is the best way to build up such type of communication between nodejs and akka?