Beruflich Dokumente
Kultur Dokumente
!bi"uitous net or#s Internet $obile phone net or#s Corporation net or#s %actory net or#s Campus net or#s &ome net or#s ''
Distributed System Definition ( distributed system is one in hich hard are or soft are components located at net or#ed computers communicate and coordinate their actions only by passing messages)
+o global cloc#
programs coordinate actions by exchanging messages
Independent failures
hen some systems fail, others may not #no
Share resources
It characterizes the range of the things that can usefully be shared in a net or#ed computer
It extends from hard are components to soft are-defined entities) It includes the stream of .ideo frames and the audio connection)
Chapter 1: Characterization of Distributed Systems Introduction Examples of distributed systems Resource sharing and the eb Challenges Summary
%amiliar and idely used computer net or#s /he Internet Intranet $obile computing
Internet
It is a .ery large distributed system that allo s users throughout the orld to ma#e use of its ser.ices)
/he Internet
intranet ISP
backbone
( typical Intranet
email server print and other servers Local area network
Des#top computers
Web server
email server File server print other servers the rest of the Internet router/firewall
/hree main issues in the design of components for the use in intranet %ile ser.ices %ire all /he cost of soft are installation and support
* 1earable de.ices
e)g) smart atches, digital glasses
$obile and ubi"uitous computing ' continued $obile computing 6nomadic computing7
* (ccess resources hile on the mo.e or in an unusual en.ironment * Location-aware computing: utilize resources that are con.eniently nearby
ost intranet
Wireless L!"
W!P #atew a$
ome intranet
Printer Camera
ost site
Issues in the design of components for the use in $obile and ubi"uitous computing Disco.ery of resources Eliminating the need for users to reconfigure their mobile de.ices /o cope ith limited connecti.ity as they tra.el 5ro.ide pri.acy and other security guarantees
Chapter 1: Characterization of Distributed Systems Introduction Examples of distributed systems Resource sharing and the eb Challenges Summary
Server
* a process on net or#ed computer that accepts re"uests from processes on other computers to perform a service and responds appropriately
Client
* the re"uesting process
Remote invocation
* ( complete interaction bet een client and server, from the point hen the client sends its re"uest to hen it recei.es the ser.er8s response
&/$3
<IMG SRC = http://www.cdk3.net/WebExample/Images/earth.jpg> <P> Welcome to Earth! Visitors may also be interested in taking a look at the <A HREF = http://www.cdk3.net/WebExample/moon.html>Moon</A>. <P> (etcetera)
&/$3 text is stored in a file of a eb ser.er) ( bro ser retrie.es the contents of this file from a eb ser.er) -/he bro ser interprets the &/$3 text -/he ser.er can infer the content type from the filename extension)
!R3
S c h e m e : sc h e m e -sp e c ific -lo c atio n e .g: m ailto :jo e @ an IS P .n e t ftp ://ftp .d o w n lo ad It.c o m /so ftw ar e /aP r o g.e x e h ttp ://n e t.p k u .e d u .c n / .
&//5 !R3s are the most idely used (n &//5 !R3 has t o main 0obs to do: - /o identify hich eb ser.er maintains the resource - /o identify hich of the resources at that ser.er
Activity.html
&//5 !R3s
http:::ser.ername;:port<::path+ame=nSer.er<;2arguments< e)g) http::: )cd#>)net: http::: ) >c)org:5rotocols:(cti.ity)html http:::e)p#u)cn:cgi-bin:allsearch2 ord?distributed@system
--------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
&//5 Defines the ays in hich bro sers and any other types of client interact ith eb ser.ers 6R%CAB1B7 $ain features
* Re"uest-replay interaction * Content types) /he strings that denote the type of content are called $I$E 6R%CACDE,ACDB7 * =ne resource per re"uest) &//5 .ersion 1)C * Simple access control
Do nloaded code
* Ga.aScript * (pplet
Discussion of 1eb
Dangling: a resource is deleted or mo.ed, but lin#s to it may still remain %ind information easily: e)g) Resource Description %rame or# hich standardize the format of metadata about eb resources Exchange information easily: e)g) H$3 * a self describing language Scalability: hea.y load on popular eb ser.ers $ore applets or many images in pages increase in the do nload time
Chapter 1: Characterization of Distributed Systems Introduction Examples of distributed systems Resource sharing and the eb Challenges Summary
=perating systems
* different (5I of !nix and 1indo s
5rogramming languages
* different representations for data structures
$obile code
* is used to refer to code that can be sent from one computer to another and run at the destination
=penness =penness of a computer system -- is the characteristic that determines hether the system can
be extended and re-implemented in .arious ay) e)g) !nix
&o to deal ith openness2 -- #ey interfaces are published, e)g) R%C
Security Confidentiality
protection against disclosure to unauthorized indi.iduals, e)g) (C3 in !nix %ile System protection against alteration or corruption, e)g) chec#sum protection against interference ith the means to access the resources, e)g) Denial of ser.ice
Integrity
(.ailability
Scalability
( system is described as scalable
* if ill remain effecti.e hen there is a significant increase in the number of resources and the number of users
%ailure handling
Detecting
* e)g) chec#sum for corrupted data * Sometimes impossible so suspect, e)g) a remote crashed ser.er in the Internet
Masking
* e)g) Retransmit message, standby ser.er
Tolerating
* e)g) a eb bro ser cannot contact a eb ser.er
Recovery
* e)g) Roll bac#
Redundancy
* e)g) I5 route, replicated name table of D+S
Concurrency Correctness
* ensure the operations on shared resource correct in a concurrent en.ironment e)g) records bids for an auction
5erformance
* Ensure the high performance of concurrent operations
Location transparency
*
Concurrency transparency
*
Replication transparency
*
Mobility transparency
*
Performance transparency
*
Scaling transparency
*
Chapter 1: Characterization of Distributed Systems Introduction Examples of distributed systems Resource sharing and the eb Challenges Summary
Summary
Distributed systems are per.asi.e Resource sharing is the primary moti.ation for constructing distributed systems Characterization of Distributed System
* * * * * * * * * * Concurrency +o global cloc# Independent failures &eterogeneity =penness Security Scalability %ailure handling Concurrency /ransparency