Apache 2.0 Web server puts on new threads

January 12, 2001, 09:30 AM —  ITworld.com — 

The upcoming version of the popular Apache Web server is being scrutinized by interested Web developers; it incorporates important new features to meet the intense processing requirements of today's busy Websites.

One particularly welcome addition to Apache 2.0, now in alpha release but expected to 'go beta' soon, is support for threaded multiprocess modes for basic request handling and dispatching on the Unix platform. (Windows-ready versions of Apache already supported such threading.)

Open source Apache software is very popular among Web, or HTTP, servers. According to Internet consultancy Netcraft, Apache currently holds about 60 percent of the Web server market, followed by Microsoft's IIS with about 20 percent and Sun/Netscape/AOL's iPlanet with 6.75 percent. Created by many volunteers, Apache continues to support extended and basic modules that enhance Websites' support of complex software interactions.

The new Apache features -- besides Unix multiprocess/multithreading, the list includes support for platform-specific multiprocessing modules for Windows, support for native APIs for some non-Unix platforms, and multiprotocol support -- were added for scalability and maintainability, said Ryan Bloom, senior software engineer at Covalent Technologies and member of the Apache Software Foundation.

Multiprocessing modules will provide clean tuning, Bloom said. The new version also has a Portable Runtime, which allows native functions to be used on all supported platforms. (Besides Posix-compliant Unix systems and Windows, Apache runs on BeOS and OS/2.) Added filters permit modules to modify data from other modules, he said.

Multiprotocol support means administrators can, for example, configure the HTTP server to handle FTP, according to Bloom.

New additions reduce the strain of managing multiple servers and trying to manage the content between multiple servers," Bloom said.

Better management may mean more complexity, but this is not an overriding issue, said Bloom. "The idea [with protocol modules] is that Apache is a bit more than just a Web server now. While this does make managing Apache slightly more complex, the hope is that having one slightly more complex configuration is still easier than having multiple complex configurations," Bloom said.

Apache's new request-handling methods should mean better performance on Linux and a number of other systems, said Mark Cook, director of engineering at Red Hat and founding member of the Apache Software Foundation. He added that the new version's "out-of-the-box" ability to add SSL support will make security easier to support.

"Setting up a secure Web server will no longer mean applying patches to Apache," Cook said.

While the new release will likely be welcomed by Website developers and administrators who are mounting sophisticated offerings, the fact that the Web server is on the front line means few sites will move quickly to deploy alpha, or even beta, software. "There are parts of Apache 2.0 that are very new and have not had significant testing, so it will be some time before we see sites [that] want to switch," said Cook.

The new version seems to promise improvements to Apache security, but much more is left to be done.

"In the future you will be able to download Apache 2.0 and have SSL built right in -- but just because your server has security doesn't mean it's secure. We need to make sure the users understand what they are doing and the implications of their actions," Cook said.

Cook and Bloom agree that the real source of new complexity in Website deployment is at the application level.

"Web servers have a well defined function to perform, and standards they have to meet to be compliant," Cook said. The functions supported at the Web application level are of a different breed, he said.

A good example is the Apache Cocoon project, which is an entire publishing framework. However, Cocoon -- like the Apache Web server -- does try to support standards. It is based on XML and Java technologies that integrate into the Web server, Cook said.

  • This is the first article in an occasional series on Website technologies.
  • Includes reporting by Jack Vaughan, ITworld.com.




  • ITworld.com

    I like it!
    Post a comment
    The content of this field is kept private and will not be shown publicly.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.
    Free books

    Essential JavaFX
    Get started building rich Web apps quickly with an introduction to the power of JavaFX key features -- scene node graphs, nodes as components, the coordinate system, layout options, colors and gradients, custom classes with inheritance, animation, binding, and event handlers.Enter now!

    The Nomadic Developer
    Consulting can be hugely rewarding, but it's easy to fail if you are unprepared. To succeed, you need a mentor who knows the lay of the land. Aaron Erickson is your mentor, and this is your guidebook. Enter now!

    Featured Sponsor

    AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

    In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

    On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

    Marketplace