URI schemes

DCU proxy servers

Dynamic pages - server-side

Dynamic pages - client-side

RSS demo page


The Web



HTTP client

Web browser

Uses MIME types.
(a) Plug-in - Runs inside browser process.
(b) Helper application - Separate process.





HTTP server

Doesn't make separate disk access for every file request - too slow.
Instead maintains cache in memory of frequently accessed files.
Multi-threaded.
Site spread over multiple disks to help many reads going on at once.



For high-demand sites: Multiple copies of entire site - "server farm" - front end routes requests to different CPUs.

Problem: OK to have all (small size) requests come in through one front end and get routed to searching nodes.
Not OK to have all (large size) replies go back through one front end - bottleneck.
Solution: TCP handoff - trick to have the searching node reply directly in a manner that is invisible to client.
The reply load is therefore distributed over all the nodes.



URI schemes


Some URL formats.


URI schemes listed above:

Others:




HTTP and HTML reference




How to write a web page




Keeping state

Relating one client-server stateless request with other client-server requests.

Identify user (pay-to-view, register, personalisation). Shopping carts.



Structuring content


XML


XHTML




Dynamic pages - server-side




Dynamic pages - client-side




Performance (client-side)


Caching



DCU proxy servers

  1. wwwproxy.computing.dcu.ie = 136.206.11.243 (forwards requests through 136.206.11.249)

  2. proxy.dcu.ie = alternates between returning 136.206.1.17 or 136.206.1.20 (for load balancing)

To set proxy, something like:
  1. Firefox - Tools - Options - Network - Settings
  2. IE - Tools - Options - Connections - LAN settings

You may use a proxy auto-config (PAC) file:

  1. http://www.computing.dcu.ie/proxy.pac
  2. http://proxy.dcu.ie/proxy.pac


Test the IP address other sites see: