mirror of
https://github.com/golang/go
synced 2024-11-19 11:14:47 -07:00
710872e5c8
Creating a new disk is the major latency cost of creating a new instance. If we reuse a previous disk image, the VM and CoreOS boot much quicker and start building again. So add a mode where we don't mark the disk as delete-on-death when we create it, and we search for a suitably-named existing one on creation and try to reuse it. It's a cache, essentially. It's still stateless. LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/135410043 |
||
---|---|---|
.. | ||
create.go |