HNHacker News
TopNewBestAskShowJobs

adityamaru

129 karma · joined April 26, 2020

https://github.com/adityamaru
submissionscomments
adityamaru··on Disk I/O bottlenecks in GitHub Actions
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
adityamaru··on Setting up a Linux writecache as a RAM disk (2019)
thanks for clarifying!
adityamaru··on Faster Docker builds using a remote BuildKit instance
> 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?

adityamaru··on Faster Docker builds using a remote BuildKit instance
This is a common cause yeah but becoming less of an issue with increasing support for ARM runners.
adityamaru··on Faster Docker builds using a remote BuildKit instance
indeed, thats a good callout. We'll add this to our README over at https://github.com/useblacksmith/remote-buildkit-terraform
adityamaru··on Faster Docker builds using a remote BuildKit instance
`hope` is a good name for a service trying to solve this problem :D
adityamaru··on Faster Docker builds using a remote BuildKit instance
> 30 minute docker builds?

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

adityamaru··on Faster Docker builds using a remote BuildKit instance
What provider do you prefer? We're big fans of Hetzner
adityamaru··on Cache is King: A guide for Docker layer caching in GitHub Actions
do you self host your jenkins deployment in your AWS account?
adityamaru··on Cache is King: A guide for Docker layer caching in GitHub Actions
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
adityamaru··on Cache is King: A guide for Docker layer caching in GitHub Actions
oh TIL, that is interesting
adityamaru··on Cache is King: A guide for Docker layer caching in GitHub Actions
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!
adityamaru··on Cache is King: A guide for Docker layer caching in GitHub Actions
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!