3 ms·
Is it normal to update server software like PostgreSQL or Redis on Linux without stopping the running process during the update? Maybe Linux doesn't need to re
by WorldWideWayne 11y ago
Is it normal to update server software like PostgreSQL or Redis on Linux without stopping the running process during the update?
Maybe Linux doesn't need to restart the OS as often, but you're still going to have down time, right?
- mreiland 11y agoYou can update the software without pulling it down. In order to use the update you need to restart, but there's a large difference between restarting a service and restarting an OS. It isn't really analogous.
- WorldWideWayne 11y agoIt takes 10 seconds to restart Windows these days, so it's almost analagous.
- acdha 11y agoDo you have any benchmarks to support that claim? I have Windows 8 and 10 systems which take minutes to reboot on an SSD which beg to differ.
- WorldWideWayne 11y agoYou can see it when you do a video search for: Windows fast boot. Here are a couple: https://www.youtube.com/watch?v=p_vUZR2RtRs https://www.youtube.com/watch?v=p_vUZR2RtRs https://www.youtube.com/watch?v=xkKoggifsE4 https://www.youtube.com/watch?v=xkKoggifsE4 (And you don't need to log in for your background services to start.)
- acdha 11y agoNeither of those support your original claim. The author is focused on one specific feature, which is nice but excludes the entire shutdown process and booting up until the Windows logo appears. Anyone who's run a server knows that just the BIOS initialization is often much longer than 10 seconds. And, of course, many services take a noticeable amount of time to startup so time-to-available is longer than time-to-login-screen. Worse, the conversation was actually about the time needed to install updates. Now that Windows logs out before installing updates, you have a fairly sizable time delay – tens of minutes after a large update even on an SSD – while the service is unavailable but before the system starts rebooting. How does Fast Boot work? Well, it's actually not booting at all – it's logging out all active users and hibernating: http://blogs.msdn.com/b/b8/archive/2011/09/08/delivering-fast-boot-times-in-windows-8.aspx http://blogs.msdn.com/b/b8/archive/2011/09/08/delivering-fas... That's a really nice bit of work in normal usage but it means that you have to do the standard cold boot process when you're getting a system update. That means that a sysadmin would need to review each update to know whether it would trigger a fast or slow boot, assuming that a patch for e.g. SQL Server wouldn't always trigger a cold boot to be conservative. The alternative is what everyone's been saying, namely that you have to assume that a reboot is slow and have n > 1 servers if uptime matters.
- WorldWideWayne 11y agoI understand all of that and I agree with you. However, if people are going to make irrelevant points about "not having downtime with Linux" then I am going to fuck with them.
- e40 11y agoThat is BS. When you install updates it restarts to install them. The time is proportional to the number of updates.