-
Notifications
You must be signed in to change notification settings - Fork 16.8k
API - UI Optimization #62020
Copy link
Copy link
Open
Labels
area:APIAirflow's REST/HTTP APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.kind:metaHigh-level information important to the communityHigh-level information important to the community
Milestone
Metadata
Metadata
Assignees
Labels
area:APIAirflow's REST/HTTP APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.Related to UI/UX. For Frontend Developers.kind:metaHigh-level information important to the communityHigh-level information important to the community
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is the meta issue for tracking performance optimization of the UI and API to improve airflow operating at high scale.
Done
I - API
Add gunicorn support for API server with rolling worker restarts #60940 (memory optimization and worker rotation)
API - Improve historical_metrics_data endpoint #62021
API - Improve public get_dag_runs endpoint #62025 perf: use load_only() in get_dag_runs eager loading to reduce data fetched per task instance #62482
Optimize /ui/dags endpoint serialization #61483
Mention http2 in the API/UI performance documentation #62032
Add log buffering to increase performance when streaming big logs #63180 (Add log endpoint buffering for streaming)
II - UI
Targeted for 3.2+
Attached is a zip file with some dummy dags that will generate a high number of tasks and runs in your local development setup. This is useful to 'simulate' a high scale installation with millions of TIs and thousands of dag runs, to help you work on the linked issues or identify other bottlenecks.
serdagexpensive.zip