uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
345 stars 131 forks source link

Add size protections #877

Closed andrewjdawson2016 closed 4 years ago

andrewjdawson2016 commented 4 years ago

We found that that customers can bring cadence server down by sending large requests to it. These large requests get buffered in yarpc and cause memory issues for cadence.

Just dropping these on the server is not enough, we actually need client side protection against this.

luowenking1 commented 4 years ago

Query is already handled, do we want to also add protections for decisions? @venkat1109 @meiliang86

luowenking1 commented 4 years ago

@venkat1109 suggested we do not need to work on this task anymore.