Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

176
Visualizações
Any benchmarks showing Litespeed faster than Nginx servers?

There are several discussions around the web about some "anonymous" benchmarks released by Litespeed Technologies on http2benchmark.org (etc) allegedly showing that their LS servers are faster than Nginx LEMP stacks (apparently, they knowingly disabled FastCGI caching):

https://hostedtalk.net/t/litespeed-servers-publishing-fake-benchmarks/4431

https://www.reddit.com/r/selfhosted/comments/f06vse/litespeed_servers_seem_like_a_marketing_scam_are/

https://community.centminmod.com/threads/is-lsapi-litespeed-faster-than-php-fpm-nginx-etc-or-not.19153/

My question is three-fold:

  1. As far as LSAPI on Litespeed vs PHP-FPM on Nginx is concerned, what would be a "fair" way to compare performance re: processing PHP queries since the environments are different?
  2. Besides the PHP handler, is there any other part of the Litespeed stack that can be accurately benchmarked at the application-level (e.g. LS Cache) instead of the stack?
  3. Have any unbiased third parties compared these two stacks in an accurate fashion?
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I'd rather post this as a comment but it's pretty full already up there.

This benchmark routine by Ike Devolder is probably one of the most fair and detailed that I've come across in the past few years comparing Litespeed and Nginx:

https://blog.herecura.eu/blog/2020-06-16-openlitespeed-vs-apache-vs-nginx/

Some of the confusion is re: Litespeed vs. OpenLitespeed, but for this purpose it doesn't really matter since the biggest difference with Nginx is LSAPI, the PHP processor, rather than using PHP-FPM, and since OLS supports the same server-level caching that Litespeed does...

One of the best things about Ike's review is that he doesn't definitively say one is "better" or "faster" and instead talks about different components of either stack, while monitoring resources.

The TLDR for 2021 is probably something like this:

  1. Both Nginx and Litespeed serve static assets extremely well
  2. Litespeed as a stack scales higher than Nginx currently, partially due to HTTP/3 support... but 99% of websites probably will not notice this since we are talking about insane traffic levels, which almost never reach the origin server these days due to things like CDNs or remote MySQL servers, and since HTTP/3 is not fully integrated into the internet yet... in fact, even in Ike's own tests he seems to have tested both internally (not over i.e. UDP) which further reinforces this point since HTTP/3 is UDP-only. However, regardless of protocol, Litespeed does appear to scale to a higher level than Nginx... keep in mind, this is not the same as saying that LS delivers requests "faster" than Nginx, because real world requests at a typical traffic level are probably indistinguishable in terms of speed/response times. It does mean that i.e. a shared hosting environment with 500 cPanel websites would probably scale better using Litespeed... so it makes sense why that seems to be Litespeed's main target.
  3. Litespeed appears to use more RAM memory than Nginx in general
  4. Nginx appears to use a lot more CPU than Litespeed at high traffic levels
  5. TCP (not Unix socks, the Litespeed default) performed a lot better, and this is true for Nginx as well, since it avoids disk I/O... so, using default Litespeed settings is still a bad idea

Anyway, best not to get too detailed, since software changes all the time really. The next version of Nginx will probably support HTTP/3, among other features. I do wish that the Litespeed guys would let the unique quality of their software speak for itself, and chill out on the aggressive (inaccurate) claims being made... but most of their web hosting partners probably benefit from that hype, which is maybe why not many people are questioning the claims being made...

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda