WP for many thousand users (100k+) (6 posts)

  1. freeflight2
    Posted 12 years ago #

    I was wondering if anybody ever installed several k WP instances on the same server... I am thinking about something like this:
    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?

  2. georges
    Posted 12 years ago #

    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.

  3. Stevarino
    Posted 12 years ago #

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

  4. Anonymous
    Posted 12 years ago #

    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.

  5. lnguyen
    Posted 12 years ago #

    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...)

  6. freeflight2
    Posted 12 years ago #

    guess I was actually thinking about this one here:

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.