Skip to content

windmill worker cpu load? #1714

Answered by rubenfiszel
helmut72 asked this question in Questions
Jun 12, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

It's very likely coming from the workers + db. The way queuing work on the postgresql implementation (there is a redis one that would consume less) is that worker poll every 50ms the database for new jobs. That is a lot of polling which creates load on both the db and workers. 50ms is low but guarantees super low latency with sufficient number of free workers.
In most cases, that wouldn't be an issue since:

  • 6% is pretty low on what I assume to be a non-beefy server
  • you do not pay that price when the worker is actually running the job since it's not polling anymore.
  • in production settings, you would want to setup dedicated resources for windmill

You can adjust the frequency if you'd like…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@helmut72
Comment options

@rubenfiszel
Comment options

@helmut72
Comment options

@FrancisVarga
Comment options

Answer selected by helmut72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants