Use Lightspeed Web Server and MariaDB

Discussion in 'Feedback and Suggestions' started by glennemlee95, Jun 26, 2015.

  1. glennemlee95

    glennemlee95 Member

    Messages:
    59
    Likes Received:
    2
    Trophy Points:
    8
    Lightspeed is a drop in replacement for Apache that works even faster than Nginx, uses less system resources too, less strain on the server overall, and makes websites hosted with it blazing fast.

    Also, MariaDB is a drop in replacement for MySQL. Similar gains, faster than MySQL and less resource intensive.
     
  2. Dead-i

    Dead-i x10Hosting Support Ninja Community Support

    Messages:
    6,084
    Likes Received:
    364
    Trophy Points:
    83
    Hi,

    Thank you for your feedback! Prior to the server migrations a few months ago, we used Litespeed on all our free hosting servers. We switched to Apache with Varnish to improve the performance of users' websites. :)

    I'm fairly certain that we already use MariaDB on free hosting, to improve MySQL performance. ;)

    Thank you,
     
  3. glennemlee95

    glennemlee95 Member

    Messages:
    59
    Likes Received:
    2
    Trophy Points:
    8
    Ah, so that's why the free hosting service came to a crawl around that time. I thought it was just "overselling" or overcrowding on the servers. Was offering the Lightspeed suggestion to speed things up. Didn't realize it was changed from Lightspeed to Apache. =\

    You probably should go back to Lightspeed.
     
  4. essellar

    essellar Community Advocate Community Support

    Messages:
    3,295
    Likes Received:
    227
    Trophy Points:
    63
    Have you looked at edge-side includes, @glennemlee95 ? That should be a lot quicker than trying to tunnel through Varnish altogether. (Cache misses, even if they're deliberate, always have a cost. Edge lets you leverage cache where it's appropriate and bypasses neatly where it's not.)
     
  5. glennemlee95

    glennemlee95 Member

    Messages:
    59
    Likes Received:
    2
    Trophy Points:
    8
    I honestly haven't the foggiest clue how to utilize ESI with WordPress based sites.
     
  6. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    163
    Trophy Points:
    63
    Our Varnish/Apache setup actually utilizes the litespeed PHP SAPI (lsphp_sapi) to run PHP processes, so while it is Varnish/Apache on the frontend, we're using LiteSpeed's "faster" PHP processing. In our internal testing, this setup appeared to be over 1 order of magnitude faster than our previous Litespeed setup (it may have been more, I'm not sure of the exact stats anymore)
     
  7. glennemlee95

    glennemlee95 Member

    Messages:
    59
    Likes Received:
    2
    Trophy Points:
    8
    Interesting. So essentially LightSpeed is being used as a reverse proxy? If this is the case, wouldn't Nginx and LightSpeed give an even greater boost?

    (Also found out why my site was dragging so slowly, WordFence's performance setup was doing object and database caching to the disk which is highly ill advised in shared environments. Switched to W3 Total Cache and set up accordingly and enabled xcache, site's blazing again.)
     
    • Informative Informative x 1
  8. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    163
    Trophy Points:
    63
  9. glennemlee95

    glennemlee95 Member

    Messages:
    59
    Likes Received:
    2
    Trophy Points:
    8
    I've got no further problems, I took the liberty of checking WordFence to see how it's FalconEngine caching engine actually worked and found it was cashing Database and Object caching to the disk which is, as always, ill advised on a shared hosting environment.

    Here's what I did to make my site blazing again.

    Entered cPanel and went into PHP Options and enabled XCache.
    Disabled FalconEngine and all caching from WordFence.
    Installed W3 Total Cache WordPress plugin.
    Deleted CloudFlare WP plugin (Comes packaged in W3, no beating dead horses here).
    Enable all caches to get saved using Xcache omitting Database and Object Caching, leaving those as dynamic as possible.
    Entered CloudFlare details.
    Enabled SEO by Yoast "Cutting Edge" extension

    So the problem wasn't you guys, it was my choice of scripts and I apologize. I should know better.
     
    • Friendly Friendly x 1

Share This Page