vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   Dear Marco: forum caching problem (https://vborg.vbsupport.ru/showthread.php?t=157037)

RationalBeing 09-04-2007 07:10 PM

Dear Marco: forum caching problem
 
Hi,

I want to create a forum wiht roughly 2000 subforums. However, i googled for forum software and found the following quote from marco:

Quote:

Even though vBulletin supports "unlimited" forums, in real life more then 1.500-2.000 forums will put a too high pressure on the server (performance and memory). The real maximum depends on the server and the server configuration. As vBulletin 3.x will cache each forum in the datastore (and will load this information into memory on each page load), you would quickly run out of memory.

Some boards that use this many (sub)forums are still using vBulletin 2.x only because that version does not do forum caching and will preserve memory in cases like this. One of the things that will be focussed on when developing vBulletin 4 (there is no indication on a date for that) is the reduction of memory usage for large boards.
I'm interested in vbulletin, however I'm not sure, after reading this, vbulletin will work for me, with my need for 1500+ forums, on a server with dual 2ghz xeons and 2GB of ram. I fear that will be insufficient. Is it possible to disable this caching with 3.x. And if not, can 2.x still be purchased?

Thanks much

Or, after doing some googling, is it possible to move the forum cache, which would hog up my ram, to a hard drive based datafile that could be readable?

Please let me know.

Thanks

Paul M 09-04-2007 08:17 PM

Quote:

Originally Posted by RationalBeing (Post 1332381)
Or, after doing some googling, is it possible to move the forum cache, which would hog up my ram, to a hard drive based datafile that could be readable?

I don't think so, I suspect you have simply read about moving the datastore to a file rather than the database. All that means is the forum cache will be loaded into memory from the file, but it's still in memory. There is no way to avoid that in 3.x

RationalBeing 09-04-2007 08:37 PM

Quote:

Originally Posted by Paul M (Post 1332448)
I don't think so, I suspect you have simply read about moving the datastore to a file rather than the database. All that means is the forum cache will be loaded into memory from the file, but it's still in memory. There is no way to avoid that in 3.x

Paul, thanks for the speedy reply sir. I figured as much, after reading about the datastore. So basically, just to be sure, there is NO way to cut down the forum cache on a 1000+ subforums? I only say this because a friend told me each subforum is up to 10MB in ram, which would mean I'd have to have 10GB or something like that for 1000. Is there ANY solution to this in 3.x?

Is 2.x still available for sale?

Paul M 09-04-2007 08:45 PM

Your friend is seriously mis-informed, it's more like about 2K per forum.

As I said, there is no way to avoid it in 3.x

You can still download 2.3.x if you buy a licence.

Marco van Herwaarden 09-05-2007 10:10 AM

Like Paul said, there is no way (well without rewriting half of vBulletin) to avoid this caching in vB 3.x.

Both Paul and your friend are somehow wrong on the memory usage per forum (or they could both be correct ;)). For each (sub)forum there is some information stored in the cache, you should think about things like Forum Name & Description (longer names/descriptions will use more memory), array of permissions for each usergroup (so more usergroups also mean more memory used), etc...

Next in this calculation is the number of online visitors and the number of pages they load. Each page will load another set of cached items in memory. So in the end it will be Cache Size * Number of Page Loads.

If you purchase vBuletin you will have access to all active versions, including the vBulletin 2.x versions. If you are starting a new board i would however try to avoid starting with an old version like vB 2.x at all costs. I would start by looking into alternatives for using that many forums. Using 2.000 forums is not only bad from a server perspective, but it will also very likely confuse the members and probably even prevent users from registering as they are overwhelmed with the number of forums.

nexialys 09-05-2007 11:22 AM

exactly like in this thread:
https://vborg.vbsupport.ru/showthread.php?t=156733

Marco van Herwaarden 09-05-2007 11:48 AM

Quote:

Originally Posted by nexialys (Post 1332817)

I think he knows that Nexialys, he even quoted from that thread. ;)

nexialys 09-05-2007 11:54 AM

see how i am a moron... lol

RationalBeing 09-05-2007 05:33 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1332776)
Like Paul said, there is no way (well without rewriting half of vBulletin) to avoid this caching in vB 3.x.

Both Paul and your friend are somehow wrong on the memory usage per forum (or they could both be correct ;)). For each (sub)forum there is some information stored in the cache, you should think about things like Forum Name & Description (longer names/descriptions will use more memory), array of permissions for each usergroup (so more usergroups also mean more memory used), etc...

Next in this calculation is the number of online visitors and the number of pages they load. Each page will load another set of cached items in memory. So in the end it will be Cache Size * Number of Page Loads.

If you purchase vBuletin you will have access to all active versions, including the vBulletin 2.x versions. If you are starting a new board i would however try to avoid starting with an old version like vB 2.x at all costs. I would start by looking into alternatives for using that many forums. Using 2.000 forums is not only bad from a server perspective, but it will also very likely confuse the members and probably even prevent users from registering as they are overwhelmed with the number of forums.

Well, I don't think there is really any way around it. But, is there any way you could calculate the theoretical max for this, assumign 1500 forums? I'm just wondering if upgrading my server's ram to 4GB would be enough or if it would need even more than that.

Also, someone mentioned "thread prefixes".. what does that entail?

nexialys 09-05-2007 06:30 PM

thread prefix is a tag you can apply to any threads inside a specific forum, which will permit to identify them, select them per tag and even let you search across each tag depending on your needs.

expanding this would be like the Categories/Tags on a blog...


All times are GMT. The time now is 08:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01132 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete