Reply To: scalablity of buddypress
If you have over 100,000 users you’ll need a very good server setup. Lots of RAM and ideally an SSD as BuddyPress writes to the server a lot. You can’t just cache BP pages for logged in users as they will see old content, so you need to be able to handle a lot of database queries all at once. Also set up a CDN and put all assets (images, CSS, JS, etc) there to reduce the load on your server. And minify them all too.
I suspect you’ll need to set up some custom caching for certain parts of the site so they don’t bog down, particularly search. If you do a search of 100,000+ users, especially a search with multiple terms, it will take a while to run through all of those database entries. You can set up a cached index of all search results and just update it at intervals with a cron job, and then your search results will be much faster. Same with group search if necessary. This would have to be custom. What I’m describing is exactly how we set up search here: http://easyoutsource.com/workers. It will search through over 25,000 users with multiple parameters pretty fast. Prior to caching search results it was almost too slow to use.