Disclaimer: Some links and discount codes in this article generate affiliate income. So if you use these codes or click and make a purchase, I will get some commission at no extra cost to you. Recommended products are of high quality. Some of them I use personally.
LiteSpeed Web Server
LiteSpeed Web Server(LSWS) is a drop-in Apache alternative from LiteSpeed Technologies.
LiteSpeed securely handles concurrent users with minimal memory and CPU footprint even under heavy load.
LiteSpeed became the fastest growing web server in 2019, and dethroned Nginx which held this position since a very long time. Source
LiteSpeed is also the 5th most popular web server in the market.
LiteSpeed Server Options
- OpenLiteSpeed – free and open source.
- LiteSpeed Enterprise – paid product.
This article speaks mostly about LiteSpeed Enterprise Web Server.
LiteSpeed provides cache plugins for various Content Management Systems which give you lot of freedom on how and when things are cached.
LiteSpeed Cache Plugin is Available for
Control Panels Supported by LiteSpeed Web Server
LiteSpeed Web Server Features
- Event driven means less overhead and enormous scalalbility.
- Handles thousands of concurrent connections without load spike.
- Supports Apache mod_rewrite and mod_security rules.
- Come with user friendly Graphical User Interface (GUI) for WebAdmin.
- Apache drop-in replacement.
- Support pipelined requests.
- Supports HTTP/2 server push.
- GZIP, brotli compression.
- Zero downtime and maintenance with graceful restarts.
- Runs on Linux, FreeBSD, Mac OSX, and Solaris.
- Unlimited IP and name-based virtual hosting.
- Unlimited concurrent connections.
- Supports advanced server level cache with LSCache Engine and ESI.
- OCSP stapling.
- WebSocket proxying.
- Built-in DDoS protection with bandwidth and connection throttling.
- IP based access control.
- Strict HTTP request validation.
- Referer limiting.
- Response rate limiting.
- Buffer overrun guards.
- Fault tolerance.
- Chunked transfer encoding.
- Entity tags.
- Set Cache-Control headers.
- Supports both IPv4 and IPv6.
- Asynchronous I/O support.
- Built-in page caching.
- HTTPS/QUIC fast handshake and offload.
- Just-in-time configuration reduces restart time.
- Lookup for GEO IP.
- Stream logs to external logger.
- Custom log formatting.
- Backend load balancing.
- Auto recover from service failures.
- Supports multiple PHP versions.
- Supports video streaming.
- Virtual host templates for easy configuration.
LiteSpeed Web Server Pros
- No need to learn new things.
- Consumes very less CPU and RAM.
- In-built feature to detect heavy load on Server.
- Replace Apache in 15 minutes with zero downtime.
- Eliminates 3rd party caching layers.
- Saves money by using less number of servers to power your websites and applications.
- No need for reverse proxy.
- Delivers Static content up to 5x faster than Apache.
- HTTPS is upto 3x faster than Apache.
- Reduced server stack saves you CPU, memory and disk.
LiteSpeed Web Server Cons
- Very few hosts provide LiteSpeed Web Server with Managed WordPress Hosting.
LiteSpeed Web Server Load Test
Below configuration is used to test how does LiteSpeed Enterprise handle concurrent requests per second.
- Nanode from Linode
- 1 CPU
- 1 GB RAM
- CentOS 7
- Litepeed Enterprise Web Server with LS Cache
- PHP 7.3
- WordPress 5.3.2
- Clients per second using Loader.io
LiteSpeed easily serves handles lot of requests per second that too with amazing stability.
LiteSpeed External Benchmark Links
Moral of the Story
LiteSpeed Enterprise web server handles thousands of concurrent requests with minimal resource footprint that too with great stability.