JonasProgrammer / JonasProgrammer/docker-machine-driver-hetzner

Improve robustness during outages

Open
#127 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
438
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Yesterday, the Hetzner Cloud API had an outage, and it appears that the docker machine driver did not handle it well.

docker-machine-during-outage

You can see that from 2024-11-13 17:00:00 to 2024-11-14 08:00:00, the amount of requests to /server_types, /images and /locations is unexpectedly high. Also, the amount of requests for single action was also really high.

This leads into rate limits, while waiting for servers to be created.

I see a few possible improvements:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the driver polls related actions and requests /server_types, /images, and /locations during server creation. Compare the current polling with the linked hcloud-go WaitFor and exponential-backoff options; done means outage waits spread requests over time without triggering rate limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.