Hello
I have been tasked to create the following:
1. Allow load balancing for read operations while maintaining a single entry point for writes to avoid collisions.
After talking with the person that assigned me this task, he wants the applications to be able to RW to one of the databases and also have the option to R from the others if the RW instance is busy. For this task I had setup SQL AlwaysOn (SQL
2012) there is also the option that I might setup a load balance in front of some of the SQL servers. I could have done Merge replication but I'm not sure how often the developers will be changing the database schema. Note, the application is not load
balanced (only a single server) and then he also wanted SQL to failover (which SQL AlwaysOn will do) . Figured I could have the developers add the SQL AlwaysOn name along with the SQL instance names setup for the SQL AlwaysOn cluster in the web.config
file. I'm just not sure how the application will know which is the RW vs the R database.
I was wondering if anyone has run into this type of request and if it possible to architect/configure
Thanks
Barry