MyBB Ideas

The MyBB Ideas site allows users to suggest new features and changes in MyBB and the MyBB Group to easily review them to decide what direction MyBB should head in. Search existing ideas.

Support for multiple memcache servers

17 votes

Submitted by jonas, 8th December 2008, 10:42:48 PM

We'll be running MyBB in a pretty large environment, and have set it up to be as redundant as possible (multiple web servers, the db is replicated, etc).

The only issue currently is that MyBB only supports one memcache server. It would be nice to have this changed to support an arbitrary collection of servers.

From what I can see, this would necessitate the following:
- changing the config options to use an array or hash of server names and ports
- using Memcache::addServer instead of Memcache::connect in inc/cachehandlers/memcache.php

3 Comments

  1. yeah , nice idea , but need a tutorial to know how to divide it on 2 servers

    alwahsh, 11th December 2008, 4:29:31 PM
  2. Well if you can do it on one server, you can use that same process to divide it into 2. Also, if you need to do it once it reaches a certain level, or disk space usage, all you'd need to do is check the server's folders for that file size.

    x_Stricken_x, 13th December 2008, 11:35:33 PM
  3. I'll be looking into this for MyBB 1.6/2.0

    Ryan Gordon, 8th May 2009, 7:05:35 PM

Post a Comment

Before you can post a comment you must be a registered member of the MyBB Community Forums.

If you already have an account, log-in to it to post a comment or if you don't register a new account.