13

I'm about to buy a router for a location where there are usually 10~20 guests using their laptops/smartphones/tablets for connecting to the Internet.

My router of choice has a cheaper variant that handles 10,000 concurrent sessions while the more expensive one's limit is 30,000.

I can't really interpret what does that in practice mean.

It should be an easy math: required capacity = nr. of users X nr. of connections per user.

Approximately how many concurrent connections does an "average" user consume?
With average I mean: A user that browses the net, watches youtube, reads email and so on. I'm OK with an approximate nr.

17
  • Your question is impossible to answer. What is an average user?
    – DavidPostill
    May 7, 2017 at 12:58
  • @DavidPostill One that browses the net, watches youtube, reads email and so on. I'm OK with an approximate nr. May 7, 2017 at 13:05
  • We are not here to do your research for you.
    – DavidPostill
    May 7, 2017 at 13:07
  • 1
    @ramhound I agree and I will answer the question. I have done some research in this area in the past to determine router-scaling issues so I have some rule of thumb estimates. Moved comment regarding "what is average" info the question.
    – Tonny
    May 7, 2017 at 14:46
  • 1
    @ramhound I normally would agree, but in this particular setup hard figures simply don't exist. I do have very reasonable estimates though. Proven valid over several years of experience setting up routers for similar deployments.
    – Tonny
    May 7, 2017 at 15:08

1 Answer 1

18

I have been in the same situation providing internet connectivity for multiple satellite offices. And I discovered that this information is not really available on the internet.
So I have done a fair number of measurements to establish a base-line rule-of-thumb for how many connections typical users actually need.

First of all a single "typical user" doesn't exist. Usage varies wildly from one person to the next depending mainly on their web-surfing habits.

The typical Windows computer with a fairly normal selection of standard software (some Google apps, some Adobe products, Microsoft Office) will always have 10-15 connections going just for things like basic checking for updates, telemetry and data-syncing. This can peak briefly to as much as 50-100 connections after boot/login as all of the background applications do their startup checks.

Web-browsers typically will keep 3-5 connections open for each tab/window (even if it is not the active tab/window). This can easily ramp up to 15-20 if the tab runs an online app (Microsoft Office web-apps, Google Docs, SharePoint. etc.).
Additionally while loading/reloading/refreshing any page the browser may briefly go to 10-50 connections extra to fetch various parts of the web-page. Especially advertisement heavy pages can really push this upwards if the user doesn't use an ad-blocker plugin. And be aware that many ad-banners in web-pages load some code to auto-refresh every X seconds, even if the user has this tab made inactive or minimized.

Obviously it makes a lot of difference how many browser-tabs your users typically keep open continuously during the day and how refresh-intensive those pages are.

When you add it all up we concluded the following:
Light users: 30-50 connections on average -> peaks up to 120-250
Heavy users: 60-100 connections on average -> peaks up to 250-500
The good news is that peaks are peaks. Not everyone has them at the same time.

Given that we need to provide for N users on a given router we calculated the required minimum capacity as follows:
60*N (based on low-end of a heavy user) + 500*N/5 (assuming 1 in 5 users is hitting heavy user peak-load at any given time)
Or simplified: 160*N
You can adjust the 160 upwards or downwards as needed if you feel it is not generous enough (or too much).
So in your case the 10.000 connections router should be more than enough.

2 major caveats to mention:

  1. Many SOHO routers have a Statefull Packet Inspection (SPI) feature. Experience has shown me that they often work a lot better when you switch that off. Even though they sport the feature as an "optimization" to handle high load better, many such routers don't have the RAM and/or CPU capacity to do it right. As a result things actually slow down or the router becomes unstable. Something to bear in mind if your router appears to act up.
  2. If any of your users is using BitTorrent on a regular basis allocate at least 500 connections for that user alone. If the user gets creative with BitTorrent settings in the BitTorrent client don't be surprised if he manages to consume 2000+ connections all by himself.
    BitTorrent can be really nasty in that regard. 1 or 2 torrents running isn't usually such a big deal, but when someone keeps 20-30 torrents seeding simultaneously things go downhill quick.
4
  • 7
    This is one of the highest quality answers I've ever received. May 9, 2017 at 6:05
  • 1
    Do you know how mobile phones compare to computers?
    – Sam Dean
    May 13, 2019 at 10:17
  • 3
    @SamDean Phones connected by Wifi I presume ? Phones can make quite a lot of connections (depending on how many apps are used/installed and how the user configured the privacy settings) but in general the actual payload per connection is quite small and the number of simultaneous connections is quite low. We usually find that we don't have to explicitly account for the phones. On sites with heavy wifi usage by phones we usually reckon that about 5 phones can be treated as 1 extra user on the network.
    – Tonny
    May 13, 2019 at 13:54
  • 1
    @Tonny Yes via Wifi. Thanks very much
    – Sam Dean
    May 14, 2019 at 8:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .