0

I wanted to implement throttling for a set of services provided. Under peak load,I want to limit or deny services to long running users or users sending huge data or other rules that can be configured even at a later stage. I plan to use java and spring framework to code this in.

I have read about rate limiting pattern.One possible implementation suggested by stack-overflow post was Token_bucket. the article feels complicated. Can anyone suggest other alternative approaches or patterns. And good articles describing them.

I also found another pdf from microsoft - cloud design pattern. But it doesn't provide much on implementing a throttling patterns.But similar article would be much appreciated.

arvin_v_s
  • 1,036
  • 1
  • 12
  • 18

1 Answers1

-1

I believe we can also use circuit breaker pattern here and put the circuit in an open state once the rate limit is reached. The circuit will have to reset it to a closed state however.

santy1984
  • 1
  • 1