ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

ExpressionEngine, Varnish and Load Balancing

November 02, 2010 10:11pm

Subscribe [4]
  • #1 / Nov 02, 2010 10:11pm

    NNWebmaster

    43 posts

    We’ve recently had to install Varnish on our web server but it’s causing a few problems. I’ve had Rackspace open up certain URLs to allow cookies but some of our users still aren’t seeing our comments form when they’re logged in. Does anyone have any experience with Varnish and EE installations?

    Also we were looking at a load balanced environment so we could remove Varnish from our server. We got all the way up to having Rackspace install a new firewall, load balancer and another web front end only to realise that we would essentially need to update the other web front end the same way we update or present front end (double work) which would mean another installation of EE. Anyone have any suggestions on load balancing and EE or should we just be looking for a cloud hosting setup to avoid the headaches?

    Thanks for your help!

  • #2 / Nov 03, 2010 12:41pm

    Sue Crocker

    26054 posts

    Hi, Andy. I only see one person mentioning Varnish, and I personally don’t have any experience using it.

    Have you seen: EEDocs:// Handling Extreme Traffic?

    Does any of that help?

  • #3 / Nov 03, 2010 1:13pm

    NNWebmaster

    43 posts

    I’ve tried all that. Like I said we’re looking at load balancing two servers to handle the load. Do you have any experience with that and using rsync?

  • #4 / Nov 03, 2010 9:40pm

    NNWebmaster

    43 posts

    We’re now having issues accessing our site from http://www.nationnews.com. We can access the site with nationnews.com and according to Network Solutions there’s nothing wrong with our DNS config.

    Rackspace seems to think it’s EE’s fault but I’m not convinced of that. I know this isn’t a hosting forum but does anyone have any idea why this would be happening. Our readers are starting to complain and I’m really pulling my hair out right now.

  • #5 / Nov 04, 2010 10:08am

    Sue Crocker

    26054 posts

    Nice looking site.

    It looks like you have an .htaccess in place. Does it have any sort of code to add www to the urls, or is it just to remove index.php? Can you test with no .htaccess in the mix?

  • #6 / Nov 04, 2010 11:48am

    NNWebmaster

    43 posts

    Nice looking site.

    Thanks. 😊

    It looks like you have an .htaccess in place. Does it have any sort of code to add www to the urls, or is it just to remove index.php? Can you test with no .htaccess in the mix?

    Yeah I’m using LG .htaccess generator. There’s no code to add www just removing index.php using the include method. Rackspace had removed the .htaccess file yesterday and it made no difference. Unless I need to disable it from the Control Panel.

    Varnish is good but it’s really messing up our site. Question, do you know how EE processes the index page? That was a question asked by Rackspace and I was sorta clueless on that.

  • #7 / Nov 05, 2010 3:22am

    John Henry Donovan

    12339 posts

    Andy,

    What type of traffic are you getting? Using the Output and Debugging tools would be a good place to start identifying bottlenecks.

    We got all the way up to having Rackspace install a new firewall, load balancer and another web front end only to realise that we would essentially need to update the other web front end the same way we update or present front end (double work) which would mean another installation of EE.

    This would also mean having to buy another license of EE. If you search our forums for load balancing and replies by Nevin who runs EngineHosting there are a good few threads on load balancing with EE

    Does anyone have any experience with Varnish and EE installations?

    To be honest I haven’t heard of Vanish till now. I see people using eAccelerator, APC, xCache or Turck MMCache to good effect though

    EE Wiki : Server Tuning and Capacity EE
    EE Wiki : Optimize EE

    Performance Guidelines

    but some of our users still aren’t seeing our comments form when they’re logged in.

    What version and build of EE are you using?
    What is the full list of extensions you are using?
    What is in your template regards your comment form?

  • #8 / Nov 10, 2010 2:39pm

    NNWebmaster

    43 posts

    What version and build of EE are you using?

    Build:  20100415 Version 1.6.9

    What is the full list of extensions you are using?

    jQuery for the Control Panel (v.1.1.1)
    Google Analytics Panel (v.1.1.5)
    SL Field Formatting (v.1.0.2)
    Gallery Extended Extension (v.2.2.5)
    LG Better Meta (v.1.9.0)
    LG Polls: Poll Question (v.1.0.9)
    LG Data Matrix (v.1.1.1)
    Comment Moderation Nag (v.1.0.3)
    Advanced Captcha (v.1.0.2)
    User (v.3.2.3)
    Member Utilities (v.1.0.2)
    LG Polls: Controller (v.1.0.9)
    LG Quarantine (v.1.0.0)
    Super Search (v.1.1.0.b2)
    SL MailChimp Subscribe (v.1.1.3)
    Tag Submit (v.2.6.6)
    LG .htaccess Generator (v.1.0.0)
    LG TinyMCE (v.1.3.3)
    Static Page Caching (v.1.6.1)
    MD Live Search (v.1.2.1)
    CM faviconizEE (v.1.1.0)
    Edit Menu (v.1.0.2)
    LG Add Sitename (v.1.2.0)
    Category Checkboxes (v.1.1.5)
    Flash Messenger (v.1.0.0)
    Edit Alert (v.1.1)
    FieldFrame (v.1.3.5)
    Pur Developer (v.1.2.1)
    Custom System Messages (v.1.1.2)
    Gypsy (v.1.0.6)
    LG Live Look (v.1.0.4)
    SL Developer Info (v.1.4.5)
    Rating (v.2.3.3)
    Template Inspector (v.1.0.1)
    Tracker Extension (v.1.2.2)
    Fresh Variables (v.1.1)

    What is in your template regards your comment form?

    Not sure I understand the question.

  • #9 / Nov 11, 2010 9:15am

    Sue Crocker

    26054 posts

    What’s in your comment form? Are you restricting comments to only logged in users, anything like that..

  • #10 / Nov 15, 2010 1:02am

    NNWebmaster

    43 posts

    What’s in your comment form? Are you restricting comments to only logged in users, anything like that..

    Yes actually. Only logged-in users can comment.

  • #11 / Nov 15, 2010 3:38pm

    Ingmar

    29245 posts

    Have you tried with disabled extensions? Does that make any difference?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases