Home / Companies / ClickHouse / Blog / Post Details
Content Deep Dive

Building an Auto-Scaling Lambda based on Github's Workflow Job Queue

Blog post from ClickHouse

Post Details
Company
Date Published
Author
Misha Shiryaev
Word Count
453
Company Posts That Month
14
Language
English
Hacker News Points
-
Post removed?
No
Summary

In a ClickHouse database, a table was created to track data from GitHub Actions using GitHub Webhooks for the ClickHouse organization, providing essential metrics on internal workflow job queues. The data was then used to implement a lambda function that dynamically inflates and deflates workers on demand, improving responsiveness and compute savings. A new system was developed where the desired capacity is calculated based on current runners and jobs in progress/queue, with adjustments made proportionally to deficit or reserve. This approach replaced an old system that relied on CloudWatch alarms and GitHub runner API monitoring, resulting in faster job launching and reduced compute time.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 2 580 145 74 -23%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.