distributed compu/ng primer
TRANSCRIPT
![Page 1: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/1.jpg)
DistributedCompu/ngPrimer
UMBCCMSC491Hadoop-BasedDistributedCompu/ng
Spring2016AdamShook
SomecontentadaptedfromDr.Kalpakis’sCMSC621slides
![Page 2: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/2.jpg)
Agenda
• DistributedCompu/ng– Evolu/onofCompu/ngInfrastructure– NetworkingInfrastructure– Proper/esofDistributedSystems– ExampleSystemArchitectures
![Page 3: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/3.jpg)
EVOLUTIONOFCOMPUTINGINFRASTRUCTURE
![Page 4: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/4.jpg)
Mainframe–50sto70s
• Customhardware• Customlow-levelspecializedcode
• Veryexpensivesolu/ons
![Page 5: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/5.jpg)
Client/Server–80sto00s
• IT-ledarchitectures• Moreportablesolu/ons• Scalablesolu/onsbasedondemand
• ReignoftheEnterpriseDataWarehouse
![Page 6: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/6.jpg)
Cloud–00stoToday
• Consumer-gradeinfrastructure• GrowingIaaSandPaaSmarkets• Datarevolu/on
• Focusonapplica/onsandnotinfrastructure
![Page 7: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/7.jpg)
WheredoesHadoopfit?
• Apieceofyourdatainfrastructure– Cancrunchdataforanaly/cs– Canexposedataforwebapplica/ons
• Explora/onofrawdata• Augmentstoday’sinfrastructure
• IMO,abigtoolboxthatcandoabitofeverything
![Page 8: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/8.jpg)
NETWORKINGINFRASTRUCTURE
![Page 9: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/9.jpg)
SingleServer
HDDHDDCPU
CPURAMRAM
NICNIC
Server ScaleUp
ScaleOut
FasterCPUsBiggerStorage
MoreServers
![Page 10: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/10.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/11.jpg)
WideAreaNetwork(WAN)
London,England
Beijing,ChinaNewYork,NY
![Page 12: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/12.jpg)
PROPERTIESOFDISTRIBUTEDSYSTEMS
![Page 13: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/13.jpg)
DistributedSystems
• Thedevelopmentoflow-costpowerfulmicroprocessors,togetherwiththeinven/onofhighspeednetworks,enableustoconstructcomputersystemsbyconnec/ngalargenumberofcomputers
• Adistributedsystemisacollec/onofindependentcomputersthatappearstoitsusersasasinglecoherentsystem.
![Page 14: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/14.jpg)
Proper/esofDistributedSystems
• Reliability• Scalability• Availability• Efficiency• CAPTheorem
![Page 15: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/15.jpg)
Reliability
• Canthesystemdeliverservicesinfaceofseveralcomponentfailures?
![Page 16: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/16.jpg)
Scalability
• Canthesystemscaletosupportagrowingnumberoftasks?
![Page 17: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/17.jpg)
Availability
• Howmuchlatencyisimposedonthesystemwhenafailureoccurs?
![Page 18: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/18.jpg)
Efficiency
• Howefficientisthesystem,intermsoflatencyandthroughput?
![Page 19: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/19.jpg)
CAPTheorem
• Consistent• Available• Par//onTolerant
• Trade-offbetweenConsistencyandAvailability
![Page 20: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/20.jpg)
Statefulvs.Stateless
• Whetherornotadistributedsystemsavestheirstateonanagacheddeviceforrecovery
![Page 21: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/21.jpg)
EXAMPLESYSTEMARCHITECTURES
![Page 22: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/22.jpg)
SimpleClient/Server
![Page 23: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/23.jpg)
Mul/-TieredClient/Server
![Page 24: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/24.jpg)
Round-RobinClient/Server
![Page 25: Distributed Compu/ng Primer](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/25.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022012505/6180d38eb3b86818d7753371/html5/thumbnails/26.jpg)
References
• hgp://webdam.inria.fr/Jorge/html/wdmch15.html• GoogleImages