Hey all!
In the past, I've used an Nginx stack to get high concurrency out of my sites, but I'm trying to achieve the same thing using LiteSpeed. I've always loved LiteSpeed but due to the configuration, it was optimized for shared environments. I'm working on unlocking the performance so that I can get high concurrency even in a shared environment.
I've got a LiteSpeed 2 CPU license, stock WordPress site with LScache installed, PHP7, Opcache, and that's it.
When I hit the site with 10000 concurrent visitors for 1 minute, it has about 15% of errors. Timeout errors, and network errors. On the server, I'm seeing LiteSpeed take up 100% of 1 CPU core, but it never goes over 100%. No IOwait, memory is still available, etc. The other thing I'm seeing is that it starts fine, but at 15 seconds in, it sees a lot of errors and high response time, but after that it calms down, and then spikes again. I want errors to be zero, and I want to keep scaling it up . I also want to smooth out the peaks too.
Here's the link to the images of my bench marks.
I appreciate any help/advice/guidance
Thanks!
In the past, I've used an Nginx stack to get high concurrency out of my sites, but I'm trying to achieve the same thing using LiteSpeed. I've always loved LiteSpeed but due to the configuration, it was optimized for shared environments. I'm working on unlocking the performance so that I can get high concurrency even in a shared environment.
I've got a LiteSpeed 2 CPU license, stock WordPress site with LScache installed, PHP7, Opcache, and that's it.
When I hit the site with 10000 concurrent visitors for 1 minute, it has about 15% of errors. Timeout errors, and network errors. On the server, I'm seeing LiteSpeed take up 100% of 1 CPU core, but it never goes over 100%. No IOwait, memory is still available, etc. The other thing I'm seeing is that it starts fine, but at 15 seconds in, it sees a lot of errors and high response time, but after that it calms down, and then spikes again. I want errors to be zero, and I want to keep scaling it up . I also want to smooth out the peaks too.
Here's the link to the images of my bench marks.
Code:
https://imgur.com/a/PW598
Thanks!
Last edited by a moderator: