![]() |
What needs to handle 2500 users online at once
On 01/05 we had over 1,200 online at once and I expect around 2,500 on 02/06. There will be several times that day when post will spike to about 800 in about a 10 second span. Currently I have
Intel Xeon E3-1230 V2 3.3GHz 100 mbps Uplink 16 GB DDR3 Memory 1 TB RAID-1 Drives 10 TB Bandwidth My current host is hostgator and we are getting around 230,000 pageviews a day. I expect over 500,000 on NSD. When we had 1,200 online things got really slow and almost crashed. What are some suggestions and does anyone have any experience with vbulletin and amazon aws. I got a vanilla install up but had issues importing my database due to the mysql memory size on amazon RDS. For those with experience is amazon the way to go or multiple servers? Also what about rackspace and how do they compare to amazon? |
Are all of these actual human users, or mostly "Guests?" Eliminate most of the automated bandwidth leeches by blocking Baidu and other bad user agents. Use this Mod for that:
Ban Spiders by User Agent Link to the 4.x.x version and some nice lists of bad actors to block, in the thread. Cut your leech traffic almost totally out. |
No they are human. We do a pretty good job with the spiders.
|
Quote:
I gotta see this great board, link please? |
You've never seen a site like that MT?
Ill PM you a couple lol You would need to give us a bit more detail about the servers state when it loads up, cpu usage, ram usage, disk i/o stats etc. |
<a href="http://canesinsight.com" target="_blank">http://canesinsight.com</a>
Isn't that busy right now. Currently There are currently 808 users online. 664 members and 144 guests |
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
|
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 |
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. |
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.
|
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. |
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. |
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. |
Quote:
Quote:
|
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:
|
Quote:
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. |
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:
Quote:
|
Quote:
|
Yep but I've been able to throw just about any mod I want onto it with no worries with it setup like that, including chats & arcades to test with.
|
I tried the super charged mod about a year ago and had some issues with it. I am already using gzip
my htaccess is below if you would like to look at it. I noticed an improvement when I set up ngnix. Maybe it could be done better but it seems to be working in some capacity. Does anyone have a link to some independent benchmarks done with cloudflare? Code:
RewriteOptions inherit Quote:
|
Here is the modified htaccess that I recommend for you (includes all of your old rewrite rules yet improves upon the caching/gzip.)
Although if you use cloudflare you would want to load only www urls and no urls that do not have www. https://discussion.dreamhost.com/thr...html#pid158213 Quote:
PHP Code:
http://gtmetrix.com/reports/www.vide...t.com/lcSDSldq Also I know nothing about nginx rewrite rules atm so I can't help you with that, maybe I'll try to learn it within the coming month's. |
what does ReWriteRule+^media/p(d+).*/edit$+media.php?do=playlist_edit&pid=$1+[QSA] exactly do?
|
That I believe is for some kindof media addon that used to be popular but is now abandoned, brb.
This is the addon that requires all of the "media" rewrites.. https://vborg.vbsupport.ru/showthread.php?t=240677 |
Quote:
|
What it has done is improved your score in a few areas.
http://gtmetrix.com/compare/x3r3SsIp/6uFU7ZYI Your webpagetest score is also much better than it was previously as well now. http://www.webpagetest.org/result/130125_G1_3JM/ Although webpagetest archive results are a bit harder to find.. If you still have that custom htaccess, something is still not allowing you to properly cache images it looks like and it could be nginx is my guess. The only stuff that should be failing is external resources. http://www.webpagetest.org/pagespeed...run=1&cached=0 |
give me a min and I will turn nginx off
--------------- Added [DATE]1359089623[/DATE] at [TIME]1359089623[/TIME] --------------- I ran root@can [/etc/init.d]# httpd stop Stopping nginx daemon: nginx. --------------- Added [DATE]1359089969[/DATE] at [TIME]1359089969[/TIME] --------------- Hm I am not sure I have a way to just stop nginx |
Ok, I do know that cloudflare does support caching but I haven't had a chance to try it out without the modified htaccess. That could help you in the meantime. Remember to disable rocketloader.
|
Ok I think I fixed nginx
|
Yes that does seem to be a good deal better for you!
One last major thing that I strongly suggest you do, if you haven't already, is make a optimization request here: https://www.vbulletin.com/forum/foru...-Configuration While I kindof know my way around apache, the guy who answers threads there is a guru at what he does! It should definitely hellp you with memory settings and all of the other necessary hardware/mysql settings stuff. Also, check and see if there are login issues after applying the htaccess. In my guide I noticed there were for me and I posted my fix on post 3 of the guide. |
Quote:
--------------- Added [DATE]1359093176[/DATE] at [TIME]1359093176[/TIME] --------------- hmm yslow does agree with my expiree headers |
The final thing I can suggest to you now is to try to losslessly compress your images and use css sprites. Sometimes the lossless compression can make a huge difference.
This covers the following PageSpeed Rules: Optimize Images If you have access to Visual Studio 2010 (grab the trial edition here which should be compatible with the addon), you can complete this step in just a few clicks using this addon http://visualstudiogallery.msdn.micr...77c3?SRC=VSIDE You can also use pnggauntlet which will compress images as well. This is great to use on new skins/themes and also non animated gifs for Smileys, Signatures, Photo Album & Group Images and Avatars that your forum stores on your server! Please note that both of these methods produce lossless images, meaning that even though it uses various methods to decrease file size there is absolutely no visual loss in quality of the image. For non-windows users, I suggest Imageoptim & Trimage Step 4: Add CSS Sprites. Not compatible with VB3 This covers the following PageSpeed Rules: Combine images using CSS sprites Code:
Install the addon United-Forum CSS Sprites and follow all of the instructions. Can be found in the sprite_0.6.3a.zip file. |
Looking at it, this is one of those instances where you may just have to throw hardware at the issue. A second CPU, more ram or faster drives could help you out depending on where your bottleneck is. (From the limited info you've given us, I suspect harddrives will give the biggest win)
Before doing that, I would highly recomend looking at mariaDB as an alternative to myisam and switching fully over to nginx + php fcgi will help save some resources as well. |
Well, not quite. I do agree that you may need some more hardware. Try putting the static content (js/css/html/images etc... pretty much all of your files) onto one server.
Grab a second server and use that one to only host mysql. I think your 16GB of ram should be more than enough. Also, you may want to check out google page speed service. I've been receiving much better optimization reports recently while using it! Page Speed 1.12 Score: 92/100 Compared to 82 or so while using cloudflare instead.. |
You don't need better hardware. The server needs to be tuned by a professional.
|
All times are GMT. The time now is 02:22 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|