Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2002, 10:50 AM
GeorgeofCS's Avatar
GeorgeofCS GeorgeofCS is offline
 
Join Date: Oct 2001
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Any tips on handling short term heavy traffic?

I'm a little worried about my site after next week. The site is powered by vb and next week my site will be featured in a couple very big media outlets. Smart Money Magazine being one of them. So I'm looking at my traffic going from 2000 people a day to over 25,000 - 50,000 a day for only about a few weeks. Personally I don't know if my server can handle that heavy of a traffic level. We handled 15,000 fine with some minor down times a year ago. The big thing is that this will be gone just as fast as it comes. So any tips on what I can do to help the site continue to run if problem begin to occur. Like any big little known resource hogs that I can turn off etc. I'm hoping other vb boards have dealt with this situation before.
Reply With Quote
  #2  
Old 12-07-2002, 11:22 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can temporarly disable pm system on your board, disable also some of the statisticqueries on forumhome for this time, this would surely help you.

also installing the beta hacks for saving thread-view in an extra table will help you

if you have time enough, create a style without images, so you won't have to much bandwithabuse because of images

this are things which came to my mind
Reply With Quote
  #3  
Old 12-07-2002, 11:40 AM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or, if you want to keep images, you could host them on a different server if you have that option.

If you haven't done this already, I would enable gzip compression too if I were you. That's also a huge bandwith saver.

Disabling searches could save you some resource usage.

You could also try to disable avatars too. Custom avatars are saved in the DB, so that would also reduce resource usage somewhat.
Reply With Quote
  #4  
Old 12-07-2002, 11:44 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also the who's online on forumhome should be disabled for viewing (at least for the normal ones )

and any hacks which are just here for visual effects but not really needed (online today....)
Reply With Quote
  #5  
Old 12-07-2002, 11:45 AM
GeorgeofCS's Avatar
GeorgeofCS GeorgeofCS is offline
 
Join Date: Oct 2001
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bandwidth isn't too much of a problem I'm heavily under using that. But as far as stats and all. Just pulling them off the forumhome template will that kill them from being accessed or would you have to pull them from the index.php script as well. I'm curious on how that little bit goes. If killing them from the templates does it then I'm all set . I actually though about with the main page just converting to a html page for the time being. I actually have the custom avatars as files hack installed so I'm hoping it should be too bad. The good thing is my members are very willing to lose some of these feature temporarily.
Reply With Quote
  #6  
Old 12-07-2002, 11:51 AM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll have to yank them out of the php-files.
But keep in mind that every byte the webserver has to send uses some tiny amount of bandwith.
Reply With Quote
  #7  
Old 12-07-2002, 12:48 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, but it's enough to comment it out
no need to completly deinstall it *gg*

most of the time it's even enough to just outcomment the queries.

replacing index.php with an index.html is a good idea for that time, if you can achieve enough functionality through that.
Reply With Quote
  #8  
Old 12-07-2002, 01:33 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, commenting them out is in effect the same as removing them
Reply With Quote
  #9  
Old 12-07-2002, 02:57 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

really? :P

but it's easier to restor em so
Reply With Quote
  #10  
Old 12-07-2002, 02:58 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OMG! Xenon, you are turning this in to a spam thread... Please ban yourself now, thank you
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 06:24 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.06924 seconds
  • Memory Usage 2,252KB
  • 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
  • (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
  • (10)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