Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System limits enforcement and alerting #514

Open
longquanzheng opened this issue Dec 8, 2024 · 0 comments
Open

System limits enforcement and alerting #514

longquanzheng opened this issue Dec 8, 2024 · 0 comments

Comments

@longquanzheng
Copy link
Contributor

longquanzheng commented Dec 8, 2024

Context

iWF is backed by Cadence/Temporal which has limits per workflow execution:

  • Blob size limit: 2MB
  • history event limit: 4MB
  • Total history size limit: 50MB
    Input/output size

AC

Reject requests if

  • Start workflow, signal/ workflow, or RPC internal channel message are exceeding 100KB
  • Upsert data attribute is exceeding 100KB from activity

Emit an event for logging and metrics when

  • Any request or message is reach 80% of the above rejection threshold
  • Total history size is greater than 1MB (based on temporal sdk value)
@longquanzheng longquanzheng changed the title Set system limits by config System limits enforcement and alerting Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant