The increasing number of Internet users and innovative new services such
as e-commerce are placing new demands on Web servers. It is becoming
essential for Web servers to provide performance isolation, have fast
recovery times, and provide continuous service during overload at least
to preferred customers. The invention describes a kernel-based
architecture for content-aware service differentiation that protects Web
servers against overload by controlling the amount and rate of work
entering the system. We have invented a mechanism that provides admission
control and service differentiation based on connection and application
level information. The application header-based connection control uses
application-level information (such as URIs and cookies for HTTP) to
define different service differentiation actions. The present invention
provides the kernel mechanisms that are more efficient and scalable than
application level controls implemented in current Web servers.