Tyler Ellison
10/06/2021, 8:31 PMdaniel
10/06/2021, 9:00 PMmodule: dagster.core.run_coordinator
class: QueuedRunCoordinator
config:
dequeue_interval_seconds: 5
johann
10/06/2021, 9:04 PMTyler Ellison
10/07/2021, 1:51 PMjohann
10/07/2021, 2:46 PMTyler Ellison
10/07/2021, 2:59 PMjohann
10/07/2021, 3:07 PMTyler Ellison
10/07/2021, 3:41 PMjohann
10/07/2021, 3:48 PMassaf
06/13/2022, 4:47 PMminimum_interval_seconds
on the sensor to 1s. Can it go to zero?
2. Provided 4X more CPU and memory to the daemon.
3. Scaled up my Dagster DB (initially there was some CPU pressure there, but that's been resolved).
4. Instrumented the latency for IO-sensitive parts of the sensor eval fn, as well as total tick latency. I'm seeing p99 total latency usually under 500ms, with some occasional spikes going to ~5s.
5. I periodically garbage-collect stale pods from the k8s APIkubectl get jobs | grep dagster-run | wc -l
243482
daniel
06/13/2022, 5:08 PMassaf
06/13/2022, 5:32 PMdaniel
06/13/2022, 5:33 PMassaf
07/03/2022, 8:59 AMuse_threads
and num_workers
fields, but it's not immediately obvious where those should be set.johann
07/05/2022, 2:53 PMdagster.yaml
:
run_coordinator:
...
sensors:
use_threads: true
num_workers: 10
Or if using the helm chart, it will be configured in your `values.yaml`:
https://github.com/dagster-io/dagster/blob/master/helm/dagster/values.yaml#L1006-L1011Dagster Bot
07/05/2022, 2:53 PMprha
07/05/2022, 6:41 PM0.15.4
. The relevant PR is here: https://github.com/dagster-io/dagster/pull/8657