distributed compu/ng primer

26
Distributed Compu/ng Primer UMBC CMSC 491 Hadoop-Based Distributed Compu/ng Spring 2016 Adam Shook Some content adapted from Dr. Kalpakis’s CMSC 621 slides

Upload: others

Post on 02-Nov-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Distributed Compu/ng Primer

DistributedCompu/ngPrimer

UMBCCMSC491Hadoop-BasedDistributedCompu/ng

Spring2016AdamShook

SomecontentadaptedfromDr.Kalpakis’sCMSC621slides

Page 2: Distributed Compu/ng Primer

Agenda

•  DistributedCompu/ng– Evolu/onofCompu/ngInfrastructure– NetworkingInfrastructure– Proper/esofDistributedSystems– ExampleSystemArchitectures

Page 3: Distributed Compu/ng Primer

EVOLUTIONOFCOMPUTINGINFRASTRUCTURE

Page 4: Distributed Compu/ng Primer

Mainframe–50sto70s

•  Customhardware•  Customlow-levelspecializedcode

•  Veryexpensivesolu/ons

Page 5: Distributed Compu/ng Primer

Client/Server–80sto00s

•  IT-ledarchitectures•  Moreportablesolu/ons•  Scalablesolu/onsbasedondemand

•  ReignoftheEnterpriseDataWarehouse

Page 6: Distributed Compu/ng Primer

Cloud–00stoToday

•  Consumer-gradeinfrastructure•  GrowingIaaSandPaaSmarkets•  Datarevolu/on

•  Focusonapplica/onsandnotinfrastructure

Page 7: Distributed Compu/ng Primer

WheredoesHadoopfit?

•  Apieceofyourdatainfrastructure– Cancrunchdataforanaly/cs– Canexposedataforwebapplica/ons

•  Explora/onofrawdata•  Augmentstoday’sinfrastructure

•  IMO,abigtoolboxthatcandoabitofeverything

Page 8: Distributed Compu/ng Primer

NETWORKINGINFRASTRUCTURE

Page 9: Distributed Compu/ng Primer

SingleServer

HDDHDDCPU

CPURAMRAM

NICNIC

Server ScaleUp

ScaleOut

FasterCPUsBiggerStorage

MoreServers

Page 10: Distributed Compu/ng Primer

Local-AreaNetwork(LAN)Rack

HDDHDDCPU

CPURAMRAM

NICNIC

Server

HDDHDDCPU

CPURAMRAM

NICNIC

Server

HDDHDDCPU

CPURAMRAM

NICNIC

Server

HDDHDDCPU

CPURAMRAM

NICNIC

Server

Rack

HDDHDDCPU

CPURAMRAM

NICNIC

Server

HDDHDDCPU

CPURAMRAM

NICNIC

Server

HDDHDDCPU

CPURAMRAM

NICNIC

Server

HDDHDDCPU

CPURAMRAM

NICNIC

Server

WAN

Gatew

ay

Page 11: Distributed Compu/ng Primer

WideAreaNetwork(WAN)

London,England

Beijing,ChinaNewYork,NY

Page 12: Distributed Compu/ng Primer

PROPERTIESOFDISTRIBUTEDSYSTEMS

Page 13: Distributed Compu/ng Primer

DistributedSystems

•  Thedevelopmentoflow-costpowerfulmicroprocessors,togetherwiththeinven/onofhighspeednetworks,enableustoconstructcomputersystemsbyconnec/ngalargenumberofcomputers

•  Adistributedsystemisacollec/onofindependentcomputersthatappearstoitsusersasasinglecoherentsystem.

Page 14: Distributed Compu/ng Primer

Proper/esofDistributedSystems

•  Reliability•  Scalability•  Availability•  Efficiency•  CAPTheorem

Page 15: Distributed Compu/ng Primer

Reliability

•  Canthesystemdeliverservicesinfaceofseveralcomponentfailures?

Page 16: Distributed Compu/ng Primer

Scalability

•  Canthesystemscaletosupportagrowingnumberoftasks?

Page 17: Distributed Compu/ng Primer

Availability

•  Howmuchlatencyisimposedonthesystemwhenafailureoccurs?

Page 18: Distributed Compu/ng Primer

Efficiency

•  Howefficientisthesystem,intermsoflatencyandthroughput?

Page 19: Distributed Compu/ng Primer

CAPTheorem

•  Consistent•  Available•  Par//onTolerant

•  Trade-offbetweenConsistencyandAvailability

Page 20: Distributed Compu/ng Primer

Statefulvs.Stateless

•  Whetherornotadistributedsystemsavestheirstateonanagacheddeviceforrecovery

Page 21: Distributed Compu/ng Primer

EXAMPLESYSTEMARCHITECTURES

Page 22: Distributed Compu/ng Primer

SimpleClient/Server

Page 23: Distributed Compu/ng Primer

Mul/-TieredClient/Server

Page 24: Distributed Compu/ng Primer

Round-RobinClient/Server

Page 25: Distributed Compu/ng Primer

LinuxReference

•  Afreeandopensourceopera/ngsystem•  Inthiscourse,weliveinEclipseandthecommandline

•  Masteryof'vi'getsyou+4charismahgp://www.ibm.com/developerworks/library/l-lpic1-v3-103-1/

hgp://www.linuxdevcenter.com/excerpt/LinuxPG_quickref/linux.pdf

Page 26: Distributed Compu/ng Primer

References

•  hgp://webdam.inria.fr/Jorge/html/wdmch15.html•  GoogleImages