Concurrent Rate Limit Policy in Shared Flow

cbmohit
Participant I

My project requirement is to add global rate limit and I can see Concurrent Rate Limit is best option for me.I can add same in Shared flow.

Is that fine if we add Concurrent Rate limit Policy in Shared flow?

0 1 234
1 REPLY 1

sidd-harth
Participant V

When you say rate limiting, please explain why do you think Concurrent Rate Limit is best option?

Did you check Quota/Spike Arrest Policies?

You should be knowing that the use of the Concurrent Rate Limit policy is known to impact performance and will result in lower throughputs.

It should be added in three places, so I assume you want to use FlowCallout in,

  • TargetEndpoint Request PreFlow
  • TargetEndpoint Response PreFlow
  • TargetEndpoint DefaultFaultRule