English 中文(简体)
What should be the maximum number of opened socket on a server?
原标题:

For a web server, the socket connection are kept alive to save overhead. At which point the server should start to drop connection that doesn t have pending request and based on what premises?

最佳回答

Usually this is based on the operating system its self. Optionally to best account for performance, make this value an changeable option. [Put it in a properties file] The amount of connections open depends on your hardware, OS, and lengths of jobs performed by the clients. If the jobs performed by the server are light on network traffic and processing you may be able to get away with the maximum allowed open connections.

问题回答

暂无回答




相关问题
Scaling Rails with Cache-on-write

I currently have a rails app that uses the traditional caching. cache do blocks are used to cache slow-rendering partials. This works great for the most part, except for a few pages which take too ...

How to create an ASP.NET web farm?

I am looking for information on how to create an ASP.NET web farm - that is, how to make an ASP.NET application (initially designed to work on a single web server) work on 2, 3, 10, etc. servers? We ...

Is this way of using Excel 2007 Pivot table for BI scalable?

Background: We need to consolidate sales data across the country to do analysis Our Internet connection/IT expertise/IT investment is not quite strong, therefore full BI solution is out of question ...

High-traffic, Highly-secure web API, what language? [closed]

If you were planning on building a high-traffic, very secure site what language would you use? For example, if you were planning on say building an authorize.net-scale site, that had to handle tons ...

AS3: Faster to use EventListeners or ArrayLoops?

I am writing a game in AS3 and have, as an example, around 40 objects on screen. Let s say they are clouds. I m wondering which of the two paths would be less a strain on system resources: a) Put an ...

热门标签