title: REST api for processing parallel HTTP GET requests
body: <p>My question might be quite basic. </p>
  
  <p>I have a Spring MVC (Spring Boot) REST api, and multiple Spark workers that send parallel <code>HTTP GET</code> requests to this REST api (e.g. 4 workers on different nodes -> 4 parallel <code>HTTP</code> requests). I want my REST api be able to process these requests in parallel.</p>
  
  <p>How can I do it? Should I use callbacks and <code>DeferredResult</code> inside my REST api? Any example would be really helpful.</p>