简体   繁体   English

如何计算.net服务器或WCF服务的客户端支持数量

[英]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.

相关问题 如何计算WCF服务器发送到客户端的消息流的大小 - How to calculate size of message stream sending by WCF Server to client 使用Window服务或WCF制作聊天服务器(聊天服务器的.NET服务和聊天客户端的iOS应用程序) - Making chat server (Chat server's .NET service and Chat client's iOS applications) with Window service or WCF WCF服务器和非.NET客户端 - WCF Server and Non .NET Client 如何与WCF服务(wsHttpBinding)和.NET 2.0客户端进行通信 - How to communicate with a WCF Service (wsHttpBinding) & a .NET 2.0 client 如何在ASP.Net核心中注入WCF服务客户端? - How to inject WCF service client in ASP.Net core? 如何使WCF服务服务器 - 客户端时差独立? - How to make WCF service server-client time difference independent? 与无.Net客户端共享WCF服务中的.Net类型 - Sharing .Net types in a wcf service with a no .Net client WCF服务反序列化失败,DataTable从.NET 4.5 Server到.NET 3.0 Client - WCF Service Deserialization failed with DataTable from .NET 4.5 Server to .NET 3.0 Client .Net 2.0 winforms客户端应用程序可以连接到Windows Server .Net 3.5 WCF服务吗? - 需要建筑建议 - Can a .Net 2.0 winforms client app connect to a Windows Server .Net 3.5 WCF service? - architectural advice needed 从客户端和服务器使用WCF Web服务 - Use WCF web service from client and server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM