[英]how to calculate no of client support by .net server or WCF service
I want to know how we can find out maximum no of client can be supported by server written in .NET. 我想知道如何找出.NET编写的服务器不支持的最大客户端数。 This server could be anything like WCF service or .NET remoting etc.
该服务器可以是WCF服务或.NET远程处理等。
What is the way or guidelines we can use to to find no of supported client in this case. 在这种情况下,我们可以用来查找没有受支持的客户端的方法或准则是什么。
Thanks in advance. 提前致谢。
This depends on a large number of factors. 这取决于许多因素。 Things you may want to consider: server hardware, supporting infrastructure, Application logic and concurrency
您可能需要考虑的事情:服务器硬件,支持的基础架构,应用程序逻辑和并发
With a web service like wcf, the metric you are looking for is the number of requests/s that a server can handle, which can be used to derive a number of unique clients based on an expected workload per client. 对于像wcf这样的Web服务,您要查找的指标是服务器可以处理的请求数,可以根据每个客户端的预期工作量来派生多个唯一客户端。
Of the factors listed, the biggest impact will certainly be the application logic that is being coded. 在列出的因素中,最大的影响当然是被编码的应用程序逻辑。 Any server framework can vary wildly in performance from the same traffic.
任何服务器框架的性能都可能因相同的流量而有很大差异。 The best way to estimate the number of clients that can be supported would be to take an aggregrate workload of many users, determine the traffic patterns for clients, and simulate traffic for an increasing number of operations until performance degrades to a level you are comfortable with.
估计可以支持的客户端数量的最佳方法是承担许多用户的工作量,确定客户端的流量模式,并模拟用于增加操作数量的流量,直到性能下降到您满意的水平为止。 。
There are simply too many factors to give a straight answer. 有太多因素无法给出直接答案。 Sever .NET applications fail under a small load, while stackoverflow is written with .NET and is run on a very small number of servers.
严重的.NET应用程序在很小的负载下就会失败,而stackoverflow是用.NET编写的,并且可以在很少的服务器上运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.