Skip to content

Commit

Permalink
Rate limit request on matching host (cadence-workflow#899)
Browse files Browse the repository at this point in the history
Matching host protection to prevent against high number of requests
causing host to go out of memory due to aggresive buffer allocation by
rpc stack.
Also created a retryable client for making calls to matching service
which will backoff on transient service failures like ServerBusy and
InternalServiceErrors.
  • Loading branch information
samarabbas authored Jun 27, 2018
1 parent 9ea16c0 commit f11fff3
Show file tree
Hide file tree
Showing 16 changed files with 497 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .gen/go/matching/idl.go

Large diffs are not rendered by default.

42 changes: 40 additions & 2 deletions .gen/go/matching/matchingservice_canceloutstandingpoll.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 40 additions & 2 deletions .gen/go/matching/matchingservice_describetasklist.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 40 additions & 2 deletions .gen/go/matching/matchingservice_pollforactivitytask.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f11fff3

Please sign in to comment.