Site Infrastructure  «Prev  Next»
Lesson 11Multimachine configuration
ObjectiveConfigure an e-commerce Site in a High-traffic, Distributed Environment.

Configure ecommerce Site

High-traffic sites require more than a single machine.
You can divide the e-commerce software components among several machines to distribute the load and improve performance. This activity is known as load balancing.

Multimachine configuration

A multimachine configuration has the following:
  1. A router to divide requests and balance the load between machines.
  2. A single domain name used by all machines (for example, and
  3. Multiple instances of the e-commerce software, each on a separate machine.
  4. A single instance of the payment gateway, installed on only one of the e-commerce software machines. This single instance is necessary to prevent corruption of payment data that might arise from multiple instances of payment gateways.
  5. A single database and database management system (DBMS) on its own machine.
  6. Cluster servers and special third-party software to distribute the load evenly.

Multimachine configuration consisting of 1) router, 2)two mail servers, 3) LAN, and 4) database
Multiple machines, with the load balanced between them, allow performance to be improved so that almost any amount of traffic can be managed. Each instance of e-commerce software stores its information in the same remote database (via Open DataBase Connectivity, ODBC) so that the information presented by each machine is consistent across the site.
If only two machines are available, the simplest multimachine configuration is to place the e-commerce software engine and payment gateway on one machine and to place the DBMS and the database on another. In such a configuration, a router is not necessary.

Staging server configuration

You should never test on your production server. Create a "staging server" where you can test database updates and site customizations.
Staging server configuration where the code and content is not exposed to the user

This configuration has:
  1. Two domain names (with separate IP addresses), one for the production server and one for the staging server
  2. Two instances of e-commerce software
  3. Two databases: the production database and the staging database
Click the link below to learn more about creating staging servers.
Staging Server Considerations
In the next lesson, we will discuss legacy integration.