[英]load balancing in the application layer
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 ?你能向我解释一下应用层的负载平衡是什么意思,因为它指的是 sql server 吗?
Can you also provide c# examples of the application layer doing the load balancing?能否提供应用层做负载均衡的c#例子?
Thats a pretty broad topic.这是一个相当广泛的话题。 I'd recomend reading some of the Microsoft literature on load balancing.
我建议阅读一些有关负载平衡的 Microsoft 文献。 Here's some documentation on load balancing in the Msft stack.
这是有关 Msft 堆栈中负载平衡的一些文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.