Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Simple Performance Test of DNNSimple Performance Test of DNN
Previous
 
Next
New Post
9/4/2008 11:12 AM
 

zhaodengpan wrote
 

 Charles Nurse wrote
 

 

Your SQL profile trace indicates that the caching is not happening on your site.

There are two types of caching - you can cache the page content and/or you can cache the core objects.  Your trace indicates that the latter is either disabled or you do not have enough memory assigned to the worker process for the cache to work.

 

That's cool. But how to enable cache of the core objects? I can not find it on host setting page and web.config.

Setting the cache setting to "High" in the Host Settings


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
9/4/2008 9:35 PM
 

Mitch Sellers wrote

Setting the cache setting to "High" in the Host Settings

My DotNetNuke's Version 04.08.04. There is no cache setting option.   How Can I only enable the core objects chache?

Did I miss some module or component?

 Performance Settings




  Clear Cache



 

 
New Post
9/4/2008 11:12 PM
 

 I totally agree with zhaodengpan. DotNetNuke issues way too many of the same queries. The current caching mechanizms are only half of the solution. For instance i created a memcached provider to use instead of the default in memory cache. When you make the same call for GetTabs, GetTabPermissions, GetSkins etc... so many times per page load this adds up becuase serialization/deserialization must occur which takes reasonable CPU time. This is something you won't even notice using the default in memory cache because serialization/deserialization doesn't need to be done.

 

I Propose that the AppContext cache should be used way more often. This is a cache for each request so you can share data between user controls (i.e DNN modules). So the flow would now be.

1. Check AppContext Cache.

2. If exists in AppContext use it else go to caching provider

3. If exists in Caching Provider cache use it and store in AppContext else go to database 

4. If result returned from db store in caching provider cache and AppContext.

 
New Post
9/4/2008 11:43 PM
 

Mitch Sellers , I knew that Performance Setting is about caching core objects just now. Thank you.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Simple Performance Test of DNNSimple Performance Test of DNN


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out