Home » Performance » LAMP » How would you set this up
How would you set this up [message #4389] Sun, 17 May 2009 15:26 Go to next message
drfr  is currently offline drfr
Messages: 2
Registered: April 2009
Junior Member
We have a custom Customer Relationship Management (CRM) tool being built based on LAMP infrastructure.

We receive new customer orders via the web and by cron jobs that FTP and import order data from other sources.

Right now, we have a single web server that also runs MySQL - a dedicated server at a large provider.

Customer Service agents are all located in an office not near the datacenter where the current web/db server is.

Agents make changes to customer orders.

Management (located in the same office as the agents) need to run reports. These reports are very comprehensive and involve millions of orders (rows).

Customers have the ability to check order status online.

I am thinking it is necessary to have a robust server brought in to the office that will have the order data replicated for customer service and management to use and manipulate.

How would you set this up to maximize agent performance, management reporting tools, and customer ability to get the latest information about their orders.

How/when/which direction would you replicate - which server would be slave/master?

Thanks!
Re: How would you set this up [message #5103 is a reply to message #4389 ] Fri, 25 December 2009 06:36 Go to previous message
xaprb  is currently offline xaprb
Messages: 266
Registered: April 2008
Location: Charlottesville, Virginia...
Senior Member
This is a complex question that I would encourage you to get consulting help on, but I'll try to give a quick answer here. Most of the time reporting queries should be run from a read-only replication slave. If the business really relies on those reports, then you need to invest some money and effort into making the slave reliable -- set up a monitoring infrastructure, verify that the slave and master have the same data regularly, etc.


Baron Schwartz, VP of Consulting
Percona Inc: http://www.percona.com/
Consulting, Training, Services and Support for MySQL & LAMP
+1 (888) 401-3401
Previous Topic:Amazon S3 replacement
Next Topic:Install dynamic libraries in php
Goto Forum:
  


Current Time: Fri Jul 30 05:37:54 EDT 2010

Total time taken to generate the page: 0.01446 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.