Announcement Announcement Module
No announcement yet.
Hit Slave on GET, Master on POST Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?