Target io.timeout.millis : Best Practices

Apigee Docs says : First component should have highest timeout and last component should have lowest timeout (https://docs.apigee.com/how-to-guides/configuring-io-timeout-best-practices)

I am using Apigee Cloud : Where Router and MP's have default timeouts . I am adding a property at target endpoint "io.timeout.millis" with a value of 10000 . Which is less than MP timeout (55). Is it a good practice or should i increase the timeout from 10000 to 5XXXX ?
1 1 52
1 REPLY 1

Best practice is to go from highest to lowest, independant of the middleware components you might have.

Let's have router and backend as init and final points of your request; where router has a 57s timeout and backend 30s, all components in between should be scaled accordingly from highest to lowest, that way, you will avoid having premature timeouts and request should flow smoothly, have a look at antipattern.pdf for more details regarding timeout configuration