I am preparing for an interview. One of the topics is:
Performance tuning / Load balancing is a different concept, it consists distributing the queries sent to those servers so the load is as evenly distributed as possible. It is usually done at the application layer (or with a connection pool). The only direct relation between replication and load balancing is that you need some replication to be able to load balance, else you'd have a single server.
Can you please explain to me what does load balancing with the application layer mean as it refers to sql server ?
Can you also provide c# examples of the application layer doing the load balancing?