• Resolved ricky23

    (@ricky23)


    Hi,

    We have two servers in production and currently once we add a new contact it gets saved to only one server. The Impact is that only 50% of the users see the contact on the website and we have to manually add it to the other server

    Is there a way in the plugin code where we could save it simultaneously on multiple servers?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    I guess the same way you load balanced adding new pages/posts to your sites. Database replication happens at the server level. This is not process that would be done at the plugin level.

    Thread Starter ricky23

    (@ricky23)

    Hi Steven @shazahm1hotmailcom

    This is specifically for the image which is saved on the server itself and not on a database. The Image doesn’t get saved on the other server.

    Is it possible to add a jquery script in the connections plugin code, where the save function of the plugin has this saved on multiple servers?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Sorry, this is not possible using jQuery. I suggest looking at server to server folder syncing solutions. I would think if you are load balancing between servers, you already have some sort of file replication in place for the wp-uploads folder. The connections-images folder is within that folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Saving contacts to multiple servers’ is closed to new replies.