Live data from Hacker News

Introducing Preemptible VMs

googlecloudplatform.blogspot.com

1–10 of 98 posts

Re: Introducing Preemptible VMs

#2
I wonder how big the chance is that the machine is turned off in the first hour.

I use Google Compute for some personal project and the typical run time for a VM is about 10 - 20 minutes. If the vm has 90% chance to survive the first hour, it could be worth the trouble to make my process more fault tolerable.

Re: Introducing Preemptible VMs

#3
post #2

I wonder how big the chance is that the machine is turned off in the first hour. I use Google Compute for some personal project and the typical run time for a VM is about 10 - 20 minutes. If the vm has 90% chance to survive the first hour, it could be worth the trouble to make my process more fault tolerable.

We're not ready to put hard numbers on it. As our docs (https://cloud.google.com/compute/docs/instances/preemptible) say:

The probability that Compute Engine will terminate a preemptible instance for a system event is generally low, but may vary from day to day and from zone to zone depending on current conditions.

Give it a shot in us-central1-a and let us know how it goes!

[Edit to undo my quote text (it wrapped poorly)]

Re: Introducing Preemptible VMs

#9
post #5

[deleted]

If you're running on a Preemptible VM and find that preemption events are "like getting ejected from a hotel at 3AM" then you've either selected the wrong VM type or made a poor choice in designing your app.

Re: Introducing Preemptible VMs

#10
post #5

[deleted]

Think about these for things like resumable task queue workers: if you're doing something like processing images, slow text analysis, crawling web pages, etc. this is a great way to save money as long as your overall management system has a way to restart tasks which were in-progress when the VM was shut down.
Post reply on HN