+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Sitefinity on Network Load Balance cluster

Sitefinity on Network Load Balance cluster

4 posts, 0 answered
  1. Daniel L
    Daniel L avatar
    26 posts
    Registered:
    06 May 2006
    11 Mar 2008
    Link to this post
    Does anyone have experience with deploying Sitefinity on a MS Network Load Balance cluster? My customer has 4 servers in his NLB cluster and this works very well with another asp.net site we developed. However, it works horribly with DNN (which we are migrating away from). In web farm mode the servers do not handle their cache very well. Does anyone know if the Sitefinity caching or any other features will cause problems in a NLB environment?
  2. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    12 Mar 2008
    Link to this post
    Hi Daniel L,

    The answer to your question is Yes, Sitefinity supports load balancing and we do not have any reported issues about our CMS used under NLB.

    However, when we are talking about cache there is one dependency that should be considered. You could read about it in the User Manual, section Deploying Sitefinity in a Load Balanced Web Farm Environment. For your convenience, I have provided the information in this ticket:

    You should set the cacheDependancy mode attribute to InDatabase in the web.config file, so that the web site would not use the local server memory but the database tables:

    <configuration>  
        ...   
        <telerik>  
            ...   
            <dataAccess defaultConnection="DefaultConnection">   
                ...   
                <cacheDependency mode="InDatabase" checkExpriredInterval="1000" />  
      
            </dataAccess>  
        </telerik>  
    /<configuration>  


    Hope the provided information is helpful. Please feel free to ask in case you have any additional questions.


    Greetings,
    Nikifor Hristov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Kristian
    Kristian avatar
    5 posts
    Registered:
    10 Oct 2005
    09 Mar 2009
    Link to this post
    What about session information?  Is that used in the admin module?  If so, shouldn't that be set to database as well?
  4. Vlad
    Vlad avatar
    498 posts
    Registered:
    15 Jul 2016
    10 Mar 2009
    Link to this post
    Hi Kristian,

    Sitefinity does not use Session, so you should not do enything about it.

    However, regarding the cacheDependency configuration, this post is obsolete - instead of in the telerik/dataAccess section you can find it in the telerik/framework/caching:

    <configuration>   
        ...    
        <telerik>   
            ...    
            <framework> 
              <caching defaultProvider="memoryCache"
                <providers> 
                  <add name="memoryCache" type="Telerik.Caching.MemoryCachingProvider, Telerik.Framework" /> 
                  <add name="ASPNET" type="Telerik.Caching.AspNetCachingProvider, Telerik.Framework" duration="120" slidingExpiration="true" /> 
                </providers> 
                <cacheDependency mode="InDatabase" /> 
              </caching> 
             ... 
       </telerik>   
    /<configuration> 


    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
4 posts, 0 answered