Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using more then 65535 ports at one time?

Status
Not open for further replies.

BigKahoona

Technical User
May 8, 2006
1
DE
Hi,
as far as i know a webserver like for example needs a free port for every connection he is answering to.
But there are more than 65535 connections to at on time i think.
How does google manage more connections than they got ports??

sorry for my poor english.

Thanks for help.
 
Global load balancing and PAT (port address translation). Google doesn't have a single web server handling their entire website. :) I would imagine that Google has hundreds of servers spread out all over the world.
 
I would imagine that Google has hundreds of servers spread out all over the world.

Thousands, in fact :)


Carlsberg don't run I.T departments, but if they did they'd probably be more fun.
 
BigKahoona,

How about 31,500 servers!!

------------------------------------------------------------

How many Google machines

April 30, 2004
An interesting tidbit coming out of the Google S-1 filing is that they have spent about $250 million on hardware equipment. From there, we can get a few guesses at the magnitude of the Google system. Based on quick back of the envelope calculations, it looks like Google is managing between 45,000 and 80,000 servers. Here's how I arrived at this conclusion:

According to calculations by the IEEE, in a paper about the Google cluster, a rack with 88 dual-CPU machines used to cost about $278,000. If you divide the $250 million figure from the S-1 filing by $278,000, you end up with a bit over 899 racks. Assuming that each rack holds 88 machines, you end up with 79,000 machines.

However, one must recognize that equipment is not all CPUs. As a result, you must discount the figure of $250 million to account for routers, firewalls, machines for employees, etc... So let's assume for a minute that only about $200 million is going to the CPUs. That still leaves us with 719 racks or a bit over 63,000 machines.

Even if we discount other equipment to be costing $100 million, we end up with a bit over 31,654 machines on 359 racks.
-----------------------------------------------------------



E.A. Broda
CCNA, CCDA, CCAI, Network +
 
Also if I understand correctly (if not please help me understand) it is not really about the limit of 65535 ports.

Since Google in this case is the "server" it listens on tcp port 80 for a incoming connection from a client using a client tcp port number range,so this along with the source and dest IP addresses create the socket.

So for example if Google did only have one server it would not be limited by the port limit of 65535 (actually less due to well known ports, etc.) but by memory and other resources on the PC.

Thanks
dcss00
 
So Google has thousands of servers all listening on TCP port 80 for a incoming connection request.

Each server can support hundreds/thousands (not a server person so don't know a real numer here) of seperate connections on tcp port 80.

dcss00
 
dcss00

YES!! Google is setup to handle millions of connections - read about it - it is pretty neat!

Just Google - "Google infrastructure" and you can read lots of reports on how Google does it !

Is there a point you are trying to get to?



E.A. Broda
CCNA, CCDA, CCAI, Network +
 
Thanks I will read about the Google infrastructure,

I read the original post as a question of how can Google handle more that 65535 connections at a time since there are only 65535 ports.

My point was that the google servers use TCP port 80 and millions of clients use dynamic ports.

So it is not about a limit of port numbers.

dcss00
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top