1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:34:46 -07:00
go/dashboard/coordinator/buildongce
Brad Fitzpatrick 710872e5c8 dashboard/coordinator: support reusing VM disk between boots
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
2014-09-04 07:10:07 -07:00
..
create.go dashboard/coordinator: support reusing VM disk between boots 2014-09-04 07:10:07 -07:00