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

AutoMaterialize "cooldown": AutoMaterializePolicy.eager(cooldown_seconds=300), with SKIP instead of DISCARD #22466

Open
chriscomeau79 opened this issue Jun 11, 2024 · 0 comments
Labels

Comments

@chriscomeau79
Copy link

What's the use case?

Rate-limiting eager AutoMaterializations. Materialize as soon as conditions are met, but at most once per N seconds.

AutoMaterializePolicy.eager(cooldown_seconds=300)

If cooldown hasn't elapsed yet, Automaterialize decision is SKIP (rather than DISCARD)

Ideas of implementation

I thought this might have been possible by simply allowing floats instead of ints here...
max_materializations_per_minute (Optional[float])
but that rule is using DISCARD instead of SKIP, so I think it wouldn't work - rather than throttling, it would give up and require manual intervention.

Additional information

Previous discussion:
https://discuss.dagster.io/t/12083303/for-auto-materialize-max-materializations-per-minute-i-d-pro

Message from the maintainers

Impacted by this issue? Give it a 👍! We factor engagement into prioritization.

@mlarose mlarose added the area: auto-materialize Related to Auto Materialization label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants