-
Apr 25th, 2012, 12:29 AM
#1
Hit Slave on GET, Master on POST
For those times when you're okay with the user getting slightly 'aged' data (replication lag).
Basically on any request that started with a GET we try to hit the slave database(s) to read, master to write. With a POST we go to the master (for both reads and writes). Whats the easiest way to set this up? What about per domain object?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules