30 points · by aoos · 16y ago · 42 comments
The last time I used a MS web-server was ~10 years ago. I have almost exclusively used debian/ubuntu servers most of the time. Apart from the Linux fanboyism, what advantages does MSFT have as a server OS?
I would say support for enterprise apps. A lot of enterprise software vendors still target their development for Windows, and don't support Linux well or fail to test with Linux.
And that's even before worrying about interoperability with database servers (i.e. testing on outdated *nix ODBC drivers, etc.)
I still pipe logs to a separate process that checks if the logfile is deleted and reopens/creates the logfile, its just easier.
This is actually a feature, because it makes secure temp files possible.
> I still pipe logs to a separate process that ...
Note that logging is usually done in a separate process anyway, using the Syslog facility.
cat /dev/null > /path/to/logfile
It's insane.
They cost a lot, but they deliver a lot of confidence too.
Rebooting makes sure the filesystem is properly scrubbed, temporary files are removed and any stale data in memory gets removed.
Uptime competitions are pointless.
But forced downtime (Windows Update-style) is unacceptable.
While uptime competitions don't indicate availability very well, they do show how much time happened since the last kernel crash or the last kernel security hole that required a kernel upgrade and thus a reboot.
(Unless, of course, someone is trading security for uptime, which is luckily the exception rather the norm, at least among responsible admins.)
It appears that neither Windows nor Linux work particularly well here, but the BSD systems are quite impressive in that regard, especially OpenBSD.
The various Unix-likes have a variety of filesystems with a lot of innovation going on. Windows basically just has NTFS, which while ok for the desktop is only going to serve well for some types of servers.
http://www.microsoft.com/whdc/devtools/ifskit/default.mspx http://www.microsoft.com/whdc/devtools/IFSKit/ifskit_about.m... http://www.fs-driver.org/ http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx http://www.acc.umu.se/~bosse/ http://www.osr.com/seminars.html
Linux, by contrast, has a variety of filesystems that are as stable if not more so than NTFS, and ready for production use on your root partition.
Linux probably has some catching up to do with respect to Solaris and the BSDs, but it has a good cut above desktop class filesystem support.
Ultimately it comes down to lack of having "no reboots" as a clear goal. SQL Server has a pretty strong goal of being able to patch a running server without rebooting and they do a good job meeting that goal. For Windows OS it comes down to programmer laziness winning over in the absence of a directive to avoid reboots.