Click here to Skip to main content
15,893,968 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello friend

I make one function which is access by 1000 user simultaneously.
is the system slow or not.

If yes, any solution for that.

exm: I have one function like Insert().

this function user in 20 pages. if this 20 pages access in same time.
then what happen ? is system slow for this or not.
Posted
Comments
Sergey Alexandrovich Kryukov 10-Nov-15 2:20am    
There is no such thing as "same time". It depends on reference coordinate system. And how things slow down depends on what you have on the server side. A big Web factory with load balancing will swallow it all pretty well.
—SA

1 solution

Yes, probably. If you have multiple users accessing the site at the same time, then the available resources of the hosting system will be distributed across them - and the fewer resources there are to start with the fewer simultaneous users can be supported without slowdown. Look at any site - when they get busy, pages are served more slowly because the server farm(s) are responding to more users.
It's like having friends round and offering them a cup of tea. If you have 6 cups, then up to 5 friends can have a tea with you simultaneously - but if there are ten, then some will have to wait for a cup to become available! :laugh:

Can you avoid it? Well, yes - sometimes - but it generally costs more. Talk to your hosting people and they can allocate more resources specifically to you - and charge you for the privilege, so try to be really accurate about your needs! Exactly what resources you will need will depend on what the "function" is doing - if it's accessing a database, then you may find you also need to look at increasing the Database bandwidth allocated to you as well for example.
 
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