473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ASP.net , http and socket creation

Hi all,
please help me out
"IF 25000 users request a yahoo page, will 25000 sockets will be
created"

For the Server to know which client has requested what there
has to be a socket with the client port no and IP address with the
server port no and IP address. This is my knowledge.

But I came to know this is not the right way,

Can anyone explain to me how this works

please help me out in this I badly need the answer
Nov 18 '05 #1
3 1435
thomson wrote:
please help me out
"IF 25000 users request a yahoo page, will 25000 sockets will be
created"

For the Server to know which client has requested what there
has to be a socket with the client port no and IP address with the
server port no and IP address. This is my knowledge.


This really isn't an ASP.NET question, per se. You might have better
luck asking on a newsgroup that focuses on low-level details of how a
Web server works, such as microsoft.public.inetserver.iis, or one of the
newsgroups in comp.infosystems.www.servers

Personally, I'm not 100% clear what you are asking. To my knowledge -
which is limited in this area - whenever a request comes into an OS, a
socket is created for the lifetime of the request. But afterwards, the
socket is closed, and can be reclaimed by another incoming request.
Too, as I understand it there are limitations on how many concurrent
incoming communications a system could handle, with bottlenecks at
various points in the network topology.

--

Scott Mitchell
mi******@4guysfromrolla.com
http://www.4GuysFromRolla.com

* When you think ASP.NET, think 4GuysFromRolla.com!
Nov 18 '05 #2
"Scott Mitchell [MVP]" <mi******@4guysfromrolla.com> wrote in message news:<41**************@4guysfromrolla.com>...
thomson wrote:
please help me out
"IF 25000 users request a yahoo page, will 25000 sockets will be
created"

For the Server to know which client has requested what there
has to be a socket with the client port no and IP address with the
server port no and IP address. This is my knowledge.


This really isn't an ASP.NET question, per se. You might have better
luck asking on a newsgroup that focuses on low-level details of how a
Web server works, such as microsoft.public.inetserver.iis, or one of the
newsgroups in comp.infosystems.www.servers

Personally, I'm not 100% clear what you are asking. To my knowledge -
which is limited in this area - whenever a request comes into an OS, a
socket is created for the lifetime of the request. But afterwards, the
socket is closed, and can be reclaimed by another incoming request.
Too, as I understand it there are limitations on how many concurrent
incoming communications a system could handle, with bottlenecks at
various points in the network topology.


Hi
Scott you got my question, You agree that a socket gets created
when a user requests a webpage, But if 25000, users concurrently
request a Webpage Will 25000 sockets will be created, thats all

Regards
thomson
Nov 18 '05 #3
> Scott you got my question, You agree that a socket gets created
when a user requests a webpage, But if 25000, users concurrently
request a Webpage Will 25000 sockets will be created, thats all


Again, I'm not privy on the details, and I'd wager it differs by OS. I
imagine there is some upper bound on the number of concurrent sockets,
but assuming that it's greater than 25000, then, sure, 25000 concurrent
requests would queue up 25000 sockets.

Again, take what I say with a grain of salt, I'm just knowledgeable
enough in this topic to make plausibly sounding arguments for statements
that are utterly incorrect.

--

Scott Mitchell
mi******@4guysfromrolla.com
http://www.4GuysFromRolla.com

* When you think ASP.NET, think 4GuysFromRolla.com!
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Guillaume Brocker | last post by:
Hi ! I'm opening a socket to a web server on port 80 located on my LAN with fsockopen. The socket creation fails and PHP returns "php_network_getaddresses: getaddrinfo failed: Name or service...
4
by: Wenslauw | last post by:
I have a thread that reads from a socket and I want to put the data that's read into a JTextArea in my gui. What would be the prettiest way of doing this? Listeners? Passing the JTextArea to the...
3
by: Ricardo Quintanilla | last post by:
i had a problem whom i do not know how to explain. i was using a TcpClient (System.Net.Sockets.TcpClient) object to send and receive data to an AS400 socket. Two months ago it started to work...
7
by: Nuno Magalhaes | last post by:
I've got a problem which relates to reading HTTP data. I've got the socket connected to a web site and then I send "GET / HTTP/1.1\n\n" and the page is received after a while but not all of the...
4
by: Rain | last post by:
Im using Socket Server and im looking for a way to make my application more efficient. Any help, ideas, suggestions would be very much appreciated. Here's my problem: Since im using socket...
1
by: Alper AKCAYOZ | last post by:
Hello, I have developped asynchronous socket communication with blocking Socket commands (accept, connect, send, receive) by using threads on Windows .NET Forms. It is working properly. Now I...
2
by: Steve Walton | last post by:
We have a little server application that sends data down to a client application via a TCP/IP socket over port 30006. These applications are both written in C#. They have been working on our site...
2
by: apollo135 | last post by:
Dear All, Could someone help and tell me how to handle multiple send and receive operations with udp sockets? In fact here is my problem: server.c is composing of serveral sub programs (the...
15
by: udayahirwal2 | last post by:
Can i create 4 sockets on same ip address with different portnumbers. I am working on windows mobile.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.