please give me some advice about the best pattern of the task solution. My task is this:
- User makes a request to the Camunda processor through own rest controller
- BPMN schema on a backend side consists of a chain of several asynchronous services
- Data will be ready for response to the User only when one final service on BPMN makes it.
Every chain works not greater than 10-15 secs. And users sessions count is less than 500 an hour.
How to organize the work of the rest controller? Is it acceptable to force controller waiting of result in the same call? Where a bottleneck?