Better HN
topnewbestaskshowjobs
Log inSign up

jacobwg

3,698 karma · joined Jun 3, 2011 (15y ago) · 450 submissions

Co-founder and CTO of Depot (W23, https://depot.dev)

Previously at Era Software, Thorn, Webflow, Playlist.

jacobwgillespie@gmail.com

https://jacobwgillespie.com

https://github.com/jacobwgillespie

https://twitter.com/jacobwgillespie

[ my public key: https://keybase.io/jacobwgillespie; my proof: https://keybase.io/jacobwgillespie/sigs/F-KFv_EcnLeEUyxHBMSuyDH8bw4t5-4sfhrxE-zbdMs ]

Submissions

1.

Computers Compared(fly.io ↗)

2 points · by jacobwg · 3mo ago · 1 comment

comment 3mo ago · link · parent

It's to prevent theft by the delivery person or by the wrong recipient

comment 3mo ago · link · parent

We've been working on this at Depot[0]. We built the internals of Depot CI as a general-purpose workflow engine that understands GitHub Actions as an input (with plans to extend) - we've been working to make Actions runners more performant and more reliable for a while, but eventually you hit a ceiling if you don't also control the control plane.

[0] https://depot.dev

4.

Amazon S3 Annotations(aws.amazon.com ↗)

5 points · by jacobwg · 5mo ago · discuss

comment 8mo ago · link · parent

Hey, I'm one of Depot's founders - we built our own custom parser for the YAML syntax that translates to Depot CI's orchestration APIs. This API will actually be a public API shortly, which will unlock some interesting use-cases (support for more syntaxes, direct programmability of the orchestrator, etc)

6.

Depot (YC W23) Is Hiring an Enterprise Support Engineer (Remote/US)(ycombinator.com ↗)

by jacobwg · 11mo ago

7.

Depot (YC W23) Is Hiring a Staff Infrastructure Engineer(ycombinator.com ↗)

by jacobwg · 1y ago

comment 1y ago · link · parent

You all should add EC2 - extra bonus if you have some way of tracking performance in addition to errors (right now we're seeing EC2 instances in us-east-1c not transition out of Pending status).

comment 1y ago · link · parent

We've been observing EC2 instances launched in us-east-1c (use1-az2) remain in Pending status for a very long time / indefinitely, starting at around 16:00 UTC.

10.

Depot (YC W23) Is Hiring a Principal Design Engineer (Remote US/EU)(ycombinator.com ↗)

by jacobwg · 1y ago

11.

Discovering useful third-party GitHub Actions(depot.dev ↗)

4 points · by jacobwg · 1y ago · discuss

12.

Depot (YC W23) Is Hiring a Community and Events Manager (Remote)(ycombinator.com ↗)

by jacobwg · 1y ago

comment 1y ago · link · parent

Since we launched this last year, GitHub released a v2 of their internal cache API [0], based on Twirp [1] of all things, so we adapted to that. Interestingly that Twirp service also receives Actions artifacts, though we have not intercepted those today given that you likely still want them to appear in the GitHub UI / be accessible from the GitHub API.

[0] https://github.com/actions/cache/discussions/1510

[1] https://github.com/twitchtv/twirp

14.

Depot (YC W23) Is Hiring a Technical Content Writer (Remote)(ycombinator.com ↗)

by jacobwg · 1y ago

15.

Flox Build and Publish(flox.dev ↗)

2 points · by jacobwg · 1y ago · discuss

16.

Depot (YC W23) is hiring an enterprise support engineer (UK/EU)(ycombinator.com ↗)

by jacobwg · 1y ago

comment 1y ago · link · parent

Depot (W23) | Enterprise Support Engineer | Remote (UK, Europe) | Full-time | €100K - €160K | https://depot.dev

Depot is the fastest place to build software. We accelerate builds for customers using GitHub Actions, Docker, Bazel, Gradle, and more. We're seeking our first Enterprise Support Engineer to become a customer-facing expert on build optimization.

We're looking for someone with DevOps / CI consulting experience - you'll work directly with customers as the subject-matter expert on best practices, helping migrate legacy infrastructure, and working directly with the founders on product gaps.

Bonus: experience with Docker buildx, API integrations, or previous CI consulting.

For more details, and to apply: https://www.ycombinator.com/companies/depot/jobs/NdCr76D-ent...

comment 1y ago · link · parent

Not quite for every container, but we operate a multi-tenant remote build execution service (container builds, GitHub Actions jobs, etc) so we launch a lot of ephemeral VMs in response to customer build requests. We use separate EC2 instances for strong workload isolation between different customers / jobs, and optimize boot time since that directly translates to queue time.

comment 1y ago · link · parent

We also do GitHub Actions runners as a service, so a very high volume of differently-sized ephemeral VMs. We’ve experimented with .metal hosts, however they represent a bin-packing optimization problem, in that you will always be running some amount of spare compute / trying to fit the incoming build requests to physical hosts as tightly as possible.

Eventually you realize, IMO, that doing the bin packing yourself is just competing with AWS, that’s what they do when you launch a non-metal EC2 instance and it’s best to let them do what they’re good at. Hence why we’ve focused on optimization of that launch type, rather than trying to take over the virtualization.

There’s other security and performance reasons too: AWS is better at workload isolation than we can be, both that the isolation boundary is very strong, and that preventing noisy neighbors is difficult. Especially with things like disk, the strategies for ensuring fair access to the physical hardware (rate-limiting I/O) themselves have CPU overhead that slows everything down and prevents perfect bin-packing.

comment 1y ago · link · parent

Yeah we do some similar tricks with our registry[0]: pushes and pulls from inside AWS are served directly from AWS for maximum performance and no data transfer cost. Then when the client is outside AWS, we redirect all that to Tigris[1], also for maximum performance (CDN) and minimum data transfer cost (no cost from Tigris, just the cost to move content out of AWS once).

[0]: https://depot.dev/blog/introducing-depot-registry

[1]: https://www.tigrisdata.com/blog/depot-registry/

comment 1y ago · link · parent

No worries, entirely valid question. There may be ways to tune page cache to be more like this, but my mental model for what we've done is effectively make reads and writes transparently redirect to the equivalent of a tmpfs, up to a certain size. If you reserve 2GB of memory for the cache, and the CI job's read and written files are less than 2GB, then _everything_ stays in RAM, at RAM throughput/IOPS. When you exceed the limit of the cache, blocks are moved to the physical disk in the background. Feels like we have more direct control here than page cache (and the page cache is still helping out in this scenario too, so it's more that we're using both).

comment 1y ago · link · parent

Exactly, a ramdisk-backed writeback cache for the root volume for Linux. For macOS we wrote a custom nbd filter to achieve the same thing.

comment 1y ago · link · parent

Today we (Depot) are not, though some of our customers configure this. For the moment at least, the ephemeral public IP architecture makes it generally unnecessary from a rate-limit perspective.

From a performance / efficiency perspective, we generally recommend using ECR Public images[0], since AWS hosts mirrors of all the "Docker official" images, and throughput to ECR Public is great from inside AWS.

[0] https://gallery.ecr.aws/

comment 1y ago · link · parent

The block level has two advantages: (1) you can accelerate access to everything on the whole disk (like even OS packages) and (2) everything appears as one device to the OS, meaning that build tools that want to do things like hardlink files in global caches still work without any issue.

comment 1y ago · link · parent

A list of fun things we've done for CI runners to improve CI:

- Configured a block-level in-memory disk accelerator / cache (fs operations at the speed of RAM!)

- Benchmarked EC2 instance types (m7a is the best x86 today, m8g is the best arm64)

- "Warming" the root EBS volume by accessing a set of priority blocks before the job starts to give the job full disk performance [0]

- Launching each runner instance in a public subnet with a public IP - the runner gets full throughput from AWS to the public internet, and IP-based rate limits rarely apply (Docker Hub)

- Configuring Docker with containerd/estargz support

- Just generally turning kernel options and unit files off that aren't needed

[0] https://docs.aws.amazon.com/ebs/latest/userguide/ebs-initial...

comment 1y ago · link · parent

We're having some success with doing this at the block level (e.g. in-memory writeback cache).

comment 1y ago · link · parent

I'd love to experiment with that and/or flags like `noatime`, especially when CI nodes are single-use and ephemeral.

28.

Disk I/O bottlenecks in GitHub Actions(depot.dev ↗)

106 points · by jacobwg · 1y ago · 72 comments

29.

A Shell for the Container Age: Introducing Dagger Shell(dagger.io ↗)

4 points · by jacobwg · 1y ago · discuss

30.

Depot (YC W23) is hiring a founding developer marketer (EU/US remote)(ycombinator.com ↗)

by jacobwg · 1y ago

12345
15