Quantcast



Docs


Blogs


Forums


Samples


Media


Labs


Resources

 




DevCentral > Weblogs > DevCentral TV - Your Daily Dose
 Active-Active Database Load Balancing
posted on Thursday, June 19, 2008 8:16 AM



F5 Field Systems Engineer Patrick Chang explains an iRules solution that supports 2 active database instances in different data centers behind a web application.  The goal is to provide the optimal user experience by load balancing requests for both the web/application tier and the database tier to a local data center whenever possible.  Since cross-data center database replication takes approximately 20 seconds, one instance is preferred for database writes, and an iRule that reads and inserts time-stamped cookies reliably directs traffic to the closest database instance when possible, and to the remote instance only when necessary to maintain session integrity.

This solution was brought to you by the iRule commands: HTTP::cookie, HTTP::uri, and HTTP::method


Categories:  ,  ,  


Email This
  del.icio.us
      

Feedback

No comments posted yet.
 Leave Feedback
Title  
Name  
Email
Url
Comments   
Please add 7 and 3 and type the answer here: