Support » Plugins and Hacks » WP for many thousand users (100k )

  • hi,
    I was wondering if anybody ever installed several k WP instances on the same server… I am thinking about something like this:
    domain=’wpblogs.com’
    a.) user creates a new account at wpblogs.com/register and then gets ‘myaccountname.wpblogs.com’
    b.) all these subdomains would run the same wp code but use different databases (e.g. ‘wp_accountname’)
    c.) user would then get full control of his/her database (but no changes to the code possible), could add more users etc.
    did anybody ever do something like that? if yes how scalable is it and is there a better way to do it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you saying that in every user’s dir you’d have another copy of WordPress?
    I think the ideal would be to have one copy of WordPress in a common folder and then have a plugins, index.php, and a wp-layout.css in each users folder. That would cut down on hard drive usage a lot.
    Your separate database per user sounds like it would work to me.
    I think I heard/read somewhere that ‘they’ are working on adding multiple blog support to WordPress. Don’t quote me on that though.

    Well it’s perfectly possible to use one database for several wp installs. Simply alter the table prefix in wp-config.php.

    georges: the php code would be the same for all users…
    basically I would check the subdomain (of subdomain.domain.com) and then use wp_subdomain as database… guess I can do that all in wp_settings.php right away
    Stevarino: yeah I saw that… but then I would get >1M files in one directory with 100k users 🙁
    my concerns are: a.) how scalable would that be… could it work for at least 100k users on a big dual xeon box and b.) I’d have to store the index.php, .css, plugins etc. in the user’s DB or in a seperate user filesystem tree and also restrict the php commands they can put/call in there…
    “Multiple blog support” is exactly what I am looking for… more info on that would be highly appreciated.

    hey, this is exactly what I wanted to do a while back…i just don’t have a clue on how to start coding for it (nor am I a programmer…)

    guess I was actually thinking about this one here:
    http://wordpress.org/support/10/9415

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP for many thousand users (100k )’ is closed to new replies.