Presentation is loading. Please wait.

Presentation is loading. Please wait.

New HTTP Protocols HTTP/0.9 -Earliest standard simple GET/PUT requests (no headers, constraints, resolution) HTTP/1.0 - Current standard Request For Comment.

Similar presentations


Presentation on theme: "New HTTP Protocols HTTP/0.9 -Earliest standard simple GET/PUT requests (no headers, constraints, resolution) HTTP/1.0 - Current standard Request For Comment."— Presentation transcript:

1 New HTTP Protocols HTTP/0.9 -Earliest standard simple GET/PUT requests (no headers, constraints, resolution) HTTP/1.0 - Current standard Request For Comment (promulgation of Internet standards decision by feedback and consensus) HTTP/1.1 -Proposed future standard

2 Failings of HTTP/1.0 Fetches only 1 URL per TCP connection (Network server) overhead from frequent closing/reopening of connections Most GETs are only a few thousand bytes (e.g., small_ball.gif) Poor user-perceived performance (latency, slow start) Primitive caching model Temporary hack solution: Open N TCP connections simultaneously (default = 4 with Netscape)

3 Goals of HTTP/1.1 Improved caching (including better models of what is cachable and time resolution in milliseconds instead of seconds) Range requests (partial document download) - ability to specify GET on a range (e.g., only bytes 1000-2000 or 35000+) - useful when transfer interrupted, no need to start from scratch Persistent connections Requests/responses pipelined Default is for connection to stay open except when explicit close command from server So, reduced network usage and improved user response time and throughput

4 HTTP/1.1 Improvements (cont.) Chunk encoding In many cases with HTTP/1.0, length of document Content negotiation Host must announce its name serer (required) Security ???

5 HTTP/1.1 Improvements (cont.) Better compression and graphical element reuse Many GIF files contain graphic primatives that could be represented more efficiently as sequences of markup (pointers to stored primatives) Empirical dataUSE CSS1 encoding protocol for GIFs

6 Pipelining Client Server Client Server Time Request 1 Response 1 2 2 3 3 Request 1 2 3 Response 1 3 2

7 Unresolved Future Issues SOIF node connections Compression standards Hit count reporting to improve caching Multiplexing of HTTP stream Before After ServerClient (Pipelined transfer) in single TCP connection (multiplexing) Server Client

8 1. Simple Breadth-First 2. Localized multiple GETs (to optimize persistent connections) Threshold on bytes transferred per connection, but constantly re-establishing connections is wasteful Queueing Strategies 2341 567891011 1 234 5 678 9 101112

9 Queueing Strategies 3. Site-specific subqueues (ensure not too many hits on one site in time) jhu.edu nyu.edu cnn.com toshiba.com Problem?

10 jhu.edu nyu.edu cnn.com Queueing Strategies 4. Priority Queues (with minimum time between hits constraint) Avoids situations if number of sites active take longer to traverse than minimum hit window. ibm.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


Download ppt "New HTTP Protocols HTTP/0.9 -Earliest standard simple GET/PUT requests (no headers, constraints, resolution) HTTP/1.0 - Current standard Request For Comment."

Similar presentations


Ads by Google