Top Banner
1 Distributed Systems Distributed Web-Based Systems Chapter 12
28

1 Distributed Systems Distributed Web-Based Systems Chapter 12.

Jan 14, 2016

Download

Documents

Stella Fox
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

1

Distributed Systems

Distributed Web-Based Systems

Chapter 12

Page 2: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

2

Course/Slides Credits

Note: all course presentations are based on those developed by Andrew S. Tanenbaum and Maarten van Steen. They accompany their "Distributed Systems: Principles and Paradigms" textbook (1st & 2nd editions).http://www.prenhall.com/divisions/esm/app/author_tanenbaum/custom/dist_sys_1e/index.html

And additions made by Paul Barry in course CW046-4: Distributed Systems

http://glasnost.itcarlow.ie/~barryp/net4.html

Page 3: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

3

Traditional Web-Based Systems

The overall organization of a traditional Web site

Page 4: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

4

Web Documents

Six top-level MIME types and some common subtypes

Page 5: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

5

Multitiered Architectures

The principle of using server-side CGI programs

Page 6: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

6

Web Services Fundamentals

The principle of a Web service

Page 7: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

7

Processes – Clients (1)

The logical components of a Web browser

Page 8: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

8

Processes – Clients (2)

Using a Web proxy when the browser does not speak FTP

Page 9: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

9

The Apache Web Server

The general organization of the Apache Web server

Page 10: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

10

Web Server Clusters (1)

The principle of using a server cluster in combination with a front end to implement a Web service

Page 11: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

11

Web Server Clusters (2)

A scalable content-aware cluster of Web servers

Page 12: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

12

HTTP Connections (1)

(a) Using non-persistent connections

Page 13: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

13

HTTP Connections (2)

(b) Using persistent connections

Page 14: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

14

HTTP Methods

Operations supported by HTTP

Page 15: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

15

HTTP Messages (1)

(a) HTTP request message

Page 16: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

16

HTTP Messages (2)

(b) HTTP response message

Page 17: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

17

HTTP Messages (3)

Some HTTP message headers

Page 18: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

18

HTTP Messages (4)

Some HTTP message headers

Page 19: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

19

Simple Object Access Protocol

An example of an XML-based SOAP message

Page 20: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

20

Naming (1)

Often-used structures for URLs. (a) Using only a DNS name. (b) Combining a DNS name with a port number. (c) Combining an IP address with a port number.

Page 21: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

21

Naming (2)

Examples of URIs

Page 22: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

22

Web Proxy Caching

The principle of cooperative caching

Page 23: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

23

Replication for Web Hosting Systems

The general organization of a CDN as a feedback-control system (adapted from Sivasubramanian et al., 2004b)

Page 24: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

24

Adaptation Triggering

One normal and three different access patterns reflecting flashcrowd behavior (adapted from Baryshnikov et al., 2005)

Page 25: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

25

Adjustment Measures

The principal working of the Akamai CDN

Page 26: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

26

Replication of Web Applications

Alternatives for caching and replication with Web applications

Page 27: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

27

Security (1)

The position of TLS in the Internet protocol stack

Page 28: 1 Distributed Systems Distributed Web-Based Systems Chapter 12.

28

Security (2)

TLS with mutual authentication