vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   What needs to handle 2500 users online at once (https://vborg.vbsupport.ru/showthread.php?t=294308)

AndrewSimm 01-24-2013 02:15 AM

Currently

2.95 4.03 5.29 | 1,043 Users Online (830 members and 213 guests)

It spikes during announcements. Basically I get post bombed.

--------------- Added [DATE]1358997646[/DATE] at [TIME]1358997646[/TIME] ---------------

Running apache, nginx, and DP Sphinx, Tables are still MyISAM

snakes1100 01-24-2013 02:27 AM

Rather high load for that amount of users on, but we dont know much about your setup without details.

nginx & apache may not be tuned/optimized.

hacks installed make a difference.

no cache installed?

the disk setup you have isnt very good for a db server.

AndrewSimm 01-24-2013 03:12 AM

I am not running a lot of hacks. vBDynamics and vbGallery but those don't get a lot of traffic. Datastore in the file system. No memcache or xcache yet.

snakes1100 01-24-2013 03:18 AM

File based caching is not as fast as memory.

Without know nginx & apache conf, not much more can really be said, not to mention is if sql is optimized as well.

With slow 1tb sata drives, thats not going to be good performance wise, for sql either.

final kaoss 01-24-2013 02:04 PM

It shows that alot of your resources aren't being cached.

I suggest you do the following.

*Install cloudflare and disable it's rocketloader feature. It can help serve content as a cdn as well as help block attackers/bad bots.

*Install the htaccess found in my guide to help with caching, gzip & more.

*Try out vb4 supercharged.

*Optimize your images

*Where possible, add css sprites.

And last but not least, make a post here to help fine tune your server hardware/software.
https://www.vbulletin.com/forum/foru...-Configuration
If you need help with any of the above, simply look in my signature for the link to the popular guide.

nhawk 01-24-2013 03:59 PM

I don't know why you're running Apache and Nginx, but it should be one or the other. Not both.

Normally when Nginx is installed apache is disabled.

snakes1100 01-24-2013 04:54 PM

Quote:

Originally Posted by final kaoss (Post 2399177)
It shows that alot of your resources aren't being cached.

I suggest you do the following.

*Install cloudflare and disable it's rocketloader feature. It can help serve content as a cdn as well as help block attackers/bad bots.

Cloudfare is a bad idea on a large heavy traffic site like his.

*Install the htaccess found in my guide to help with caching, gzip & more.

He dont need to, thats already being done by nginx if its setup correctly

*Try out vb4 supercharged.

That hack hasnt been updated in over a year & dont work correctly on later versions of vb.

*Optimize your images

*Where possible, add css sprites.

And last but not least, make a post here to help fine tune your server hardware/software.
https://www.vbulletin.com/forum/foru...-Configuration
If you need help with any of the above, simply look in my signature for the link to the popular guide.

Quote:

Originally Posted by nhawk (Post 2399198)
I don't know why you're running Apache and Nginx, but it should be one or the other. Not both.

Normally when Nginx is installed apache is disabled.

Nhawk, nginx is in proxy mode, then passes the php process off to apache, nginx is caching images & gzipping content to name a few, as well as handling a wide range of attacks that apache could never handle that are built into nginx by default.

final kaoss 01-24-2013 04:59 PM

Sorry snake but the points you've highlighted in red are null & void as per the results of a webpagetest & yslow report.

Also, cloudflare is a good choice for any site, as they help to serve content & thus reduce the amount of static requests that each page requires to load. It does not in anyway make site performance worse.

http://www.webpagetest.org/pagespeed...run=1&cached=0

As you can see, the points you tried to argue against are not being done by his current setup, hence why I posted what I posted.

Also, vb4 supercharged is working fine for me regardless of how old it is, I still use it to this day and recommend it.
Quote:

Originally Posted by snakes1100 (Post 2399204)
Nhawk, nginx is in proxy mode, then passes the php process off to apache, nginx is caching images & gzipping content to name a few, as well as handling a wide range of attacks that apache could never handle that are built into nginx by default.


snakes1100 01-24-2013 05:03 PM

Quote:

Originally Posted by final kaoss (Post 2399207)
Sorry snake but the points you've highlighted in red are null & void as per the results of a webpagetest & yslow report.

Also, cloudflare is a good choice for any site, as they help to serve content & thus reduce the amount of static requests that each page requires to load. It does not in anyway make site performance worse.

http://www.webpagetest.org/pagespeed...run=1&cached=0

As you can see, the points you tried to argue against are not being done by his current setup, hence why I posted what I posted.

Apparently, you dont read either, you should try to read what i said again, the points are valid & you gave very bad advice on a few points.

1. You tell him to use a hack that dont even work & is full of bugs.

2. I stated if his nginx was setup right, he dont need to, so apparently its not setup right.

final kaoss 01-24-2013 05:07 PM

1. With the correct settings vb4 supercharged works just fine for combining js & css, that is all that you really need it for since there are other ways to cache it & compress it without relying on the plugin to do it for you. Also what bugs are there with it? With the advice from my article you can run it pretty much with zero worries.

Quote:

For this step, we need to install vb supercharged. WARNING! Some people have reported conflicts when using this mod with other mod's. With Google Closure Compiler OFF, I have not encountered any conflicts!

My advice is to enable every option except for these:
Html Optimiser
Javascript Optimiser
Attachment Optimiser
2. I realize that you was stating this as well and I pointed it out with a report.

Quote:

Originally Posted by snakes1100 (Post 2399210)
Apparently, you dont read either, you should try to read what i said again, the points are valid & you gave very bad advice on a few points.

1. You tell him to use a hack that dont even work & is full of bugs.

2. I stated if his nginx was setup right, he dont need to, so apparently its not setup right.



All times are GMT. The time now is 07:38 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.01117 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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