There are provided a hardware accelerator and method for providing
hardware acceleration for an application server and/or a layer 7 switch.
The hardware accelerator includes a content access memory (CAM)
configured to accelerate string comparison operations in the application
server and/or layer 7 switch. The string comparison operations involve
strings having varying key string positions.