













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














Instructor: Dr. Jeho Park
California State University, Long Beach
Paradigms and Abstraction
5
1
We often use abstraction when it is not necessary to know the exact details of how something works or is represented, because we can still make use of it in its simplified form. Getting involved with the detail often tends to obscure what we are trying to understand, rather than illuminate it … Abstraction plays a very important role in programming because we often want to model, in software, simplified versions of things that exist in the real world … without having to build the real things.
Abstractions?
Message passing is the most fundamental paradigm for distributed applications.
The Message Passing Paradigm - 2
11
The Peer-to-Peer Paradigm - 1
In the peer-to-peer paradigm, the participating processes play equal roles, with equivalent capabilities and responsibilities (hence the term “peer”). Each participant may issue a request to another participant and receive a response. The Peer-to-Peer Paradigm - 2
Pure P2P architecture
P2P: centralized index original “Napster” design
File distribution: BitTorrent
participating in torrent
peers exchanging chunks of a file obtain list of peers trading chunks peer ρ P2P file distribution Reference: Computing Networking by Kurose and Ross
BitTorrent (1)