Difference between revisions of "Cluster Deployment"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 17: Line 17:
:* Document storage (which includes pictures and image files) is managed separately from the database.
:* Document storage (which includes pictures and image files) is managed separately from the database.
:* The database is running on its own server, for added performance.<br/>''Learn more:'' [[Configuring MySQL to Run on a Separate Server]]
:* The database is running on its own server, for added performance.<br/>''Learn more:'' [[Configuring MySQL to Run on a Separate Server]]
:* The primary database instance and the replication instance are each running on separate servers, both for reliability and for performance of read-intensive operations.<br/>''Learn more:'' [http://dev.mysql.com/doc/refman/5.1/en/replication-solutions-diffengines.html Using Replication with Different Master and Slave Storage Engines]
:* The primary database instance and the replication instance are each running on separate servers, both for reliability and for performance of read-intensive operations.<br/>''Learn more:''
:: Using Replication with Different Master and Slave Storage Engines<br>http://dev.mysql.com/doc/refman/{{MySqlVersion}}/en/replication-solutions-diffengines.html
:* Requests that access and update, whether coming from a user or a backend process, go to the primary database, while read-intensive operations (backups, reports, exports) are executed on the replicated database.<br/>''Learn more:'' [[Running Reports and Storage Checks On a Replicated Database Server]].
:* Requests that access and update, whether coming from a user or a backend process, go to the primary database, while read-intensive operations (backups, reports, exports) are executed on the replicated database.<br/>''Learn more:'' [[Running Reports and Storage Checks On a Replicated Database Server]].
<noinclude>
<noinclude>

Revision as of 02:10, 19 March 2014

The following diagram shows the kind of architecture that is typical for a production system:

PrototypeProductionInstallation.png

The key points depicted in the diagram are:

  • The platform is deployed across multiple servers.
  • A Load Balancer distributes traffic across the web servers.
  • Apache httpd is an optional front-end web server for the application server.
    Learn more: Installing and Configuring Apache for Use with the Platform
  • The Messaging server handles all social media interactions (e.g. Facebook and Twitter).
    It also handles on-screen notifications when people are looking at the same case.
  • Messages are exchanged between it and the application server to manage those interactions.
  • HornetQ maintains the store-and-forward message queue for those communications.
Learn more: Installing the Messaging Server
  • Memcached servers reduce response time by caching data in memory.
    Learn more: Configuring memcached
  • The suite of memcached servers are accessed by all application servers, backend as well as front end.
  • The critical backend processes shown here (import, export, and scheduling, which uses quartz) are all being run from a single platform instance. But additional servers can be employed, as load demands.
    Learn more: Managing Backend Services
  • Document storage (which includes pictures and image files) is managed separately from the database.
  • The database is running on its own server, for added performance.
    Learn more: Configuring MySQL to Run on a Separate Server
  • The primary database instance and the replication instance are each running on separate servers, both for reliability and for performance of read-intensive operations.
    Learn more:
Using Replication with Different Master and Slave Storage Engines
http://dev.mysql.com/doc/refman/5.5/en/replication-solutions-diffengines.html