Question:
How can the speed of interaction between the client and the server when loading a webpage be affected?
ShadoW
2011-04-26 02:40:27 UTC
What can affect the speed of interaction when loading a webpage between a client and a server ?

How can it be affected depending on what the client and server computer are doing, how they are connected, and what they consist of ?
Three answers:
2011-04-26 04:34:29 UTC
The server type, i.e. shared or dedicated has a huge impact. It simply isn't right to say that it's not a case of what the server is doing.



Imagine your server is trying to serve up 100 websites, that puts a far higher strain on the server than a dedicated server only dealing with your website. If the server is over subscribed, or serving a high-traffic site then the page generation times incease quite quickly.



The type of jobs you're asking your server to do also affect it. Ideally you want a server handling your database requests independent, but geographically close, to your webserver so that each server has a single job to do.



What can affect the speed of interaction:



- Client speed

- Server speed

- Server load

- Line speed (client side - available bandwidth versus theoretical max)

- Server bandwidth

- Number of database requests per page

- Encryption

- Etc... that list is by no means exhaustive.



I've touched on your second question above, but if you're separating out your servers, i.e. webserver, database server, payment gateway etc, having them geographically close and linked with fibre lines will make a huge difference because you effectively negate the communication time between them.



If they were taking a long time to communicate with each other you'd see that as a compounded delay at the client side. If you've got them in the same building then communication via CAT5 is almost instant for the size of packets you'd be talking about.



What they consist i'm assuming means server type and hardware. Just like your PC at home, how quick it is and how quickly it can execute tasks has a massive impact on how quickly you can work and what you can do. The same is true with servers. The more powerful the server the quicker it can serve your site. That's true at all levels.



The database management system you're using will also have an impact. Using something heavy-weight when you don't really need it will slow your DB server down. Choose something light, like MySQL and you'll see performance improvements at the server.
2011-04-26 11:18:39 UTC
The major factor controlling this issue, is bandwidth of the leased line.

it is not a case of what the client or server is doing but more a question of bandwidth available.

it is no use using an ADSL circuit for a server as it's bandwidth will vary considerably due to the available bandwidth at anyone time.

a dedicated DFAC circuit is required these tend to come in 64k/sec bit bandwidth chunks here in the united kingdom and in 56k bit/sec bandwidth chunks in the United states of america.

the two systems have little compatibility Scaling up to .

the greater chunks being 2 Meg/bits a second Uk and 1.5meg/bit second USA.

larger data blocks are available but all is controlled by cost.
geekogeek
2011-04-26 09:51:52 UTC
the version of software used by the client if it low than the expected by the server side then the speed may be affected



the anti virus software on the client system can be the reason for low speed loading


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...