How to get 5-10 second rebuilds?


(Zach Alexander) #1

@sam, how? I just split standalone into data/web, and the web container still takes 4 minutes to bootstrap.


(Sam Saffron) #2

You can still access site during bootstrap. So your only downtime is when you switch the new container in.


(Zach Alexander) #3

Ah. It sounds like you’re saying the steps are:

  1. Have a data and web container up and running
  2. Bootstrap a second web container with ./launcher bootstrap web_only
  3. Switch web containers with ./launcher restart web_only

That’s really simple. I just assumed bootstrap would screw up the running container.


(Sam Saffron) #4

almost:

  1. Have a data and web container up and running
  2. Bootstrap a second web container with ./launcher bootstrap web_only
  3. ./launcher destroy web_only
  4. ./launcher start web_only

(system) #5

(David Taylor) #6