Home / Companies / Astronomer / Blog / December 2019

December 2019 Summaries

2 posts from Astronomer

Filter
Month: Year:
Post Summaries Back to Blog
The blog post explores efforts to enhance the performance and reliability of the Airflow Scheduler as part of the roadmap for Airflow 2.0, with a focus on profiling and optimizing its execution. The author, an Airflow Team Lead at Astronomer, shares insights into the profiling process using tools like py-spy and flame graphs to identify bottlenecks, especially in SQL string building, which accounted for significant processing time. The implementation of "Baked Queries" using SQLAlchemy reduced overhead, leading to noticeable speed improvements. Additionally, experiments with replacing subprocess calls with os.fork() revealed an impressive speed increase, although the approach requires further refinement to resolve bugs. The post underscores the potential for significant performance gains in Airflow's scheduler with these optimizations and concludes with an invitation for collaboration and employment opportunities at Astronomer.
Dec 05, 2019 2,441 words in the original blog post.
Apache Airflow has become a leading workflow orchestration tool due to its active community and robust functionality, making it a choice for numerous companies, including Fortune 500s and tech startups. The community, boasting over 1,700 contributors, has driven significant project growth, particularly since companies like Airbnb, Google, and Astronomer dedicated substantial resources to its development. Airflow 2.0 introduced several enhancements, such as a new Scheduler for improved performance, a comprehensive REST API, Smart Sensors for event-driven tasks, and the TaskFlow API for efficient task communication. Additional features include Task Groups, independent Providers, and a redesigned UI/UX, with further advancements continuing in versions like Airflow 2.1. As more organizations adopt Airflow, its future as a key component of the Modern Data Stack appears promising.
Dec 03, 2019 559 words in the original blog post.