LECTURE 5: MAKING DHTS DO MAGIC TRICKS!
Ken Birman Spring, 2020
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 1
LECTURE 5: Ken Birman MAKING DHTS DO MAGIC TRICKS! Spring, 2020 - - PowerPoint PPT Presentation
LECTURE 5: Ken Birman MAKING DHTS DO MAGIC TRICKS! Spring, 2020 HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 1 TODAYS AGENDA: TWO PARTS Understanding how to put anything at all into a DHT for: Scalability: the capacity is
Ken Birman Spring, 2020
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 1
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 2
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 3
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 4
Client application put(key,value) get(key) DHT Service on many nodes Shards on 2-nodes each, using state-machine replication
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 5
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 6
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 7
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 8
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 9
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 10
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 11
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 12
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 13
to the name of the object.
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 14
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 15
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 16
“What is in a name? That which we call a rose By any other name would smell as sweet…” Juliet, in Shakespeare’s Romeo and Juliet
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 17
Pet Name Period Species Photo List Health Status Nerd 1961-1962 Gerbil Empty Deceased Susie 1970-1986 Keeshund IMG-17171, … Deceased Biscuit 2003-2013 Golden Retriever IMG-22187, … Deceased
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 18
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 19
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 20
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 21
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 22
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 23
class myPet { int uid; animal species; hashset<string,photo> photo_collection; …. } myPet biscuit { uid := 5731, species := animal::dog, photo_collection := { [“on a rug”, •], [“in the woods”, •]} }
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 24
Ken belongs to Entrepreneurs’ Org The entrepreneurs shared a viral (completely exaggerated, basically fake) story about a complete cure for cancer.
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 25
Key = “Ken Birman/pets/Photos of Biscuit” Value = [ 0xFF 0xA6 0x1B 0x00 0x99 0x11 0x03 0xFF 0xFF … ]
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 26
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 27
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 28
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 29
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 30
(“Ken Birman/pets/Biscuit”, )
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 31
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 32
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 33
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 34
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 35
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 36
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 37
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 38
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 39
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 40
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 41
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 42
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 43
HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2020SP 44