N12. Application paradigms Flashcards

1
Q

Describe peer-to-peer paradigm

A
- Symmetric model of operation
(all nodes/hosts do same thing)
All nodes:
- can be clients
- can be servers
- can initiate communication
- can respond to communication
- may perform processing on resources even when no communication is taking place 
(resources are distributed not centralised)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe client-server paradigm

A
  • Asymmetric model of operation
    (client and server do different things)
    Server provides access to resources (passive but responsive)
    Client sends requests to server (control operation of application - client actions progress session with the app)
    Consumption - client does most computation on resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give an overview of peer-to-peer protocol

A

Data-transfer protocol (user-plane)
(file found: transfer between peers)
Discovery protocol (control-plane)
- discover resources (distributed search)
- resources and nodes can be added/removed
Unstructured - no relationships (random connections between nodes)
Structured - specific topology/structure
(e.g. distributed hash table)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the publish-subscribe (pub-sub) paradigm

A

Senders = publishers
(produce channels of categorised info)
Receivers/consumers = subscribers
(select info channels based on category - items might be filtered by subscriber)
Publishers and subscribers do not need to be aware of each other’s communication (no need to connect)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give some applications of pub-sub

A
  • Messages “buses”
  • Real-time data streams
  • Notification services
  • Internet of Things
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Data (re)presentation formats

A

General problem - data structure as byte stream (data serialisation)
text-based protocols, binary formats, JSON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly