Pub/Sub systems Flashcards Preview

Cloud Computing > Pub/Sub systems > Flashcards

Flashcards in Pub/Sub systems Deck (10):
1

When discussing system characteristics of pub/sub systems, what is meant by heterogenous?

Heterogenous: Components in a distributed system that are not designed to interoperate can be made to work together.

2

When discussing system characteristics of pub/sub systems, what is meant by asynchronous?

Notifications are sent asynchronously by event-generating publishers to subsrcibers who have expressed interest in them.

3

Coupling and coupled check notes

Coupling and coupled check notes

4

What are the three categories of subscription models?

Channel-based, topic-based and content-based

5

What is a centralised model?

A centralised server acts as an event broker. A broker is an entity that is responsible for the matching. Matching entails 3 phases:
--Subscription processing: Indexing and storing subscriptions.
--Event processing: upon event arrival, access subscription indices and identify all matched subscriptions
--Event delivery: deliver event to clients with matched subsciptions

6

What is a distributed model?

Distributed pub/sub systems consist of a network of brokers. Each local broker has a matching engine. *see notes for diagram*

7

Content-based Routing: An event e is said to match a subscription s...

--if and only if all attribute-value predicates in s are satisfied by the values carried by e
--done through an event-subscription matching engine

8

What is event flooding?

Each event is broadcast from the publisher in the whole system.
The implementation is straightforward but very expensive. This solution has the highest message overhead with no memory overhead.

9

What is subscription flooding?

Each subscription is copied on every broker for building locally complete subscription tables.
This approach suffers from a large memory overhead, but event diffusion is optimal. It is impractical in applications where subscriptions change frequently.

10

What is filtering?

Brokers forward notifications through the network only where there is a path to a valid subscriber. More complex routing algorithms. More memory efficient.