Deduplication of requests

Is there an OOB policy in apigee to deduplicate requests so that duplicate requests do not hit the backend servers ? This will also help to curb erroneous requests and mitigate backend errors.

How can this be implemented if there are no OOB policies available ?

Thanks

0 1 1,004
1 REPLY 1

The API proxies you create in Apigee Edge are stateless. So the intelligence of determining if the request is a duplicate v/s not a duplicate is unknown to Apigee and has to be implemented by you.

However if the requests are GET on a resource, then you could implement the Cache policies (Response cache for e.g) to avoid requests going all the way to the backend. For POST, PUT and DELETE requests, I think it makes sense to go to the backend, since the state of these resources is not persisted in Apigee. My 2 cents!