Go Back   vb.org Archive > News and Announcements > vBulletin Pre-Sales Questions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2007, 07:10 PM
RationalBeing RationalBeing is offline
 
Join Date: Sep 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 09-04-2007, 08:17 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RationalBeing View Post
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
Reply With Quote
  #3  
Old 09-04-2007, 08:37 PM
RationalBeing RationalBeing is offline
 
Join Date: Sep 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
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?
Reply With Quote
  #4  
Old 09-04-2007, 08:45 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 09-05-2007, 10:10 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 09-05-2007, 11:22 AM
nexialys
Guest
 
Posts: n/a
Default

exactly like in this thread:
https://vborg.vbsupport.ru/showthread.php?t=156733
Reply With Quote
  #7  
Old 09-05-2007, 11:48 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys View Post
I think he knows that Nexialys, he even quoted from that thread.
Reply With Quote
  #8  
Old 09-05-2007, 11:54 AM
nexialys
Guest
 
Posts: n/a
Default

see how i am a moron... lol
Reply With Quote
  #9  
Old 09-05-2007, 05:33 PM
RationalBeing RationalBeing is offline
 
Join Date: Sep 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
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?
Reply With Quote
  #10  
Old 09-05-2007, 06:30 PM
nexialys
Guest
 
Posts: n/a
Default

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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06413 seconds
  • Memory Usage 2,257KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete