If you have a highly available Magento setup in your production environment, you might be wondering what is the best way to set up and configure PowerSync Salesforce connector? The document below will provide some tips and tricks we recommend.
Configuring PowerSync Salesforce Connector for High-Availablity Infrastructure
An example of a VERY BASIC Amazon setup looks like this:
Out of the Box Setup
- Client-S1 through S3 would be your load-balanced EC2 instances (you may have them distributed across various availability zones).
- These instances are serving all your client traffic.
- NOTE: you don't have to have only 3 instances. Your setup might allow you to scale infinitely. Just assume that can be N number of instances.
- Admin-S1 through S2 would be your other load-balanced EC2 instances (you may have them distributed across various availability zones).
- These instances are service all your content authors and Magento-Admin users.
- Usually, these instances are NOT exposed to the public internet for security reasons.
- NOTE: you don't have to have only 2 instances. Your setup might allow you to scale infinitely. Just assume that can be N number of instances.
If your website has quite a bit of traffic or burst transactions. We highly encourage you to use our "System Scheduled" synchronization mode. (Read more about CRON setup for Magento 2 or CRON setup for Magento 1)
We also encourage you to set up a separate Magento instance (eg. see PowerSync-S3 above).
The purpose of the separate instance would be to process the Salesforce synchronization queue. This setup is the most flexible and will allow you to keep your website performance at its maximum.
- Q: Where do I need to install PowerSync Magento Extension?
- A: PowerSync Magento extension will have to be installed on ALL your servers (Client-S1, Client-S2, Client-S3, Admin-S1, Admin-S2, and PowerSync-S3 EC2 instances.
- Q: Which server should be set up to run the PowerSync CRON jobs?
- A: Only the PowerSync-S3 server will have to be configured to process the queue.
Installation help, tips, and tricks.