1
Networked Embedded Systems Broadcast Applications
Heinz Deinhart <heinz@ecs.tuwien.ac.at>
Networked Embedded Systems Broadcast Applications
Networked Embedded Systems Broadcast Applications Heinz Deinhart - - PowerPoint PPT Presentation
1 Networked Embedded Systems Broadcast Applications Heinz Deinhart <heinz@ecs.tuwien.ac.at> Networked Embedded Systems Broadcast Applications 2 Overview This presentation consists of three parts: Short introduction
1
Heinz Deinhart <heinz@ecs.tuwien.ac.at>
Networked Embedded Systems Broadcast Applications
2
Overview This presentation consists of three parts:
Networked Embedded Systems Broadcast Applications
3
Networked Embedded Systems Broadcast Applications
4
Conventional broadcast in the wild First, lets take a look where plain broadcast (no order, reliability, etc.) is used in LANs:
Basically where no info is available or a complex setup is not needed.
Networked Embedded Systems Broadcast Applications
5
What does LAN mean?
ethernet, token ring) separated by routers.
some kind of switched infrastructure
communication into point of point where possible (with application layer sniffing)
communication
Networked Embedded Systems Broadcast Applications
6
What about the Internet?
reasons
direction we want to look further into
Networked Embedded Systems Broadcast Applications
7
Back to our domain: Networked embedded systems
(=shared) medium
wired ethernet: not that clever
to go
again
Networked Embedded Systems Broadcast Applications
8
Networked Embedded Systems Broadcast Applications
9
Introduction
Networked Embedded Systems Broadcast Applications
10
Basic System Model: Synchrony Two important parameters:
process
Only if both parameters have a known upper bound which always holds the system is called synchonous. Otherwise it is called an asynchronous system Hardly any implementation is 100% synchronous.
Networked Embedded Systems Broadcast Applications
11
Basic System Model: Failure Mode The general class of failures are:
sending or receiving a message
A correct process is one that never expresses any of the faulty behaviors.
Networked Embedded Systems Broadcast Applications
12
Oracles Synchrony does not solve all Problems. Some are only solvable with an
Oracles can be:
(crashed or not)
Networked Embedded Systems Broadcast Applications
13
Agreement Problems Processes have to reach some common decision.
Networked Embedded Systems Broadcast Applications
14
Process Controlled Crash
Networked Embedded Systems Broadcast Applications
15
Group Membership Service .. is a distributed service that is responsible for managing groups of
It can support:
Networked Embedded Systems Broadcast Applications
16
More on Groups
not belong to
Networked Embedded Systems Broadcast Applications
17
Ordering Mechanisms - Who builds the order?
so
messages
Orthogonal to this ordering class an algorithms ordering can be time free
Networked Embedded Systems Broadcast Applications
18
Networked Embedded Systems Broadcast Applications
19
Broadcast Applications - Whats that?
broadcasting
broadcast application)
not know what he is really doing)
Networked Embedded Systems Broadcast Applications
20
Using Broadcast Primitives in Replicated Databases [3]
Networked Embedded Systems Broadcast Applications
21
Replicated databases with reliable broadcast
no deadlocks
may arrive in different orders
Networked Embedded Systems Broadcast Applications
22
Replicated databases with causal broadcast
information used in a two phase commit
Networked Embedded Systems Broadcast Applications
23
Replicated databases with atomic broadcast
Networked Embedded Systems Broadcast Applications
24
Replicated databases conclusion
good idea
Networked Embedded Systems Broadcast Applications
25
Transis [1] Overview
for distributes services
connected processors (despite an unreliable network)
unreliable broadcast service
Networked Embedded Systems Broadcast Applications
26
Transis Services Transis offers the following set of services:
Delivers messages immediatly to upper level
Various protocols are supported for achieving agreed order.
acknowledged its reception
Networked Embedded Systems Broadcast Applications
27
Transis Mempership Protocol
remove live but inactive processors unjustly
Networked Embedded Systems Broadcast Applications
28
Transis Partitining and Merging
Networked Embedded Systems Broadcast Applications
29
Transis LAN Performance
1k messages per second
Networked Embedded Systems Broadcast Applications
30
A replicated mail server using transis [?]
Networked Embedded Systems Broadcast Applications
31
Replicated Mail Service using Transis [?]
Networked Embedded Systems Broadcast Applications
32
Replicated Mail Service Architecture
Networked Embedded Systems Broadcast Applications
33
The algorithm
stored it to disk
needs some logic on top of it
Networked Embedded Systems Broadcast Applications
34
Mail service: Transis compared to other scenarios
transaction must be simulated, inconsistences if network partitiones
mail concept very vell, won’t perform very well
for mail service: multicasting, message ordering and membership management
Networked Embedded Systems Broadcast Applications
35
BMW: Broadcast Medium Window [4]
frames to tramsmit unicast packages
hidden terminals and channel noise
networks
robin fashion
Networked Embedded Systems Broadcast Applications
36
BMW: How it works
and receive buffer
resend later
neighbours
buffer so it can be compared later
Networked Embedded Systems Broadcast Applications
37
BMW: How it works 2
kind of state machine
802.11
this send and declares what seq nrs are missing
Networked Embedded Systems Broadcast Applications
38
BWM Conclusio
collision
Networked Embedded Systems Broadcast Applications
39 Networked Embedded Systems Broadcast Applications
40
Networked Embedded Systems Broadcast Applications
41
[1] Y. Amir, D. Dolev, S. Kramer, and D. Malki. Transis: A communication subsystem for high
76–84, Boston, Massachusetts, 1992. IEEE Computer Society Press. [2] X. Defago, A. Schiper, and P. Urban. Totally ordered broadcast and multicast algorithms: a comprehensive survey, 2000. [3] Ioana Stanoi, Divyakant Agrawal, and Amr El Abbadi. Using broadcast primitives in replicated databases. In International Conference on Distributed Computing Systems, pages 148–155, 1998. [4] K. Tang and M. Gerla. Mac reliable broadcast in ad hoc networks. In Communications for Network-Centric Operations: Creating the Information Force. IEEE Military Communications Conference, volume 2, pages 1008–1013 vol.2, 2001.
Networked Embedded Systems Broadcast Applications