Skip to content

Improve Webserver Response Under Load #587

Discussion options

You must be logged in to vote

@anthonylavado it's hard to know what is causing the webserver to become unresponsive without more context.

Questions:

  • What version of airflow are you running?
  • How many people are accessing the webserver?
  • Are you using any of the REST APIs provided by the webserver (to run dags for example)?
  • Are you using a PVC to store logs?
  • Are your worker Pods running on the same nodes as your webserver pods (if so, this indicates resource starvation and the need for larger resource requests).

Answers:

  • Yes, always set resource requests for pods (otherwise K8S will de-prioritize those pods when allocating resources)
  • Yes, increasing the replica count of the webserver will improve performance (but only…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@anthonylavado
Comment options

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