WordPress.org

Forums

Upload images to 2 diferent places (7 posts)

  1. viktorbeat
    Member
    Posted 3 years ago #

    I am doing a load balance in my client's website and I am want to upload the images TWICE, once to server 1 and at the same time to server 2.

    I can't find the function to do this... any help or suggestion about making a load balance?

    Thanks in advanced.

  2. viktorbeat
    Member
    Posted 3 years ago #

    Any solution??

  3. viktorbeat
    Member
    Posted 3 years ago #

    Nobody?

  4. Peter Butler
    Member
    Posted 3 years ago #

    This is probably beyond the scope of this forum. Are you doing any sort of replication between the 2 servers to keep them in sync?

    I've not set up a server like this before, but my guess would be that (unless you have some sort of automatic file replication between the 2 servers) to achieve this, you'd have to write a custom plugin that would hook into the file upload process and send over images to the other server.

    Sounds messy.

  5. viktorbeat
    Member
    Posted 3 years ago #

    Yes, I want to do a file replication, or it would work to upload files to another server, instead of the one where wordpress is hosted.

    Is it possible upload images to another server?

  6. viktorbeat
    Member
    Posted 3 years ago #

    it is a CDN on a custom server

  7. jedblack
    Member
    Posted 3 years ago #

    use GlusterFS, or NFS mount(if possible)

    then you wont need to upload twice (unless you specifically want to?)

Topic Closed

This topic has been closed to new replies.

About this Topic