Welcome Guest! To enable all features please Login or Register.



Capacity of concurrent client connections to a hosted app on Ultidev web pro
#1 Posted : Wednesday, March 22, 2017 5:01:21 AM(UTC)
Groups: Member
Joined: 3/22/2017(UTC)
Posts: 1

Thanks: 1 times

Thank you for the most awesome hosting gadget ever!

Regarding the load and capacity and conncurrency, do we have published numbers on what kind of concurrent connections can be made without timing out? or having similar errors to this "System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host"

Ill explain my case, so we chose a normal PC (good specs i7, 6Gb ram, 4-6 cores and 1 TB) and installed/configured UWS pro with an application that will be used on an intranet level. Access occurs through either wi-fi or Ethernet on the same network and no firewall rules or restrictions.

The issue is, with increasing number of users 300+, we started noticing delays in fetching/sending data and sometimes through observing logs etc... We started wondering if we need to expand vertically or horizontally, or perhaps there are restrictions by default on the number of users which we can configure?

Your earliest feedback on this would be highly appreciated and upon providing a comprehensive guidance, it will be met with a great reward! Thank you for a great product!
Ultidev Team
#2 Posted : Wednesday, March 22, 2017 8:41:48 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)

Thank you for the kind words about our little server.

We don't have numbers regarding the throughput, because they can vary a lot depending on several factors that are not under UWS control.

Our throughput should be comparable with IIS, with IIS app pool being single-process (not web-garden).

Actual throughput depends on following factors:
- Obviously, on the average time it takes your app to process a request.
- On whether you use a server or a consumer version of Windows. Consumer versions have very limited number of inbound TCP connections: anywhere from 2 (Home version) to 10 (Pro/Enterprise). Windows Server doesn't have that limitation and therefore can serve vastly larger number of concurrent users all things being equal.
- On how long a connection is kept open via "keep-alive" after it was used. Shorter keep-alive settings allows more concurrent users sending requests in rapid succession, at the expense of slower subsequent request processing time required to re-open a connection. This is especially important on consumer versions of Windows with limited number of inbound TCP connections: no keep-alive combined with very fast request processing by the app may allow lots of quasi-concurrent requests coming from different users to be handled, enabling high throughput.

Finally, another thing to note is that UWS, just like IIS, uses http.sys driver to handle incoming http requests. Connections get refused in most cases by the the OS on the host system - before UWS ever gets a chance to process it.

We suspect this information is not as clear cut an answer as you have hoped, but this information should let you adjust the "knobs and dials" of your application and hosting environment settings to find the desired balance between the number of concurrent requests and average request processing time, or to find performance bottlenecks if they exist.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
1 user thanked Ultidev Team for this useful post.
chaoster on 3/23/2017(UTC)
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.