Primer: Limiting the Concurrency

Putting a cap on the maximum number of parallel request in GenericParallel. Parallel calls are an extremely powerful tool and, like any powerful tool, can be dangerous. Hitting a backend service with 5 parallel requests will reduce the response time. Hitting the same service with 50 parallel requests may bring that service down, causing a prolonged downtime. Overload Protection To prevent accidental overloading, GenericParallel uses the concept of maximum concurrency.

Continue reading

Primer: Calling Multiple REST Services

This is the shortest guide for making an OSB parallel call to REST services with GenericParallel. I assume the GenericParallel service is already deployed on your domain. If not, here’s the deployment guide. Suppose we need to call a RESTful service named RegisterResourceId. We’ll need to register a number of ids at once, hence the parallel call. To register one id, we need to call this service with the following parameters:

Continue reading