Please look into other forum topics as well..
https://buddypress.org/support/topic/bp-could-handle-a-huge-number-of-members/
https://buddypress.org/support/topic/what-about-i-got-10-million-users-or-more/
Personally, I think BP supports thousands of users. There are few BuddyPress sites with abounding users. You just need a good server and a good database space.
Do you think Buddypress can support hundreds of thousands, if not millions of users?
In theory, yes, BuddyPress can handle millions of users. BuddyPress will add rows to the database without problem, and that database can scale to a very large size.
In practice, there are things that might have an impact on that. Your hardware will play a big role. For example, will a million users all be logged in at the same time, each posting a video clip or large image?
@ch1n3s3b0y Hi there, im gonna chime in on this as im starting to believe that buddypress can most definately scale vary well (even though its not been proven yet to scale to say a million users+ i think its quite possible), as henry may remember from previous threads i have commented in i have decided to look into the ultimate server configurations to try and find the best way to actually move forward into my own buddypress build.
This has meant concentrating and learning about lots of different server configurations for the past couple of years in-between my other projects.
Do you think Buddypress can support hundreds of thousands, if not millions of users?
Lets just switch this notion right on its head, rather than ask yourself if buddypress can scale to a millon users start asking yourself if your server setup and configuration can scale to a million concurrent users instead.
The key to success on a buddypress active and busy site becomes more of a server and administration task rather than how you have buddypress setup on a basic server config (before long you will bottleneck somewhere if you do not setup for expansion).
I know it seems daunting to think about all of this rather than install it build it and launch it and expect it to scale! But to me doing something half hearted isnt the way forward with a serious build on any project. If you prepare and understand the potential problems before you have that killer network built with 100s of thousand of concurrent users its much better to be prepared than to sit back and go NOW WHAT! when you finally grind to a halt and noone can use your site anymore and you dont know how to fix and expand it. Proactive is the way forward.
I am currently testing my buddypress install on one of my servers with nginx and HHVM (hip hop virtual machine) that was created by and is used by facebook instead of standard php, this speeds up the PHP execution speed PHP code is translated into C++ compiled into a binary and run as an executable to really speed up the way php works, therefore making everying load much much much much faster! I have only just started messing around with HHVM and will keep you updated. is anyone else actually running HHVM? if so please do share with me your finding, to me this seems the way forward with any buddypress installed website.
Also as i have stated before once i have decided on my final server configurations and im 100 percent happy with exactly how my setups work with wordpress/buddypress to scale to massive amounts of users i will create a post and guide on how i have it all set up, but still will take me more time yet. and also as stated before if anyone else does want to give there 2 cents on it feel free because on these forums there is not much talk about actual configs that people are using, even though i do realize this is server tech department, i also believe it is a valid issue for buddypress because instead of questions about scalability there could also be a few answers which is my ultimate goal. 😉
@mcpeanut
I am currently testing my buddypress install on one of my servers with nginx
Are you using Nginx with php-fpm? I’ve been tempted to do that for BuddyPress. It’d mean moving all of my .htaccess directives to Nginx server blocks but I think the effort would be worth it for the performance improvements.
@henrywright
Are you using Nginx with php-fpm?
Yes that is correct henry, as far as your httacces rules yes you will need to convert them to work with nginx as it does not use them, otherwise things like permalinks will not work straight off.
I would suggest looking into using HHVM too if your gonna check out nginx as it would be a perfect time for you to test it out.
Here are a few links below you should read about hhvm and nginx
hxxp://hhvm.com/
hxxps://en.wikipedia.org/wiki/HipHop_Virtual_Machine
hxxps://bjornjohansen.no/hhvm-with-fallback-to-php
hxxps://github.com/facebook/hhvm/wiki/fastcgi
also please make sure you dont overlook certain things such as this etc
hxxps://nealpoole.com/blog/2011/04/setting-up-php-fastcgi-and-nginx-dont-trust-the-tutorials-
check-your-configuration/
change the xx to tt in links couldnt get them to post, ive tried posting this 4 times so i will leave it as it is haha but im sure you can get to the links 🙂
Thanks for the links @mcpeanut, I’ll check out HHVM!