3

(Sorry if this question looks silly.) I see that many popular hosting companies still offer (primarily) a 100mbps network switch - Hostgator and Rackspace are good examples. While very few exist that offer a gigabit uplink connection - mediatemple for example - large companies (like Softlayer, probably the only company) even offer 2Gbps and 10Gbps ports .

But all this does make sense to me. How is this going to affect the performance of a website or server? How should someone know if they require more than 100mbps?

Consider a wordpress blog receiving 40-50 million page views a month and a single page size of 1.5mb. Does it require a 1Gbps uplink?

  • 9
    If you're asking about it, you don't need it. – Michael Lowman Aug 12 '11 at 15:17
  • @Michael Lowman Of course, I know that. I was wondering what difference they make in performance of the server / website. –  Aug 12 '11 at 15:23
  • For context: [Stack*'s architecture](http://highscalability.com/blog/2011/3/3/stack-overflow-architecture-update-now-at-95-million-page-vi.html). The traffix is pretty crazy, yet they only use 55 Mbps. Gigabit interconnections between servers are more likely to be useful, though. – Michael Lowman Aug 12 '11 at 15:30
  • @Michael Lowman Okay, now if we consider a wordpress blog receiving 40-50 million page views a month, does it require a gigabit/1Gbps uplink? –  Aug 12 '11 at 15:32
  • 2
    Side note: 2Gbps is just a 1Gbps connection. They're all full duplex (normally), but nobody advertises that unless they're desperate to *sound better* than the competition to uninformed buyers. – Chris S Aug 12 '11 at 15:35
  • 1
    @Aahan 50m pages per month / 30 days / 24h / 60min /60 sec = 20 pages per second. Unless those pages are >625KB each you'll be using less than 100Mbps. – Chris S Aug 12 '11 at 15:37
  • @Chris S the pages for example are like this: http://mashable.com So, a website of that size will need a 1Gbps uplink right or what's the alternative? –  Aug 12 '11 at 15:39
  • @Aahan, a quick analysis of that site: http://tools.pingdom.com/?url=http://mashable.com/&treeview=0&column=objectID&order=1&type=0&save=true shows about 450KB of HTML, not sure how much of that is dynamic vs. static. Most of it (by far) should be on a CDN (looks like that site already uses one) and only the dynamic (or related) content should be on the hosted webserver. Still 450KB @ 50M pages/month wouldn't be enough to saturate a 100Mb connection consistently (peaks in traffic likely would saturate it from time to time). – Chris S Aug 12 '11 at 17:33
  • 6
    If your page is 1.5MB (or 1.5Mb) then you've got bigger problems than your connection upload speed. The bottleneck will be your client's end connection. Why is your page so feckin huge? – Tom O'Connor Aug 12 '11 at 21:19
  • @Tom O'Connor hehe! I was talking about the total page size. Most of it will be over a CDN, so around 500KB (max.) remains, which should be served by the server. Since you asked here are some pages are more than 1.5mb in size: mashable.com, thenextweb.com –  Aug 13 '11 at 00:04

2 Answers2

13

Practically, few webservers can move data fast enough to significantly saturate GigE network links. The ones that can tend to be those that either stream large files (video, .ISO-fles, and the like), or are very busy static-content servers. Application logic tends to slow things down to the point that the webserver will run out of other resources before they run out of bandwidth.

That said, there are some applications where a faster source really does come into its own and that's computing latency and overall network throughput. We covered this on ServerFault recently in a pair of questions:

That's a case where transient saturation of a GigE link seems to cause an overall decrease in perceived throughput.

As for figuring out when you need to upgrade your bandwidth to the server, that depends a lot on what you're doing with the server. For a server where each page-load requires hundreds of connections, you'll probably run into it sooner than one that only needs 15 connections. It varies.

sysadmin1138
  • 131,083
  • 18
  • 173
  • 296
-5

Considering server with 10 Gbps port and full bandwidth 10 Gbps you should be able transfer around 3200TB/monthly (by bandwidth 5 Gbps around 1600TB). For 1 Gbps you could use per month about 300TB. Always ask your server provider about usage of the bandwidth and connectivity.

sysadmin1138
  • 131,083
  • 18
  • 173
  • 296
EvertW
  • 1