News for hackers. Stuff that matters.

adityamaru

Re:Disk I/O bottlenecks in GitHub Actions on Friday March 28, 2025 @01:45PM (#43508155)
Have you checked out https://docs.blacksmith.sh/docker-builds/incremental-docker-...? This should help setup a shared, persistent docker layer cache for your runners
Re:Setting up a Linux writecache as a RAM disk on Monday February 03, 2025 @01:01PM (#42920942)
thanks for clarifying!
Re:Faster Docker builds using a remote BuildKit instance on Monday August 12, 2024 @11:13PM (#41231849)
> Nix jobs run inside rootless Podman containers but the Nix store and Nix daemon socket are passed through from the host

That's a neat idea, was the primary motivation for building this out the perf gains on the table?

Re:Faster Docker builds using a remote BuildKit instance on Monday August 12, 2024 @11:02PM (#41231782)
This is a common cause yeah but becoming less of an issue with increasing support for ARM runners.
Re:Faster Docker builds using a remote BuildKit instance on Monday August 12, 2024 @11:00PM (#41231771)
indeed, thats a good callout. We'll add this to our README over at https://github.com/useblacksmith/remote-buildkit-terraform
Re:Faster Docker builds using a remote BuildKit instance on Monday August 12, 2024 @09:38PM (#41231335)
`hope` is a good name for a service trying to solve this problem :D
Re:Faster Docker builds using a remote BuildKit instance on Monday August 12, 2024 @09:13PM (#41231204)
> 30 minute docker builds?

At Blacksmith we do see this pretty often! Rust services in particular are the most common offender.

Re:Faster Docker builds using a remote BuildKit instance on Monday August 12, 2024 @08:40PM (#41230991)
What provider do you prefer? We're big fans of Hetzner
do you self host your jenkins deployment in your AWS account?
totally agree, github actions has done an excellent job at this lowest layer of the build pipeline today but is woefully inadequate the minute your org hits north of 50 engineers
oh TIL, that is interesting
Yeah that still holds true to some extent today with the GHA cache. Blacksmith colocates its cache with our CI runners, and ensures that they're in the same local network allowing us to saturate the NIC and provide much faster cache reads/writes. We're also thinking of clever ways to avoid downloading from a cache entirely and instead bind mount cache volumes over the network into the CI runner. Still early days, but stay tuned!
This is exactly the sort of insight that led us to work on Blacksmith. Since we own the hardware we run CI jobs on there are some exciting things we can do to make these "sticky disks" work the way you describe it. Stay tuned!