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...Maximum number of modules?Maximum number of modules?
Previous
 
Next
New Post
4/23/2009 4:56 AM
 

Does anyone know how many modules a DNN installation can have before problems may occor?

My firm has implemented several newspapers in DNN, and made a custom module for this. One of the newspapers experienced SqlExceptions with Message:Timeout expired, when e.g. adding new modules. The portal was having close to 40 thousand modules in the Modules-table. (Most of the modules are articles that are viewable by a free text-search)  The exception happened random, but after we removed 27 thousand articles, it has not happened again. This led me to the suspicion that number modules was a factor here. The installation has only one portal.

 
New Post
4/23/2009 5:26 AM
 

There is no hard number, but each module requires a number of database calls and has some overhead, i.e. 40k modules is rather a large number, which requires a lot of resources. You need to carefully implement optimisations llike caching on host settings and module settings.

IMHO you should consider to use a CMS module to hold all your articles, which handles the entries w/o the overhead of tab, module, tabmodule,tabsettings, modulesettings, tabmodulesettings per article. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/23/2009 5:50 AM
 

Ok, but I am only displaying 20 - 30 modules per page, so I guess the large number of modules in the db should not affect the response time of the page (if caching is properly implementet).

But will the use of a CMS module decrease the number of modules in the db? Could you give me a tip on a CMS module that I could check out for this purpose?

Thanks!

 
New Post
4/23/2009 6:35 AM
 

the problem is the number of modules on a page - 20 modules means 20 times requests to multiple procedures, while e.g. an CMS module would just call the database once or twice.

Examples for useful modules are Ventrian.com NewsArticles and Engabe-modules.com Publishing module, depending on your specific needs.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/24/2009 2:06 AM
 

Eivind M wrote
 

Ok, but I am only displaying 20 - 30 modules per page, so I guess the large number of modules in the db should not affect the response time of the page (if caching is properly implementet).

But will the use of a CMS module decrease the number of modules in the db? Could you give me a tip on a CMS module that I could check out for this purpose?

Thanks!

One of the problems you have here is terminology.  Module is a massively overloaded term : meaning everything from something you download from DNN Forge, to something you put on a page to a piece of content displayed in a pane.

If you've got 40,000 modules on your Modules table, then that means you've installed that many individual modules (be they text/html, or whatever) into your site.  The number of different module definitions tends to be immaterial (I can't see that you've compiled 40,000 different module dlls).   As Sebastian has said, you're using the wrong model to display your content.   If you have 20 modules per page, and 2000 pages on your site, then you're probably using the wrong architecture.  There is an overhead to each loading of a module into a pane, and each page into the site.  You would be better off with, say, an articles module dropped once onto one page, and then managing 2000 different entries or something like that.  You could concentrate on the database tuning to ensure that you're getting modules back from the database quickly and efficiently, and it should all run withouth any problems.

I suspect you're using some sort of automatic module creation tool, because there's no way anyone has sat their and clicked 'add module' 40,000 times.  This is probably at the root cause of your problem, and doing some custom coding to display content in another way would be better. 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Maximum number of modules?Maximum number of modules?


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