News for hackers. Stuff that matters.
Re:A persistent key-value server in 40 lines and a sad fact ... by thescrewdriver on Monday June 22, 2015 @10:17AM (#9758451)
If the time to restart your process or host affects the overall operation and performance of your service you're doing it wrong.
Re:A persistent key-value server in 40 lines and a sad fact ... by vidarh on Tuesday June 23, 2015 @07:02AM (#9763821)
If your services consistently restart quickly, it gives you the freedom to design things differently.

E.g. doing a rolling update across a large number of instances by restarting a service at a time can become a quick enough process to be viable in instances where you'd otherwise need lots of excess capacity to be able to cycle larger proportions of instances at the same time. Making full rolling updates "cheaper" both in time and resources also translates to making rapid updates a safer choice (e.g. if I can roll back a broken release in 5 minutes, it's far safer to push out a new release than if a rollback takes hours).

Re:A persistent key-value server in 40 lines and a sad fact ... by astrange on Monday June 22, 2015 @07:50PM (#9761884)
That just means you expect restarting to be slow and have excluded it from your system design.

There is no problem with restarting nginx to update its config once a second, and it's even encouraged that you do so. Besides, crash-only software recovery is really the only morally sound development technique.