I just will try to explain my simplified use case. There is:
- Spark Application which count the words.
- A web server which serves a web page with a form.
- User that can type word within this form and submit it.
Server receives the word and sends it to the Spark Application. Spark application takes as an input this word, based on some data and this word launches a job with recalculations. Once Spark done with calculations, it sends results to web server which shows results on a web page.
The question is, how i can establish communication between spark application and web-server?
I guess, that spark-jobserver or spark-streaming can help me here, but i am not sure about it.