Self-Managed Deployment of Kafka & Airflow on Linode Kubernetes
An innovative social media platform tailored for women, boasting a user base of over 500,000 worldwide. It serves as a comprehensive hub for connection, knowledge sharing, and monetization of skills.
The Problem Statement
The platform faced significant operational challenges with its managed services for Kafka and Airflow, resulting in high costs, limited scalability, and insufficient monitoring capabilities.
Challenges
Managed services like Confluent Kafka and Astronomer (Airflow SaaS) incurred substantial monthly expenses.
Performance bottlenecks occurred during peak traffic, with the need for a more dynamic and scalable setup.
Restrictive customizations created reliance on external vendors for infrastructure changes and updates.
Existing setups lacked robust monitoring and alerting capabilities, impeding real-time insights and metrics analysis.
Solutions
To address these issues, a comprehensive migration strategy was formulated to reduce costs, improve scalability, and enhance observability.
Migrated from Confluent Kafka to a self-managed Kafka setup on Linode Kubernetes Engine.
Transitioned from Astronomer’s Airflow SaaS to an open-source Airflow deployment on Akamai Cloud.
Utilized tools like Kafka UI, Terraform, Datadog, KEDA, Redis, and GitHub Actions for automation and monitoring.
Implemented continuous deployment pipelines with GitHub Actions and integrated Datadog for real-time monitoring and alerting.
Outcomes
Successfully migrated 200 DAGs to an open-source Airflow setup.
Achieved $10,000 in monthly cost savings.
Ensured high availability (HA) setups for both Kafka and Airflow.
Established a robust observability framework using Datadog, enabling proactive issue resolution and system health monitoring.
Faster & Secure Software Delivery With BuildPiper ↓
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also disclose information about your use of our site with our social media, advertising and analytics partners. For more details click on learn more.