3 ms·
I run multiple physical data centers with thousands of individual machines that operate autonomously. I proxy/cache API hits to the Github API so that each mach
by latchkey 5y ago
I run multiple physical data centers with thousands of individual machines that operate autonomously. I proxy/cache API hits to the Github API so that each machine can download a small binary app that runs on each of them that works to ensure each machine is operating as it should.
It is a whole self-upgrade process that involves using Github CI to do the binary build on commit (and run the unit tests, of course) to produce a new version.
The app (running on each box) periodically queries a versions file stored in git (also proxied through a worker) so they know which build to download. I can segment versions of the app across CIDR so that I can do channel (alpha/beta/stable) based releases for testing.
It is a pretty epic solution since the workers only cost $5/month and totally saves my bacon with just a small bit of simple code.
- dexwiz 5y agoThe $5/month makes me suspicious. Is it really that cheap forever, or just until they capture enough of the market they can up that cost without people jumping ship.
- kjksf 5y agoThe pricing is actually $0.15/million requests per month. $5 is minimum monthly payment. They also have a free plan with 100,000 requests per day.