Skip to:

Slow loading discussion board

  • Hi, all. Just wanted to confirm something:

    We’re running a discussion board with bbpress that has 300 forums. Each forum has 14 subforums. We’re noticing a long load time with every click. We’ve tried running the board on a dedicated server, but it didn’t seem to improve the performance.

    Is this a case where bbpress just isn’t built to handle that many forums and subforums?

    Thanks for any help you might have to offer!

Viewing 8 replies - 1 through 8 (of 8 total)

  • johnhiler


    It’s probably one of your plugins… can you post a list of which plugins you’re using?

    Also – try installing this, so we can get a sense for how many queries you’re using – and how long they take to generate a pageview! :-)



    300 * 14 = 4,200 forums? You must have a very good SQL server.



    On a dedicated server, how about logging slow queries with MySQL, or finding the MySQL bottlenecks and tuning the config? With a forum that large, you’re beyond what most people are running with bbPress and it will take some work to fine tune.

    Hmm… my plugins include Akismet, BBPM, Bozo Users, and Report Posts. Akismet and Bozo are not active, however.

    Chrishajer, the number of forums is going to continue to grow (perhaps to twice as large!) I’ve actually got a development team that’s saying that I need to create my own customized solution instead of using a pre-packaged discussion board tool. Do you agree?



    Hold on a sec, why do you need that many subforums?

    Maybe there’s another way to handle this… I once hacked Support Forum to provide an extra set of categories. So the forums were the main categories, and Support Forum was my second set of categories (which I accessed using Views).

    Then I created extra views which crossed the forums with the views. Quick example.

    Here’s a forum:

    Here’s a view for the second category, powered by Support Forum:

    Here’s a cross between the two, of all the topics in that forum and also in that category:

    Could you do something similar, to reduce the number of forums you need to use at once?



    I’d be curious to see where the bottlenecks are (PHP? MySQL?) with using bbPress this way.

    But johnhiler has a good point too. Where else does anything like that exist now? I’d like to see an example of such specialization.

    Johnhiler, I like the idea of using views to show the information in the way you’ve described. However, I’m planning some customized features for the board in the near future, and I think they would conflict with the approach. We did come up with a short-term solve to the speed problem, which we’ll have to see if it works or not.

    Our structure is something like this:

    10 level 1 forums

    40 level 2 forums for each level 1

    14 level 3 forums for each level 2

    The main problem is that Level 1 (the landing page) takes about 20 seconds to load. We’re thinking about turning Level 1 into a static HTML webpage with 10 links to Level 2. When the user clicks a link, they’re brought to the board at Level 2, which loads in about 6 seconds. Guess we’ll see what happens.



    Six seconds on a dedicated server?! Something sounds wrong…

    What are the new customized features you’re considering?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar