I am creating a web application having a login page where the number of users can log in at the same time. so here I need to handle the number of requests at the same time.
I know that this has already been implemented for a number of popular sites such as G talk .
So, I have some questions in my mind.
"How many requests can a port handle at one time?"
How many sockets can I create (server)? are there any restrictions?
For example, as we know, when we implement communication with a client server using Socket (TCP) programming, we transfer the "port number (unreserved port number) to the server to create a socket.
So, I want to say that if 100,000 requests were received at a time, then what would be the port's approach to these requests.
Is he manitains some queue for all these requests, or does he just accept the number of requests according to his limit? if so, what is the size of the port request processing restriction?
Summary: I want to know how the server serves several requests at the same time? I don't know anything about this. I know that we connect to the server through its ip address and port number. Therefore, I thought that there is only one port, and many requests come to this port only through different clients, since the server manages all the requests?
That is all I want to know. If you explain this concept in detail, it will be very helpful. Thanks anyway.