Slashdot Mirror


IIS 7.0 Learns a Few Tricks from Apache

An anonymous reader writes "According to BetaNews, Microsoft is learning a few tricks from Apache for the next release of IIS, version 7.0. Specifically, the IIS feature set has been broken down into modules to reduce overhead. Modules can be changed on the fly, without restarting the Web server. Also, the IIS metabase has been completely dropped in favor of easily editable XML configuration files. Each Web application can have its own config file that overrides the system-wide configuration."

30 of 395 comments (clear)

  1. About time by BWJones · · Score: 5, Insightful

    Specifically, the IIS feature set has been broken down into modules to reduce overhead. Modules can be changed on the fly, without restarting the Web server.

    I am shocked that it has taken this long to implement these features. Come on now. The rest of the industry has known that this increases stability, eases management and reduced computational overhead for years. Why is it do they think that an eight year old Linux box running Apache can serve up such huge volume versus a latest and greatest IIS server? Also, "simple configuration. IIS 7.0 does away with complicated the "Metabase" and replaces it with XML configuration files, Well, yeah! The fact that they are even talking about doing this rather than simply implementing the feature and then talking about it troubles me though. For myself, I am not running anything sophisticated for the sites I manage but I want simplicity of management and therefore went with standard OSX hosting systems. For heavier lifting, an OS X server system for our scientific databases is not quite as fast as Linux based solutions for some data types, but it is certainly easier to manage than Linux or IIS. If Microsoft wants me to switch, they had better come out with something truly special rather than simply aping the rest of the industry.

    --
    Visit Jonesblog and say hello.
    1. Re:About time by P3NIS_CLEAVER · · Score: 1, Insightful

      What is wrong with copying, should they have come up with some new config format so it could be different than everyone else? How much crap can you add to a web server anyway?

      --
      Please sign petition to restore sanity to our banking system!!!

      http://financialpetition.org/
    2. Re:About time by turbotalon · · Score: 2, Insightful

      The important thing to remember is the current install base. They don't need to innovate, only keep the differences in performance/features small enought that the hassles of switching are greater than the benefits. In other words, they need only keep people happy enough to stay. Many places (like where I work, UPS) are MS B****hes and it would take something VERY VERY major to convice them to go elsewhere, even if MS has a vasly inferior product.

      --

      I'd rather have a bottle in front of me than a frontal lobotomy

    3. Re:About time by toddbu · · Score: 2, Insightful
      rather than simply aping the rest of the industry.

      Well, let's hope that they can actually pull it off. Just breaking the system into modules isn't enough. What they're really missing is cool functionality like mod_rewrite.

      --
      If you don't want crime to pay, let the government run it.
    4. Re:About time by kahanamoku · · Score: 3, Insightful

      Funny, until they Patent the Idea of using modules and editable text files for configuration of a web server

      --
      ----- Concentrate on promoting more than demoting.
  2. so... by intmainvoid · · Score: 3, Insightful

    so if IIS is just copying Apache... then remind me why should I choose IIS over Apache?

    1. Re:so... by dioscaido · · Score: 3, Insightful

      asp.net w/ c# would be one reason. it's a fantastic dev platform, hatred for MS aside.

    2. Re:so... by Anonymous Coward · · Score: 1, Insightful

      I don't know... I'd rather stick with a solution like Java (server-side) than that. The reason? It's absolutely possible to take your Java applications and move them away from Apache to a different underlying webserver, but you cannot do the same thing with ASP and so on.

      Once you're stuck with that, you're stuck with it forever - and that (dependency on a single vendor!) is something you should *always* try to avoid, no matter whether the vendor is M$ or IBM or Sun or whoever else.

    3. Re:so... by killjoe · · Score: 1, Insightful

      I find asp.net awkward and kludgy. They tried to make web development like desktop development and in the process made it into an overly complicated, ugly, ungraceful stinking pile of cow feces.

      I much prefer webobjects or even ruby on rails. ASP.NET is a pile.

      --
      evil is as evil does
  3. How about multiple versions? by fuzzy12345 · · Score: 5, Insightful

    Can you install two different versions of IIS and have them run on different ports and/or addresses? Install or uninstall without rebooting? Change or inspect the source code?

    --

    Everybody's a libertarian 'till their neighbour's becomes a crack house.
    1. Re:How about multiple versions? by Atzanteol · · Score: 2, Insightful

      Why would you WANT to run two different versions of Apache?

      I believe the appropriate question is: Why can't you run two different versions of IIS? Maybe one writes a web-portal or some such that will need to be run in different versions of IIS? Who knows?

      It is to the user to decide what they want to do with software, not the developers.

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
  4. Re:XML Config by grub · · Score: 5, Insightful


    I was thinking the exact opposite. I like editting a plain ol' text file by hand. Editting XML is a pain; yeah it's all text but then so is Postscript.

    --
    Trolling is a art,
  5. THIS JUST IN - IIS 6.0 does most of that crap by BattleRat · · Score: 5, Insightful

    wow, I guess that most slashdotters REALLY hate MS enough to not even know the characteristics of their current offerings...

  6. Re:If I remember correctly... by $RANDOMLUSER · · Score: 3, Insightful

    Oh come on. When you install SQL Server, you have to reboot. New installations of infrastructure are a different matter than deploying a new virtual directory.

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  7. Re:XML Config by Nos. · · Score: 5, Insightful

    I tend to agree... sort of. Once your familiar with httpd.conf, editing it tends to be quite simple. However, trying to write an application front end to do that is a pain. This is where XML is nice. Its structured and formatted. The idea behind using XML isn't to make your life easier to edit it by hand... its to make it easier to make automated tools to edit and query the config files.

  8. Re:A wiser man than me once said: by DA-MAN · · Score: 2, Insightful

    Henry Spencer

    "Those who do not understand UNIX are condemned to reinvent it -- badly".


    Repeat after me, Apache is not UNIX. Apache is a web server. It's a web server that's not even exclusive to the UNIX world since it runs on Windows.

    --
    Can I get an eye poke?
    Dog House Forum
  9. Re:Copy Cat by Anonymous Coward · · Score: 1, Insightful

    Are they going out of business of innovation?

    The problem is that they were enough ahead of everyone else they quit innovating. Now they've finally realized that everyone else has surpassed them and it's catchup time.

  10. It's always been a copy cat... by jimmer63 · · Score: 3, Insightful

    This is one of the major ways Microsft has stayed on top. The are great at collecting the best ideas from many sources and implementing them in their own software. Often implementing these ideas better than the orginal. Microsoft isn't stupid. They're always watching the market to learn how to do things better.

  11. Ummm... patents? by Anonymous+Custard · · Score: 2, Insightful

    Did anyone at Apache remember to patent hot-swappable web server modules?

    1. Re:Ummm... patents? by greg_barton · · Score: 4, Insightful

      Did anyone at Apache remember to patent hot-swappable web server modules?

      Why do that? Isn't the point of open source the spread of technology ideas? So what if the evil empire uses Apache's server fu? It's their right, just as it's your right.

  12. Re:Text Conf Files for Windows by vcv · · Score: 2, Insightful

    No they won't. There is still a GUI tool to write the config files for you.

  13. Not new... by Sliptwixt · · Score: 2, Insightful

    " Each Web application can have its own config file that overrides the system-wide configuration." This is not new. web.config (each web app) changes override machine.config (system-wide) already.

  14. IIS 7 by bitserf · · Score: 5, Insightful

    Okay...So I guess the OP fixated on one thing (modular configuration snippets) and wrote off all IIS efforts as copying.

    It is this complacent attitude that will get Apache's ass handed to it.

    When I last checked, Apache has no way (short of parsing the config file with your own crappy scripts using unreliable regexen ) for you to inspect the current configuration. IIS has this, the entire object model of the server configuration is available for inspection from the scripts, guaranteed to be accurate.

    Apache needs to provide (if not a more structured file format), a set of script-callable APIs for configuring and managing the server.

    Grepping the config file and making one or two changes then restarting may be sufficient when you're running 10 or 20 sites in production, but when you're hosting 1000s, you need something better.

    IIS is also completely manageable from scripts, and I cast envious glances at the things our IIS admins are able to do with scripts. Create new vhost: Check. Temporarily disable vhost: Check. Modify vhost properties at runtime without bouncing the entire server: Check.

    Apache doesn't have anything equivalent (unless you count the big-hammer apachectl START/STOP/GRACEFUL) as "management". Or you write your own. (Yeah, we all have time to reinvent that wheel.)

    Apache is playing catch up here in every sense.

    And this comes from someone who runs tonnes of sites under Apache in production.

    Believe me, generating Apache configuration from a canonical source (i.e. a database) is a royal pain in the ass, but currently the only way you're really going to manage 1000s of sites with Apache if you're offering hosting services.

    This management is the single biggest thing missing in Apache today.

  15. They didn't ape apache by Anonymous Coward · · Score: 1, Insightful

    Specifically, the IIS feature set has been broken down into modules to reduce overhead. Modules can be changed on the fly, without restarting the Web server

    Oh come on, M$ isn't apeing Apache, they are simply finally getting around to doing what software folks have been doing almost since the begining of time (for computers anyway). It's not like Apache created the idea of having loadable modules that can be specified in a config file.

    Flick M$ crap for taking so long to do it, fine, they deserve it. But acting like Apache created this style of architecture is just flat wrong.

    Oh, and as to your question of why it taken so long, the answer is more than likely that they are just know feeling that it's important enough to do. The advantage of being in the position they are.

  16. Backward by Anonymous Coward · · Score: 3, Insightful

    You've got this backward. Apache doesn't have an XML configuration file. It also doesn't have hot-swappable modules. If IIS now has these features, then it will be Apache that needs to catch up.

    Apache has plenty of good features. I don't honestly know how it compares to IIS and I don't much care because I want to run on unix. But it is not perfect. These are two areas where it could improve.

    (Why do so many people here think that Apache does have these features?)

  17. better security? by diegocgteleline.es · · Score: 2, Insightful

    Statistics say that IIS6 has been doing MUCH better than apache 2

    1. Re:better security? by Daengbo · · Score: 2, Insightful

      You just can't count security advisories when the method of reporting them is not consistent across different products. It's like doing an experiment where you don't calibrate your instruments before different measurements on different days. The results say nothing.

      MS is strongly in the camp where vulnerabilities are not reported publicly until a patch (or at least an exploit) is already available, while Apache publicizes vuln's without either, hoping that the community will pony up with a patch.

      How in the world could you ever compare either of these products with numbers that come from such widly different sources? It's like saying that I run faster than you when I measure my speed in km/h and you use miles...

  18. Re:XML Config by DavidTC · · Score: 2, Insightful
    It isn't psuedo XML at all. That would be a neat trick, considering how far it predates XML.

    It's merely a nested config file. Each option is set with a single line that has the option name and then the setting(s) to give that.

    Many of these options can be put inside a 'restrictor'. You can restrict options to files, directories, URL paths (Locations), and virtual hosts. These restrictors look vaguely like XML, but lots of things look vaguely like XML.

    --
    If corporations are people, aren't stockholders guilty of slavery?
  19. Re:My two cents... by Dom2 · · Score: 3, Insightful
    The point about the metabase being xml is very, very important. How many people keep their apache config files in version control? Lots (the sensible people). How many people keep their IIS configs in version control? I don't know, but I'm betting it's a tiny, tiny percentage of the user population.

    Version control is essential for systems administration. You need a good, working "undo" button. That's what version control gives you. But VC works best with text files, not the registry. So switching to XML config files will give IIS admins a chance to bring their practises closer to those used by Apache admins (and the rest of the Unix sysadmin world).

    -Dom

  20. Re:My two cents... by Savage-Rabbit · · Score: 2, Insightful

    I a word? The PHB crowd demands it. Besides, even though I prefer Unix in its various flavors and use it exclusively on my desktop machine and my own servers I don't mind working with Windows. There is a number of solutions where it's use is mandatory either because there is a demand for Windows specific solutions like Frontpage or because a bigass customer demands Windows being used. Money talks bullshit walks and if the money says Windows I use Windows, I push Unix/Linux as far as I can but if the are dead set on Windows then so be it. I just think that if Microsoft wants to be taken seriously as a server OS vendor they have to include a much much bigger kit of commandline tools. Yes, I know Linux exists, and yes, I know that even on Windows I can painstakingly build my own toolkit with Perl/VB/C# etc... But I don't see why I should have to do that if every other Server OS vendor on the market provides these tools as standard? For all I care they can choose not install these tools by default to avoid confusing they "part-time-admins", just so long as they power tools are there on the Install disk for advanced users to select when we install a Windows Server OS.

    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow