Collarspace Discussion Forums


Home  Login  Search 

RE: WebServer: Linux or Windows 2003?


View related threads: (in this forum | in all forums)

Logged in as: Guest
 
All Forums >> [Casual Banter] >> Off the Grid >> RE: WebServer: Linux or Windows 2003? Page: <<   < prev  1 [2]
Login
Message << Older Topic   Newer Topic >>
RE: WebServer: Linux or Windows 2003? - 2/21/2008 10:58:57 PM   
brainiacsub


Posts: 1209
Joined: 11/11/2007
From: San Antonio, TX
Status: offline
DomKen, will you marry me? You can serenade me with that song Kip sang to LaFawndah at the end of  Napoleon Dynamite. I think this is a match made in technology heaven...

(in reply to DomKen)
Profile   Post #: 21
RE: WebServer: Linux or Windows 2003? - 2/21/2008 11:13:38 PM   
DomKen


Posts: 19457
Joined: 7/4/2004
From: Chicago, IL
Status: offline
If you can call for takeout and aren't actually Domiguy I'm in. Do you like big lazy cats?

< Message edited by DomKen -- 2/21/2008 11:14:16 PM >

(in reply to brainiacsub)
Profile   Post #: 22
RE: WebServer: Linux or Windows 2003? - 2/21/2008 11:44:19 PM   
brainiacsub


Posts: 1209
Joined: 11/11/2007
From: San Antonio, TX
Status: offline
Damn, but I am the real Domiguy. We are so your type, too. Just ask us.

(in reply to DomKen)
Profile   Post #: 23
RE: WebServer: Linux or Windows 2003? - 2/21/2008 11:59:15 PM   
MusicalBoredom


Posts: 620
Joined: 5/8/2007
From: Louisiana/New York
Status: offline
Might want to look at mysql again.  Virgin Mobile is using it to handle it's SMS messaging service (http://www.mysql.com/news-and-events/press-release/release_2008_02.html) .  Also, there are currently over 10 million mysql users including high volume sites such as CriagsList and the Friend Finder network.  Open source doesn't mean "I won't buy any actual software for my webhost machine", it means the source is available.  The solution comes in the "roll-your-own" type as well as the purchased (with support) option.  It also supports descent transaction processing, replication and hot fail over support as do most database managers.  Note I also use Oracle, SQLServer and on occasion the former berkleydb when a server isn't the right tool for the job.  (And for the record I'm not one that thinks Linux or Windows is more secure or reliable -- a well maintained system is a well maintained system.)

All of that aside, the question was what to put on a Pentium III box for a relatively low load site. I wouldn't put 2008  or 2003 Server on it, I would likely use any of the poplar Linux (LAMP) distros.

(in reply to DomKen)
Profile   Post #: 24
RE: WebServer: Linux or Windows 2003? - 2/22/2008 5:44:42 AM   
Aubre


Posts: 478
Joined: 12/9/2004
Status: offline
I host over 500 mysql databases on one Solaris machine.

If someone uses phpbb and they maintain it, they can be ok. My attitude is if my folks don't maintain their phpbb installations I shut them down.

(in reply to MusicalBoredom)
Profile   Post #: 25
RE: WebServer: Linux or Windows 2003? - 2/22/2008 5:46:45 AM   
Aubre


Posts: 478
Joined: 12/9/2004
Status: offline
Oh and if you think Linux is hard to learn, try learning Oracle. Oracle is overkill for 95% of non-commercial end user people, MySQL is sufficient for most people's personal needs and a lot of people's business needs.

(in reply to Aubre)
Profile   Post #: 26
RE: WebServer: Linux or Windows 2003? - 2/22/2008 7:34:29 AM   
DomKen


Posts: 19457
Joined: 7/4/2004
From: Chicago, IL
Status: offline
mySQL is sufficient for a lot of business needs. Just like my post said. However it isn't sufficient for for a lot of other business needs. Which tend to be bigger businesses with more complicated data management needs. Which makes for bigger projects which makes for more money for custom software developers which makes them a much more attractive customer for my company.

(in reply to Aubre)
Profile   Post #: 27
RE: WebServer: Linux or Windows 2003? - 2/22/2008 7:58:43 AM   
celticlord2112


Posts: 5732
Status: offline
quote:

ORIGINAL: DomKen

quote:

ORIGINAL: celticlord2112

quote:

ORIGINAL: brainiacsub

Stephan, don't listen to all the Windows naysayers. I am technology agnostic, and for what you are trying to do, it will be fine. You could use Windows successfully for 10x the site you are trying to build. If you like Linux, know it, and can support it, then knock youself out. Let that be the criteria you choose to decide. Performance and security only become an issue when you are talking about maybe the top 1% of all hosted sites. I doubt yours qualifies.


Stephann, do listen to the Windows naysayers.  I've deployed hundreds of webservers on both Linux/Unix and Windows platforms.  The comparisons aren't even close.  Linux is more stable, will require less maintenance day-to-day, is intrinsically more secure, and is overall vastly superior to anything Microsoft puts out.

I deploy dozens of web apps a year with most being on Windows since that is where our company's expertise lies. A good competent hosting service will give you virtually identical up times and security. I've never had a security breach of a windows app website. Early last year we had to stop supporting Linux based sites using phpBB which was the source of seemingly continuous script kiddie attacks.

Then there is the database issue. mySQL is a nice database for personal use and has made great strides in filling in the "I won't buy any actual software for my webhost machine" database niche but it still doesn't compare in quality to SQL Server and every time we go looking for a webhost with shared Oracle DB servers they always comes in at a higher price point than Windows based hosting with shared SQL Server boxes.

When a company comes to us and wants a commercial web app we virtually always find ourselves going in a kind of odd pattern. If its a simple project that can be done in php and requires minimal database support we pitch it for Linux. If the customer wants a larger more complex site and collects sensitive data we almost always go with a Win host with ASPX or an .exe with a seperate SQL server box. For the rare project involving serious load issues and high end data management issues we wind up going to high end hosting with *nix server farms, we actually prefer Solaris, with seperate dedicated Oracle DB boxes.


Quite comical.  I make a fair bit of coin taking those same complex applications and stabilizing them by moving them away from Windows and ASPx.  Usually when the customer is fed up with their Windows web server crashing AGAIN.

My recommendation to customers is to use what works.  99.999999999% of the time, that means Windows is sucking hind tit.  (But seriously, what else would you expect of a technology set that is bloated and buggy, and with more effort made on marketing the schlock than on serious code development?)


_____________________________



(in reply to DomKen)
Profile   Post #: 28
RE: WebServer: Linux or Windows 2003? - 2/22/2008 8:52:44 AM   
brainiacsub


Posts: 1209
Joined: 11/11/2007
From: San Antonio, TX
Status: offline
quote:

ORIGINAL: celticlord2112

Quite comical.  I make a fair bit of coin taking those same complex applications and stabilizing them by moving them away from Windows and ASPx.  Usually when the customer is fed up with their Windows web server crashing AGAIN.

My recommendation to customers is to use what works.  99.999999999% of the time, that means Windows is sucking hind tit.  (But seriously, what else would you expect of a technology set that is bloated and buggy, and with more effort made on marketing the schlock than on serious code development?)


CL, pardon me if I sound rude, but you sound like a religious nut. For fucks sake, man...is this going to be a 'my god is better than your god' type of argument? When it comes to technology, the good thing is that there are so many smart people out there coming up with this shit that we as consumers have a choice. You pick the best technology based on a host of selection criteria, including cost, ease of use, supportability, availability, etc. Windows is a viable choice for many people. It's not any less stable than Linux solutions for 99% or better of all hosted apps. It's not always the right choice, but stability is not a factor for those 99%.

(in reply to celticlord2112)
Profile   Post #: 29
RE: WebServer: Linux or Windows 2003? - 2/22/2008 9:03:40 AM   
Stephann


Posts: 4214
Joined: 12/27/2006
From: Portland, OR
Status: offline
quote:

ORIGINAL: brainiacsub

quote:

ORIGINAL: celticlord2112

Quite comical.  I make a fair bit of coin taking those same complex applications and stabilizing them by moving them away from Windows and ASPx.  Usually when the customer is fed up with their Windows web server crashing AGAIN.

My recommendation to customers is to use what works.  99.999999999% of the time, that means Windows is sucking hind tit.  (But seriously, what else would you expect of a technology set that is bloated and buggy, and with more effort made on marketing the schlock than on serious code development?)


CL, pardon me if I sound rude, but you sound like a religious nut. For fucks sake, man...is this going to be a 'my god is better than your god' type of argument? When it comes to technology, the good thing is that there are so many smart people out there coming up with this shit that we as consumers have a choice. You pick the best technology based on a host of selection criteria, including cost, ease of use, supportability, availability, etc. Windows is a viable choice for many people. It's not any less stable than Linux solutions for 99% or better of all hosted apps. It's not always the right choice, but stability is not a factor for those 99%.


I admit it, I'm responsible for this religious fervor.

Briefly, my recent experience with Windows Server wasn't that uptime or downtime was operating system specific, but rather hardware specific.  My boss had nearly seventy machines running Server 2000 and Server 2003.  Yet the machines running them had 20, 30, 40 GB hard drives, Pentium IIs were your average processors, and RAM hovered around 256 megs.  The building they were housed in was ancient, and didn't even have three prong outlets, only 2 prongers.  The joke in the office was kicking power cables was the biggest reasons servers were reset.

My experience has been people who take the time and effort to learn Linux also take the time and effort to ensure that their equipment is properly maintained.  People who want turnkey solutions seem less likely to invest resources to keep the system running smoothly.

Thanks everyone for their input though!

Stephan


_____________________________

Nosce Te Ipsum

"The blade itself incites to violence" - Homer

Men: Find a Woman here

(in reply to brainiacsub)
Profile   Post #: 30
RE: WebServer: Linux or Windows 2003? - 2/22/2008 10:53:40 AM   
Aubre


Posts: 478
Joined: 12/9/2004
Status: offline
So what did you choose?

(in reply to Stephann)
Profile   Post #: 31
RE: WebServer: Linux or Windows 2003? - 2/22/2008 10:53:48 AM   
carlie310


Posts: 256
Joined: 9/23/2007
Status: offline
Stephann, you surely know how to chum the water.  I'm partial to Unix systems myself, but that's mostly where my knowledge is.

(in reply to Stephann)
Profile   Post #: 32
RE: WebServer: Linux or Windows 2003? - 2/22/2008 11:29:30 AM   
Stephann


Posts: 4214
Joined: 12/27/2006
From: Portland, OR
Status: offline
quote:

ORIGINAL: Aubre

So what did you choose?


Oh!  Well, in the short term I'll use Server2003 because I'm working on my MCSA.  Longer term, as I become more comfortable and have more cash to drop into it, I'll install a Linux box next to it, so I can learn how to better administer it.  I'd like the site to be PHP based, which is a pain on Windows (as mentioned) but I want something up and running within a week, and I just don't have the time to learn Fedora (the distro I'm planning to go with) well enough.  I may not care for Windows, but it's an evil I know vice an evil I don't.

Regards,

Stephan



_____________________________

Nosce Te Ipsum

"The blade itself incites to violence" - Homer

Men: Find a Woman here

(in reply to Aubre)
Profile   Post #: 33
RE: WebServer: Linux or Windows 2003? - 2/22/2008 1:07:23 PM   
Aubre


Posts: 478
Joined: 12/9/2004
Status: offline
Well if you are working on your MCSA that changes things. You know, Apache/PHP on Windows isn't as hard as you might think. PHP on IIS I have no clue about.

(in reply to Stephann)
Profile   Post #: 34
RE: WebServer: Linux or Windows 2003? - 2/22/2008 3:36:08 PM   
farglebargle


Posts: 10715
Joined: 6/15/2005
From: Albany, NY
Status: offline
quote:

ORIGINAL: Stephann

quote:

ORIGINAL: Aubre

So what did you choose?


Oh!  Well, in the short term I'll use Server2003 because I'm working on my MCSA.  Longer term, as I become more comfortable and have more cash to drop into it, I'll install a Linux box next to it, so I can learn how to better administer it.  I'd like the site to be PHP based, which is a pain on Windows (as mentioned) but I want something up and running within a week, and I just don't have the time to learn Fedora (the distro I'm planning to go with) well enough.  I may not care for Windows, but it's an evil I know vice an evil I don't.

Regards,

Stephan




The only way to learn is to do. All the current distros have simple enough desktops to find 'install software' and 'terminal' from.

I look at Linux this way: People who used to tune up their own cars now run Linux. It's the O/S which *rewards* the "Shade-Tree Mechanic" who has this little *need* to know *just a little bit more* about whatever their using.

The "challenge" *is* the reward. Don't mind the grease, and y'all can get yourself a beer out of the fridge in the garage while we svn update && ./configure && make mplayer...

And *then* you can learn G-d's Programming Language, like all literate and showered people, Perl.



_____________________________

It's not every generation that gets to watch a civilization fall. Looks like we're in for a hell of a show.

ברוך אתה, אדוני אלוקינו, ריבון העולמים, מי יוצר צמחים ריחניים

(in reply to Stephann)
Profile   Post #: 35
RE: WebServer: Linux or Windows 2003? - 2/22/2008 3:51:19 PM   
wkdshadow


Posts: 129
Joined: 2/6/2008
Status: offline
Disclamer: I do HPCC for an alexa top 200 site. I can verify that for those that call BS, just send me a message. I'm going to go in detail, most of you will get lost. Don't feel bad.

That said, the answer is unequivocally Linux, or FreeBSD. In both systems, the kernel can be cut down to the bare essentials required for your implimentation, resulting in less clocks to spawn a new thread, and less idle kernel I/O handling other functions of the OS. Both linux and bsd can be made "tickless", further reducing wasted CPU time. SMP and PREEMPT support is better in Linux than in windows, with a much more efficient threading library. conntrack can easily be turned off if you've got enough connections hitting your webserver, making it "stateless", overall reducing stack overhead when you get to that point.

The linux kernel has various options when it comes to cluster computing. Most options don't run in userland. You can do IPVS for IP loadbalancing between machines. You can do OpenMOSIX for application level load balanced, or KTCPVS. It gos without saying, these solutions are free, and you don't have to pay to add another node to the cluster.

Back to the kernel. Anyone here with an opinion actually know the difference inbetween 32 and 64 bit CPUs? It's a rather recent development (last few years) that windows added x86_64 support. Even with it's x86_64 support, memory allocation sucks. The windows kernel isn't compiled for the CPU it's on. Does your CPU support SSE3? Kickass, your kernel doesn't, it's still issuing legacy 386 instructions, and there's nothing you can do to trim that fat. There's nothing you can do to add support for new instruction sets, you're at the mercy of microsoft. In linux, when you compile from source, GCC -O2 optimizes the code to run as fast as possible on the system.

What about mass storage options? Windows has no mount command, and no software raid. You cannot readily create a ramdisk in windows without third party utilities, and then you're hitting userland to do it. While windows has [non standard compliant] SMB(samba) support, it does it's transferers over TCP. TCP has more overhead than UDP, using more of your network resources to do the same task. NFS [which gos over UDP] client support can be installed by installing the Unix Services For Windows, but performance is abysmal. As far as I know, there is no microsoft NFS server. For even more high performance throughput, microsoft leaves you out to dry. There is no SCSI/SATA/ATA over ethernet solution by microsoft. Every solution I've seen is third party, and not operating in the kernel, it's again userland. You're also limited to NTFS or FAT32, of which both filing systems suck in comparison to open source alternatives. There is no support for XFS, AFS, or the sexy sexy SEXY ZFS, let alone any FS.





Security. Heh. Difficult topic here. I've been in Information Security for 12 years(yes, that makes me 8 when I got into it "professionally"), and it's an arguement that I still haven't figured out how to win with my peers. "Linux" is not the software bundled with it. Linux is not apache. Linux is not KDE, or Gnome. Linux is not konquerer, or lynx for that matter. Different distributions of linux ship different packages, compiled with different flags. Just because Ubuntu can get nailed by an exploit, doesn't mean slackware can. Windows on the other hand *is* explorer, is IE. Every copy of windows comes with the same software. There are no differences. In Windows there is very little privledge seperation inbetween applications, and whereever possible everything is mashed together without privledge seperation. It was not designed with security in mind. ACLs are addon. Users by default run as admin. As I said, everything microsoft ties into itself.

If one element of the MS system is exploited, the whole OS is compromised. An example of this is the recent WMF and ANI exploits, which are responsible for the drive-by banner ad attacks that are oh so popular now-a-days. Can you think of a similiar attack vector for linux? Me neither.

Now, that's not to say linux(as in the kernel) hasn't had it's problems. It has. There's been some nasty exploits, but most of them require LOCAL ACCESS. Think of the latest vmsplice exploits, the x86_64 ia32 troubles, or the various 2.6/2.4 exploits like sys_prctl(), uselib(), mremap(), shit like that. But for every linux kernel exploit, how many ones are there for windows?

Another issue is updates. Microsoft will consider it's phone home technology a serious update, but didn't issue ANI/WMF exploit patches for how many weeks? Linux is fixed in hours, and you can grab the code from CVS to fix your shit. With microsoft, you're stuck in the foxhole with no ammo.

What about severity? Most exploits for windows will have you executing code as administrator/owner/system. Not so with linux. With linux, if code is executed and it's not a kernel level exploit(that is, the base operating system), it runs as the user running the application. So if your web browser gets exploited in linux, the whole system isn't owned(unless you're a dumbass running as root). There are far fewer code execution exploits for linux than windows. A majority of them are denial of service exploits. That's the difference inbetween an attacker running a program of their choosing, vs a program crashing annoyingly.


windows firewall vs iptables? HAH! iptables is much more efficient than the routing options built into the kernel of windows(which is a butchered BSD stack from how many years ago?). You can't patch the windows firewall to do what you want, like iptables TARPIT rules(really nifty! If you're still reading, google. No need for labrea tarpit!)

Enough about security, it's getting boring. Back to performance.





While MySQL is bane of my existance, it's still better than MSSQL. It's faster, it's more secure, and it scales better. MSSQL can only support 4gb of memory per server, even on an x86_64 system. MySQL doesn't, it'll take what you give it. And, MSSQL is your only MS branded option for a database... well, other than excel, BAHAHAHA. It's just a great (free!) alternative to MSSQL. You could go with OracleDB if you want, or any other system. There's no lockin.

IIS? Again, IIS has had more holes in it than a white man during the fall of apartheid. It's slow. PHP support was slow to be adopted, and FastCGI support still sucks. IMO, Apache sucks too. IMO, the only real choice is lighttpd. Again, it's fucking free. It's faster than Apache, it'll do the same shit, and it supports memcached.

Oh yeah. memcached. memcached is a nifty cluster-caching system. It'll let you load a whole database, no matter the size, into the ram of your cluster nodes. You can load exabytes of data into memcached, and it doesn't care, so long as you've got the RAM and node count to support it. It doesn't matter what you put into memcached, you can cache anything. The reason this is signifigant is it allows whatever you put into memcached to be read off of solid state, with no seek times. Reading from RAM is much faster than reading from your harddrive, even if you've got an enterprise level solid state drive. microsoft has no such solution.


Plus, linux is free, and you've gotta pay for windows...

In short, Windows < Linux

In long, lighttpd + mysql + memcached > all.

< Message edited by wkdshadow -- 2/22/2008 3:58:10 PM >

(in reply to DomKen)
Profile   Post #: 36
RE: WebServer: Linux or Windows 2003? - 2/22/2008 3:53:25 PM   
wkdshadow


Posts: 129
Joined: 2/6/2008
Status: offline
PS: Go to http://milw0rm.com/search.php and type in "windows", "internet explorer" and "microsoft"

Now type in linux. What you're looking at is public code that can be compiled to compromise insecure machines. After you look at the results.... 'Nuff said.

(in reply to wkdshadow)
Profile   Post #: 37
RE: WebServer: Linux or Windows 2003? - 2/22/2008 4:56:25 PM   
wkdshadow


Posts: 129
Joined: 2/6/2008
Status: offline
Oh, and if you're going for a server, go with gentoo. Stable code base, minimalistic load, and the extra compilation does pay off in a server enviornment. Once you get used to portage you'll love it, but you'll get really comfortable with "screen". For a desktop enviornment, while Ubuntu was nice, it's getting more and more unstable with each release. Go for debian. I like slackware too, but jesus christ it's time for some decent package management. swaret breaks dependancies and slapt-get is blah.

No matter your distribution, RTFM! man pages are your friend, and while there are IRC channels on freenode to help lead you to water, we aren't going to make you drink too. Documentation is meant to be read.

(in reply to DomKen)
Profile   Post #: 38
RE: WebServer: Linux or Windows 2003? - 2/22/2008 5:10:24 PM   
celticlord2112


Posts: 5732
Status: offline
quote:

ORIGINAL: brainiacsub

quote:

ORIGINAL: celticlord2112

Quite comical.  I make a fair bit of coin taking those same complex applications and stabilizing them by moving them away from Windows and ASPx.  Usually when the customer is fed up with their Windows web server crashing AGAIN.

My recommendation to customers is to use what works.  99.999999999% of the time, that means Windows is sucking hind tit.  (But seriously, what else would you expect of a technology set that is bloated and buggy, and with more effort made on marketing the schlock than on serious code development?)


CL, pardon me if I sound rude, but you sound like a religious nut. For fucks sake, man...is this going to be a 'my god is better than your god' type of argument? When it comes to technology, the good thing is that there are so many smart people out there coming up with this shit that we as consumers have a choice. You pick the best technology based on a host of selection criteria, including cost, ease of use, supportability, availability, etc. Windows is a viable choice for many people. It's not any less stable than Linux solutions for 99% or better of all hosted apps. It's not always the right choice, but stability is not a factor for those 99%.


Religion has nothing to do with it.  I simply have heard enough Microsoft bullshit to last several lifetimes.  I've built a very successful consulting practice on the strength of my opinion, and my opinion is that Microsoft technologies suck.

You are, of course, entitled to a different opinion--no matter how wrong it is.


_____________________________



(in reply to brainiacsub)
Profile   Post #: 39
RE: WebServer: Linux or Windows 2003? - 2/22/2008 5:16:15 PM   
celticlord2112


Posts: 5732
Status: offline
quote:

Oh! Well, in the short term I'll use Server2003 because I'm working on my MCSA. Longer term, as I become more comfortable and have more cash to drop into it, I'll install a Linux box next to it, so I can learn how to better administer it. I'd like the site to be PHP based, which is a pain on Windows (as mentioned) but I want something up and running within a week, and I just don't have the time to learn Fedora (the distro I'm planning to go with) well enough. I may not care for Windows, but it's an evil I know vice an evil I don't.


PHP installs fairly easily under IIS 5 and 6.  If you start with a clean install of Server 2003, get current on patches, then install the latest PHP binary, it should install without any hiccups. 


_____________________________



(in reply to Stephann)
Profile   Post #: 40
Page:   <<   < prev  1 [2]
All Forums >> [Casual Banter] >> Off the Grid >> RE: WebServer: Linux or Windows 2003? Page: <<   < prev  1 [2]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts




Collarchat.com © 2025
Terms of Service Privacy Policy Spam Policy

0.111