old-www/HOWTO/Apache-Overview-HOWTO-22.html

38 lines
1.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Apache Overview HOWTO: Apache 2.0</TITLE>
<LINK HREF="Apache-Overview-HOWTO-23.html" REL=next>
<LINK HREF="Apache-Overview-HOWTO-21.html" REL=previous>
<LINK HREF="Apache-Overview-HOWTO.html#toc22" REL=contents>
</HEAD>
<BODY>
<A HREF="Apache-Overview-HOWTO-23.html">Next</A>
<A HREF="Apache-Overview-HOWTO-21.html">Previous</A>
<A HREF="Apache-Overview-HOWTO.html#toc22">Contents</A>
<HR>
<H2><A NAME="s22">22. Apache 2.0</A></H2>
<P>The current version of Apache (the 1.3 series) is process based. That means that
the server forks itself a number of times to answer simultaneous requests.
The children are isolated from each other.
This is reliable: if a module misbehaves, the parent process kills that child and
it only affects the request being served, not the server as a whole.
Threads are similar to lightweight processes. Threads can share common data.
If a thread misbehaves it can corrupt other threads and the server as a whole
can go down. On the other hand, the thread model allows for faster, leaner
webservers. Apache 2.0 brings the best of both worlds, allowing the user to define
number of processes and number of threads per process. Apache 2.0 introduces
APR, the Apache Portable Runtime, which increases Apache's portability even more.
Finally, layered I/O brings a new level of modularity to Apache development.
<P>
<P>
<P>
<HR>
<A HREF="Apache-Overview-HOWTO-23.html">Next</A>
<A HREF="Apache-Overview-HOWTO-21.html">Previous</A>
<A HREF="Apache-Overview-HOWTO.html#toc22">Contents</A>
</BODY>
</HTML>