NodeFlair - Tech Salaries, Jobs & more’s Post

NodeFlair - Tech Salaries, Jobs & more reposted this

View profile for Adrian Goh Jun Wei, graphic

adriangohjw.com | Prev. founded NodeFlair (Series A)

We made our CI 2.86x faster, 83% cheaper 🚀 Here's how: But firstly, why is a fast build for CI crucial? Because it keeps your momentum alive by providing quicker feedback, preventing the soul-sucking downtime that kills productivity. 🐌 And here's why our CI build at NodeFlair - Tech Salaries, Jobs & more were taking so long: 1) GitHub Action is slow - initializing container alone takes 1 minute. 2) Tests run slow - we were running them one after another. Apparently if you are unlucky, GitHub will run your workflow with old hardware from 2015. In comparison, me running it locally on my M2 MacBook Air is ~3x faster. 🚀 So here's how we solved it: 1) Running tests in parallel - our runners have 2vCPU so they can run the tests concurrently - cutting time taken to run tests by 16%. (FYI fellow Rails folks, we are using Flatware) 2) Switching to BuildJet runners. By changing 1 line of code, overall build time drops by 33% - it's 50% cheaper too! 3) Also switching to BuildJet cache - 20GB instead of GitHub's 10GB. With a larger cache, there's a higher probability that previously cached dependencies will still be available for subsequent builds, reducing the need to fetch them again. And here’s the kicker: BuildJet is not only 50% cheaper per minute, but with its blazing-fast runners, we’re slashing our CI costs by up to 83%. This isn’t some paid shill — I’m telling you to give it a go yourself. See the difference firsthand. Once again, the art of doing more with less fuels my passion. It’s how we scale swiftly and stay lean. 💡 UPDATE: We switched to Blacksmith because it's even faster and cheaper - 3x faster, 6x cheaper! https://lnkd.in/gyJYkupk

  • No alternative text description for this image
Daniel Huebschmann

Cloud Administrator & Engineer | DevOps & IaC | Certified Azure Administrator

5mo

That's an interesting case study. Does GitHub really run such old, on-premise hardware?

Intern project: get a Beelink SER5 (8C/16T CPU for < S$400), put it in the office, and configure it as a self-hosted GitHub runner. I imagine you can recover the cost pretty quickly. 🙂

Sayyid Khan

Software Engineer | Full Stack Developer | Adjunct Lecturer | NUS Mentor

5mo

I like how well you Summarise the company pain points. Can understand how to objectively improve your systems. keep it up 😆😁

Like
Reply
Jacky Lou

Early stage Investor/Angel Investor/Business Advisors/Givers

5mo

wow, nice.

Like
Reply
Yash Khandelwal

Building Dashwave.io (AI Agent for Android & iOS) | Ex-Powerplay (founding team) | IIT Roorkee

5mo

Wow! Congratulations to the team for achieving such performance. I have too struggled with github actions being so slow, slow enough that it used to timeout after 30 minutes. I am both surprised and amazed to see buildjet's approach on optimising these speeds. However, on a side note, we've been also working on build speed optimisation at Dashwave. Feel free to check out, would appreciate your feedback.

Like
Reply
Prabhat Kumar

Senior SDE | Founding Engineer | Full Stack Developer | Node Js | React JS | JS | TS | AWS | GCP

5mo

Interesting way to cut down build time

Like
Reply
Joel Haowen Tong

I help people move money. Entrepreneur / Engineering Advisory / Agency. Coder age 10 / Not a 30 under 30. =)

5mo

I'd got to try this out. Thanks for the share.

Andy Chong

Tech lead (We're hiring @ postco.co/about-us) Ruby on Rails. React.

5mo

Ubicloud is 5x cheaper than buildjet. Try them out. I'm a happy customer!

Ho Zhen Hong

Software Engineer at Prime Technologies Singapore

5mo

Very helpful!

See more comments

To view or add a comment, sign in

Explore topics