imjasonh / ideas

A place for me to file issues against myself for things I want to build when I'm bored
5 stars 0 forks source link

Bazel build farm on Cloud Run #84

Closed imjasonh closed 3 years ago

imjasonh commented 3 years ago

Bazel enables remote/distributed execution and caching of build actions. The API to talk to a remote build is a gRPC API with a server-side streaming response.

As of the filing of this bug, Cloud Run supports server-side streaming responses (up to 32MB responses), up to 4 GB of RAM and 4 CPUs, and an hour-long request timeout. It supports a global load balancer and regional servers in tons of locations. Autoscaling instances with scale-to-zero. Maybe we can make a build farm out of it?

imjasonh commented 3 years ago

This is already done, by people much more serious about it than me. I can't seem to find it, but it was cool.