Click here to Skip to main content
15,912,756 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi , I am doing a project of Finance . I want to ask that when 1000 of user hit the request for sometning, and the request goes to some API, then how can i handle the request. how can i identify..which response for which request ..

What I have tried:

I am just doing in normal way ..
Posted
Updated 26-Aug-16 8:07am
v2
Comments
Richard MacCutchan 26-Aug-16 12:17pm    
What is "normal way"?

1 solution

Quote:
how can i identify..which response for which request ..
You don't have to.

Simply because the server don't have 1000 network cards, each request is received 1 at the time and the server create a thread for each request. This way a thread show 1 request to the copy of the handler.

This is only the great lines.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900