Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Questions about DotNetNuke CE: web farm and cacheQuestions about DotNetNuke CE: web farm and cache
Previous
 
Next
New Post
6/5/2013 10:49 AM
 
Hello

I am currently setting up a DotNetNuke instance in a web farm:

  • DNN CE 7.0.4 installed on two Windows 2008 R2 servers
  • The root folder of both web sites is mapped to a UNC share
  • Parameter IsWebFarm set to true in the web.config file
  • Use of the file based caching provider

I am doing the following test:

  • Login with the host account on the web site running on server #1
  • On server #1, the value of the setting "Host url" (in Host / Configuration) is modified
  • Login with the host account on the web site on server #2
  • On server #2, the value of the setting "Host url" is still the old one
Files are written in the folder \Portals\_default\Cache\ on the UNC share so normally the file based cache should be up-to-date.

Can anybody help me to understand what is wrong with my configuration and we should be done to keep the cache synchronized on both web sites ?

Thanks

Sebastien Roeckel

 
New Post
6/6/2013 3:47 AM
 

Hello

I'm still trying to understand how the cache mechanism behaves and in fact I have the problem I have described in my previous post only (from what I have tested so far) for host settings.

For example, when I update a portal setting on server 1, the change is immediatly reflected on server 2 (I have also noticed than in that case a lot of files are written / updated in the cache folder). But  as described yesterday, when I update a host setting on server 1, it is not reflected on server unless I clear the cache on server 2.

Can anybody explain me why we have a different behavior for host settings and portal settings ? Is this a bug or is this a normal behavior ? Are host settings stored in a different cache than the other settings ? If a host setting modification requires to clear the cache on all the servers in the farm I think we can live with it (host settings updates are not that frequent).

Thanks a lot for your help

Sebastien

 
New Post
6/6/2013 5:42 AM
 
this sounds like a bug, do you notice any file change in your cache folder when updating host settings?

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/6/2013 7:52 AM
 

Hello

Thanks for your reply.

When I update the host url in the Host \ Configuration page, only two files are being updated; the content of these files is:

  • DNN_DesktopModulesByPortal-1
  • DNN_ModuleControls

The same files are updated when I modify any other host setting.

Sebastien

 
New Post
6/7/2013 4:40 PM
 
Sebastien, it looks like you found an issue in file based caching. Please log your findings into the public issue tracker at support.dotnetnuke.com, thank you.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Questions about DotNetNuke CE: web farm and cacheQuestions about DotNetNuke CE: web farm and cache


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out