3 ms·
See also Hotmail when they started migrating it to Microsoft tech. The servers were stable for a day or two, so they cooked up a reaper process that would sequ
by hinkley 7y ago
See also Hotmail when they started migrating it to Microsoft tech.
The servers were stable for a day or two, so they cooked up a reaper process that would sequentially reboot every machine in the cluster, wait for it to start routing traffic, then reboot the next one. Every machine got at least one reboot a day from this.
The moral authority with which I used to share that anecdote has eroded quite a bit in the years of Continuous Deployment. Most of my endpoints reboot at least once a week, except for holidays where we occasionally discover longevity bugs. With autoscaling some instances will be up for hours at a time (and if we are not very careful we'll completely pollute our server statistics).
- JJMcJ 7y agoOne advantage of CGI is that the worker process terminates, and all the resources get freed. Not that I recommend CGI for anything but very low usage sites, typically internal ones with a fixed user base.
- hinkley 7y agoNot to worry. We'll cloud-enable fastcgi and call it Serverless.
- deleted 7y ago[deleted]
- redis_mlc 7y agoeBay did the scheduled reboot thing around 2000, but on a massive scale. Their front-end servers were Windows ISAPI, and leaked memory like a sieve. So there was a documented process for rebooting groups of servers with a diagram dividing the front-end servers into rebootable clusters and the time between reboot intervals. And yes, docker/k8s sure reminds me of those days when reviewing logs today and seeing some pods with unexplained non-zero restart counts. Source: worked there, read the documentation.