inf 123 sw arch, dist sys & interop lecture 13 prof. crista lopes
Post on 19-Dec-2015
214 views
TRANSCRIPT
![Page 1: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/1.jpg)
INF 123 SW ARCH, DIST SYS & INTEROP
LECTURE 13
Prof. Crista Lopes
![Page 2: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/2.jpg)
Objectives
Understanding of Event-Based Architectures
Understanding practicalities of the Internet IP addresses routers security
![Page 3: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/3.jpg)
Event-Based Architectures
An EBA is an architecture based on parts that interact solely or predominantly using event notifications, instead of direct method calls.
![Page 4: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/4.jpg)
Event-Based Architectures
Component A Component B
Event Broker
1 23 4
1. Component A registers an event of type E2. Component B subscribes to that event type3. Component A raises that event4. Component B is notified of that event
![Page 5: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/5.jpg)
Advantage over direct calls
Component A Component BE
Component C
E
…
coupling
![Page 6: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/6.jpg)
Advantage over direct calls
Component A Component B
Event Broker
1 23 4
Component C…
No coupling!
2 4
![Page 7: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/7.jpg)
Disadvantage over direct calls Less control on timing More difficult to understand program
flow
![Page 8: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/8.jpg)
Events at different levels
Software architecture possibly with programming language
support
System architecture
![Page 9: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/9.jpg)
SW Level without PL support
Object A Object B
Event Broker (your code or library object)
1 23 4
Object C…
2 4
![Page 10: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/10.jpg)
SW Level with PL Support
Object A Object B
Event Broker
1 23 4
Object C…
2 4
Language runtime
![Page 11: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/11.jpg)
Distributed System Level
Component A Component B
Event Broker (your component or someone else’s)
1 23 4
Component C…
2 4
Network
![Page 12: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/12.jpg)
Part 2
The Internet
![Page 13: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/13.jpg)
ipconfig @ home
![Page 14: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/14.jpg)
myipaddress.com
myIPaddress.com
Your computer’s IP address is:
75.32.137.8
![Page 15: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/15.jpg)
Hierarchical Identification
Home network Home network
ISP ISP
UCI
192.x.x.x 192.x.x.x
75.32.137.8 69.232.36.159128.195.54.203
128.195.54.203
![Page 16: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/16.jpg)
Hierarchical Security
Home network Home network
ISP ISP
UCI
![Page 17: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/17.jpg)
OpenSim Virtual World deployment
Home network Home network
ISP ISP
UCI
192.x.x.x 192.x.x.x
75.32.137.8 69.232.36.159ucigrid03.nacs.uci.edu
128.195.54.203
ResourceServices
Simulator Simulator
region registration
teleport
!
![Page 18: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/18.jpg)
What the clients see
![Page 19: INF 123 SW ARCH, DIST SYS & INTEROP LECTURE 13 Prof. Crista Lopes](https://reader030.vdocument.in/reader030/viewer/2022032800/56649d2c5503460f94a02b3b/html5/thumbnails/19.jpg)