Broadcast request to all application instance for single API

We have some code snippet which should be executed on all instances of application. We have used APIGEE which will load balance the requests.

Situation : We have a application with 4 instances. Now when the request come for one of the API of this application, we need to send(broadcast) this request to all instance of this application from.

So can we do such configuration in APIGEE, so that we can make broadcasting of request for one API and for others it will do normal load balancing?

Note: We only have to broadcast request for one API and for other APIs we need load balancing.

Please let me know if you need any other details.

0 1 598
1 REPLY 1

There is no such thing as "broadcast" in TCP or HTTP.

If you want to have an API Proxy send a request to 4 distinct systems, then you must configure your API proxy to explicitly send that request 4 times, to 4 endpoints.

You can do that with 4 ServiceCallouts,

or with a JavaScript policy with 4 httpClient calls.