SlideShare a Scribd company logo
1 of 25
Download to read offline
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA
a hybrid publish/subscribe system
Fabio Petroni
Leonardo Querzoni
Department of Computer, Control, and Management Engineering Antonio Ruberti
Workshop on Dependable and Secure Computing
for Large-scale Complex Critical Infrastructures
Magdeburg, 25 september 2012
Magdeburg sept 25 2012 DESEC4LCCI
Publish/subscribe paradigm
The publish/subscribe interaction scheme [1]
provides a form of communication, alternative to
the standard clients/server model, where
participants are decoupled with respect to:
TIME
The participants do not
need to be active at
the same time,
publishers might
publish events while
some subscribers are
disconnected, and
subscribers might get
notified about some
events while the
original publisher is
disconnected
SPACE
The interacting
parties do not need
to know
each other. An event
notification service
(ENS) is responsible
to gather publishers
issued events and to
diffuse them toward
the subscribers
SYNCHRONIZATION
An event is
asynchronously
propagated to all
subscribers that
registered interest
on it, and publishers
are never
blocked while
producing events
1
Magdeburg sept 25 2012 DESEC4LCCI
CONTENT BASED
Subscription:
conjunction of predicates.
TOPIC BASED
Subscription:
set of topics
Static schema
Limited expressiveness
Topic-based vs Content-based
Broker Publisher / Subscriber
football news
Event Notification Service
News= football
Team= Lazio
Year > 2010
SIENA
Routing Scheme
[2,3]
2
Magdeburg sept 25 2012 DESEC4LCCI
SIENA 3
PHYSICAL OVERLAY
BROADCAST
LAYER
CONTENT-
BASED
LAYER
“all-pairs
path
symmetry”
Magdeburg sept 25 2012 DESEC4LCCI
The problems of SIENA
SIENA suffers by the lack of adequate
support to system reconfiguration
In particular the addition or the removal of a
new node to the system requires a full halt,
followed by a manual reconfiguration of the
broadcast and the content-based layers
This can lead to large management
overhead and reduced performance in
dynamic or large-scale environments
GOAL: make SIENA layers self-organizing, so
that the whole system needs a reduced
management by human administrators
4
Magdeburg sept 25 2012 DESEC4LCCI
Related work
XSIENA [4] proposes a soft state approach
The idea is to use timed subscriptions, and
re-issue them periodically, in order to
automatically manage and restore the state
of crashed subscribers and publishers
Cugola et al. [5] proposed a solution for the
single broadcast tree case, limiting the
reconfiguration to a well defined path
Moreover, they have clearly defined the
reconfiguration problem
5
Magdeburg sept 25 2012 DESEC4LCCI
Reconfiguration problem 6
PHYSICAL OVERLAY
BROADCAST
LAYER
CONTENT-
BASED
LAYER
Magdeburg sept 25 2012 DESEC4LCCI
Reconfiguration problem 6
PHYSICAL OVERLAY
BROADCAST
LAYER
CONTENT-
BASED
LAYER
reconfiguration of the overlay network
to maintain connectivity among participants
1
BROADCAST
LAYER
Magdeburg sept 25 2012 DESEC4LCCI
Reconfiguration problem 6
PHYSICAL OVERLAY
BROADCAST
LAYER
CONTENT-
BASED
LAYER
reconfiguration of the overlay network
to maintain connectivity among participants
1
BROADCAST
LAYER
reconfiguration of the subscription information
to bring the routing tables up-to-date with the changes
2
CONTENT-
BASED
LAYER
Magdeburg sept 25 2012 DESEC4LCCI
Reconfiguration problem 6
PHYSICAL OVERLAY
BROADCAST
LAYER
CONTENT-
BASED
LAYER
reconfiguration of the overlay network
to maintain connectivity among participants
1
BROADCAST
LAYER
reconfiguration of the subscription information
to bring the routing tables up-to-date with the changes
2
CONTENT-
BASED
LAYER
minimization of event loss
during reconfiguration
3
Magdeburg sept 25 2012 DESEC4LCCI
IDEA
How do we coordinate the brokers in the system, since they are
geographically spread, independent and possibly linked by
networks with unpredictable latency (like internet)?
Solutions based on a central coordinator may be inefficient for
several reasons:
fault tolerance (single point of failure)
organizational (different administrative domains)
scalability
PROPOSAL: use a storage system reliable and easily accessible by
all processes in the system, supplied by a cloud provider
The cloud provider takes care of maintaining the storage available
and consistent
We only have to manage concurrent accesses of brokers to this
storage
Montresor and Abeni (2011)[6] proposed a similar idea in the
context of gossip algorithms
7
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA 8
Cloud Service
Storage
epoch number
Pred D
PHYSICAL OVERLAY
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – insertion of a new broker 1/2 9
Cloud Service
Storage
PHYSICAL OVERLAY
BROADCAST
LAYER
Pred
D
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – insertion of a new broker 2/2 10
Cloud Service
Storage
PHYSICAL OVERLAY
BROADCAST
LAYER
EPOCH UPDATE
Pred
D
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – reconfiguration of the overlay network 11
Pred
PHYSICAL OVERLAY
BROADCAST
LAYER
SELECT
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – reconfiguration of the subscription info 12
PHYSICAL OVERLAY
BROADCAST
LAYER
CONTENT-
BASED
LAYER
1
2
3
PULL
UPDATE
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – Concurrency 1/7
< i, [INS/REM], y, V >
“The broker y is performing a [INS/REM]
operation that will bring the system to
epoch i. V is a set of broker ids used
only for INS operations (neighbors of y)”
Assumption: the storage service provides
a test-and-set primitive
13
Ops
en queue of
ongoing
operations
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – Concurrency 2/7 14
3
21 A
3
21
B
i
< i+1, INS, A, {1,2} > < i+1, INS, B, {2,3} >
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – Concurrency 3/7 14
Ops
3
21 A
3
21
B
ien
< i+1, INS, A, {1,2} > < i+1, INS, B, {2,3} >
T&S T&S
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – Concurrency 4/7 14
Ops
3
21 A
3
21
B
ien
AA
pending
< i+2, INS, B, {2,3} >START INSERTION PROCEDURE
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – Concurrency 5/7 14
Ops
3
21 A
3
21
B
ien
A
START INSERTION PROCEDURE
T&S
PERFORM A's INSERTION
START INSERTION PROCEDURE
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – Concurrency 6/7 15
Cloud Service
Storage
i i+1 i+2
A
Blist of couples
of matrices
Magdeburg sept 25 2012 DESEC4LCCI
HSIENA – Concurrency 7/7
If B succedes, A omits the epoch update.
As last step, the entry in Ops is deleted
16
3
21 A
3
21
B
i
A
i+2i+1
T&S T&S
Magdeburg sept 25 2012 DESEC4LCCI
Conclusions and future works
HSIENA is a hybrid system that complements the SIENA
publish/subscribe system by adding the ability to self-
reconfigure after brokers additions and removals.
HSIENA has a novel design that mixes the classic SIENA’s
distributed architecture with a highly available cloud-
based storage service that brokers use as a shared
memory space they can rely-on to adapt at runtime the
ENS application-level network without service disruption.
We are implementing a prototype of HSIENA to test its
behaviour under various realistic loads.
Our purpose is to asses both its ability to support
insertion and deletions while providing service continuity
and to study the tradeoff existing between the level of
service HSIENA can guarantee and the cost incurred for
maintaining state information stored on a cloud service.
17
Magdeburg sept 25 2012 DESEC4LCCI
References
[1] R. Baldoni, L. Querzoni, S. Tarkoma, A.
Virgillito: “Distributed Event Routing in
Publish/Subscribe Communication Systems”.
Springer (2009)
[2] A. Carzaniga, D. Rosenblum, A. Wolf: “Design
and evaluation of a wide area notification
service”. TOCS (2001)
[3] A. Carzaniga, M.J. Rutherford, A. Wolf: “A
routing scheme for content-based networking”.
INFOCOM (2004)
[4] Z. Jerzak, C. Fetzer: “Soft state in
publish/subscribe”. DEBS (2009)
[5] G. Cugola, D. Frey, A.L. Murphy, G.P. Picco:
“Minimizing the Reconfiguration Overhead in
Content-Based Publish-Subscribe”. SAC (2004)
[6] A. Montresor, L. Abeni: “Cloudy weather for
P2P, with a chance of gossip”. P2P (2011)
18

More Related Content

Similar to HSIENA: a hybrid publish/subscribe system

2nd ARCADIA project newsletter
2nd ARCADIA project newsletter2nd ARCADIA project newsletter
2nd ARCADIA project newsletterEU ARCADIA PROJECT
 
Resource usage optimization in cloud based networks
Resource usage optimization in cloud based networksResource usage optimization in cloud based networks
Resource usage optimization in cloud based networksDimo Iliev
 
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUDDYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUDijccsa
 
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUDDYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUDijccsa
 
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...ASAITHAMBIRAJAA
 
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...ASAITHAMBIRAJAA
 
A Framework for Multicloud Environment Services
A Framework for Multicloud Environment ServicesA Framework for Multicloud Environment Services
A Framework for Multicloud Environment ServicesEswar Publications
 
PharmaLedger – Blockchain platform modifications and interoperability
PharmaLedger – Blockchain platform modifications and interoperabilityPharmaLedger – Blockchain platform modifications and interoperability
PharmaLedger – Blockchain platform modifications and interoperabilityPharmaLedger
 
Clo architecture for video surveillance service based on p2 p and cloud compu...
Clo architecture for video surveillance service based on p2 p and cloud compu...Clo architecture for video surveillance service based on p2 p and cloud compu...
Clo architecture for video surveillance service based on p2 p and cloud compu...manish bhandare
 
Winds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloudWinds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloudMunisekhar Gunapati
 
Cloudviews eurocloud rcosta
Cloudviews eurocloud rcostaCloudviews eurocloud rcosta
Cloudviews eurocloud rcostaEuroCloud
 
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013Georgiana Copil
 
Cloud computing-ieee-2014-projects
Cloud computing-ieee-2014-projectsCloud computing-ieee-2014-projects
Cloud computing-ieee-2014-projectsVijay Karan
 
Cloud Computing IEEE 2014 Projects
Cloud Computing IEEE 2014 ProjectsCloud Computing IEEE 2014 Projects
Cloud Computing IEEE 2014 ProjectsVijay Karan
 
A Novel Approach for Workload Optimization and Improving Security in Cloud Co...
A Novel Approach for Workload Optimization and Improving Security in Cloud Co...A Novel Approach for Workload Optimization and Improving Security in Cloud Co...
A Novel Approach for Workload Optimization and Improving Security in Cloud Co...IOSR Journals
 
ACIC Rome & Veritas: High-Availability and Disaster Recovery Scenarios
ACIC Rome & Veritas: High-Availability and Disaster Recovery ScenariosACIC Rome & Veritas: High-Availability and Disaster Recovery Scenarios
ACIC Rome & Veritas: High-Availability and Disaster Recovery ScenariosAccenture Italia
 
Cloud computing & Batch processing: potentiels & perspectives
Cloud computing & Batch processing:  potentiels & perspectives  Cloud computing & Batch processing:  potentiels & perspectives
Cloud computing & Batch processing: potentiels & perspectives Claude Riousset
 

Similar to HSIENA: a hybrid publish/subscribe system (20)

2nd ARCADIA project newsletter
2nd ARCADIA project newsletter2nd ARCADIA project newsletter
2nd ARCADIA project newsletter
 
Resource usage optimization in cloud based networks
Resource usage optimization in cloud based networksResource usage optimization in cloud based networks
Resource usage optimization in cloud based networks
 
The XDC project
The XDC projectThe XDC project
The XDC project
 
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUDDYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
 
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUDDYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
DYNAMIC TENANT PROVISIONING AND SERVICE ORCHESTRATION IN HYBRID CLOUD
 
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...
 
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...Ieeepro techno solutions   2014 ieee dotnet project - distributed, concurrent...
Ieeepro techno solutions 2014 ieee dotnet project - distributed, concurrent...
 
A Framework for Multicloud Environment Services
A Framework for Multicloud Environment ServicesA Framework for Multicloud Environment Services
A Framework for Multicloud Environment Services
 
Mn3422372248
Mn3422372248Mn3422372248
Mn3422372248
 
PharmaLedger – Blockchain platform modifications and interoperability
PharmaLedger – Blockchain platform modifications and interoperabilityPharmaLedger – Blockchain platform modifications and interoperability
PharmaLedger – Blockchain platform modifications and interoperability
 
Clo architecture for video surveillance service based on p2 p and cloud compu...
Clo architecture for video surveillance service based on p2 p and cloud compu...Clo architecture for video surveillance service based on p2 p and cloud compu...
Clo architecture for video surveillance service based on p2 p and cloud compu...
 
Winds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloudWinds of change from vender lock in to the meta cloud
Winds of change from vender lock in to the meta cloud
 
Cloudviews eurocloud rcosta
Cloudviews eurocloud rcostaCloudviews eurocloud rcosta
Cloudviews eurocloud rcosta
 
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
 
Cloud computing-ieee-2014-projects
Cloud computing-ieee-2014-projectsCloud computing-ieee-2014-projects
Cloud computing-ieee-2014-projects
 
Cloud Computing IEEE 2014 Projects
Cloud Computing IEEE 2014 ProjectsCloud Computing IEEE 2014 Projects
Cloud Computing IEEE 2014 Projects
 
D017212027
D017212027D017212027
D017212027
 
A Novel Approach for Workload Optimization and Improving Security in Cloud Co...
A Novel Approach for Workload Optimization and Improving Security in Cloud Co...A Novel Approach for Workload Optimization and Improving Security in Cloud Co...
A Novel Approach for Workload Optimization and Improving Security in Cloud Co...
 
ACIC Rome & Veritas: High-Availability and Disaster Recovery Scenarios
ACIC Rome & Veritas: High-Availability and Disaster Recovery ScenariosACIC Rome & Veritas: High-Availability and Disaster Recovery Scenarios
ACIC Rome & Veritas: High-Availability and Disaster Recovery Scenarios
 
Cloud computing & Batch processing: potentiels & perspectives
Cloud computing & Batch processing:  potentiels & perspectives  Cloud computing & Batch processing:  potentiels & perspectives
Cloud computing & Batch processing: potentiels & perspectives
 

Recently uploaded

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Recently uploaded (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 

HSIENA: a hybrid publish/subscribe system

  • 1. Magdeburg sept 25 2012 DESEC4LCCI HSIENA a hybrid publish/subscribe system Fabio Petroni Leonardo Querzoni Department of Computer, Control, and Management Engineering Antonio Ruberti Workshop on Dependable and Secure Computing for Large-scale Complex Critical Infrastructures Magdeburg, 25 september 2012
  • 2. Magdeburg sept 25 2012 DESEC4LCCI Publish/subscribe paradigm The publish/subscribe interaction scheme [1] provides a form of communication, alternative to the standard clients/server model, where participants are decoupled with respect to: TIME The participants do not need to be active at the same time, publishers might publish events while some subscribers are disconnected, and subscribers might get notified about some events while the original publisher is disconnected SPACE The interacting parties do not need to know each other. An event notification service (ENS) is responsible to gather publishers issued events and to diffuse them toward the subscribers SYNCHRONIZATION An event is asynchronously propagated to all subscribers that registered interest on it, and publishers are never blocked while producing events 1
  • 3. Magdeburg sept 25 2012 DESEC4LCCI CONTENT BASED Subscription: conjunction of predicates. TOPIC BASED Subscription: set of topics Static schema Limited expressiveness Topic-based vs Content-based Broker Publisher / Subscriber football news Event Notification Service News= football Team= Lazio Year > 2010 SIENA Routing Scheme [2,3] 2
  • 4. Magdeburg sept 25 2012 DESEC4LCCI SIENA 3 PHYSICAL OVERLAY BROADCAST LAYER CONTENT- BASED LAYER “all-pairs path symmetry”
  • 5. Magdeburg sept 25 2012 DESEC4LCCI The problems of SIENA SIENA suffers by the lack of adequate support to system reconfiguration In particular the addition or the removal of a new node to the system requires a full halt, followed by a manual reconfiguration of the broadcast and the content-based layers This can lead to large management overhead and reduced performance in dynamic or large-scale environments GOAL: make SIENA layers self-organizing, so that the whole system needs a reduced management by human administrators 4
  • 6. Magdeburg sept 25 2012 DESEC4LCCI Related work XSIENA [4] proposes a soft state approach The idea is to use timed subscriptions, and re-issue them periodically, in order to automatically manage and restore the state of crashed subscribers and publishers Cugola et al. [5] proposed a solution for the single broadcast tree case, limiting the reconfiguration to a well defined path Moreover, they have clearly defined the reconfiguration problem 5
  • 7. Magdeburg sept 25 2012 DESEC4LCCI Reconfiguration problem 6 PHYSICAL OVERLAY BROADCAST LAYER CONTENT- BASED LAYER
  • 8. Magdeburg sept 25 2012 DESEC4LCCI Reconfiguration problem 6 PHYSICAL OVERLAY BROADCAST LAYER CONTENT- BASED LAYER reconfiguration of the overlay network to maintain connectivity among participants 1 BROADCAST LAYER
  • 9. Magdeburg sept 25 2012 DESEC4LCCI Reconfiguration problem 6 PHYSICAL OVERLAY BROADCAST LAYER CONTENT- BASED LAYER reconfiguration of the overlay network to maintain connectivity among participants 1 BROADCAST LAYER reconfiguration of the subscription information to bring the routing tables up-to-date with the changes 2 CONTENT- BASED LAYER
  • 10. Magdeburg sept 25 2012 DESEC4LCCI Reconfiguration problem 6 PHYSICAL OVERLAY BROADCAST LAYER CONTENT- BASED LAYER reconfiguration of the overlay network to maintain connectivity among participants 1 BROADCAST LAYER reconfiguration of the subscription information to bring the routing tables up-to-date with the changes 2 CONTENT- BASED LAYER minimization of event loss during reconfiguration 3
  • 11. Magdeburg sept 25 2012 DESEC4LCCI IDEA How do we coordinate the brokers in the system, since they are geographically spread, independent and possibly linked by networks with unpredictable latency (like internet)? Solutions based on a central coordinator may be inefficient for several reasons: fault tolerance (single point of failure) organizational (different administrative domains) scalability PROPOSAL: use a storage system reliable and easily accessible by all processes in the system, supplied by a cloud provider The cloud provider takes care of maintaining the storage available and consistent We only have to manage concurrent accesses of brokers to this storage Montresor and Abeni (2011)[6] proposed a similar idea in the context of gossip algorithms 7
  • 12. Magdeburg sept 25 2012 DESEC4LCCI HSIENA 8 Cloud Service Storage epoch number Pred D PHYSICAL OVERLAY
  • 13. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – insertion of a new broker 1/2 9 Cloud Service Storage PHYSICAL OVERLAY BROADCAST LAYER Pred D
  • 14. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – insertion of a new broker 2/2 10 Cloud Service Storage PHYSICAL OVERLAY BROADCAST LAYER EPOCH UPDATE Pred D
  • 15. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – reconfiguration of the overlay network 11 Pred PHYSICAL OVERLAY BROADCAST LAYER SELECT
  • 16. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – reconfiguration of the subscription info 12 PHYSICAL OVERLAY BROADCAST LAYER CONTENT- BASED LAYER 1 2 3 PULL UPDATE
  • 17. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – Concurrency 1/7 < i, [INS/REM], y, V > “The broker y is performing a [INS/REM] operation that will bring the system to epoch i. V is a set of broker ids used only for INS operations (neighbors of y)” Assumption: the storage service provides a test-and-set primitive 13 Ops en queue of ongoing operations
  • 18. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – Concurrency 2/7 14 3 21 A 3 21 B i < i+1, INS, A, {1,2} > < i+1, INS, B, {2,3} >
  • 19. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – Concurrency 3/7 14 Ops 3 21 A 3 21 B ien < i+1, INS, A, {1,2} > < i+1, INS, B, {2,3} > T&S T&S
  • 20. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – Concurrency 4/7 14 Ops 3 21 A 3 21 B ien AA pending < i+2, INS, B, {2,3} >START INSERTION PROCEDURE
  • 21. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – Concurrency 5/7 14 Ops 3 21 A 3 21 B ien A START INSERTION PROCEDURE T&S PERFORM A's INSERTION START INSERTION PROCEDURE
  • 22. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – Concurrency 6/7 15 Cloud Service Storage i i+1 i+2 A Blist of couples of matrices
  • 23. Magdeburg sept 25 2012 DESEC4LCCI HSIENA – Concurrency 7/7 If B succedes, A omits the epoch update. As last step, the entry in Ops is deleted 16 3 21 A 3 21 B i A i+2i+1 T&S T&S
  • 24. Magdeburg sept 25 2012 DESEC4LCCI Conclusions and future works HSIENA is a hybrid system that complements the SIENA publish/subscribe system by adding the ability to self- reconfigure after brokers additions and removals. HSIENA has a novel design that mixes the classic SIENA’s distributed architecture with a highly available cloud- based storage service that brokers use as a shared memory space they can rely-on to adapt at runtime the ENS application-level network without service disruption. We are implementing a prototype of HSIENA to test its behaviour under various realistic loads. Our purpose is to asses both its ability to support insertion and deletions while providing service continuity and to study the tradeoff existing between the level of service HSIENA can guarantee and the cost incurred for maintaining state information stored on a cloud service. 17
  • 25. Magdeburg sept 25 2012 DESEC4LCCI References [1] R. Baldoni, L. Querzoni, S. Tarkoma, A. Virgillito: “Distributed Event Routing in Publish/Subscribe Communication Systems”. Springer (2009) [2] A. Carzaniga, D. Rosenblum, A. Wolf: “Design and evaluation of a wide area notification service”. TOCS (2001) [3] A. Carzaniga, M.J. Rutherford, A. Wolf: “A routing scheme for content-based networking”. INFOCOM (2004) [4] Z. Jerzak, C. Fetzer: “Soft state in publish/subscribe”. DEBS (2009) [5] G. Cugola, D. Frey, A.L. Murphy, G.P. Picco: “Minimizing the Reconfiguration Overhead in Content-Based Publish-Subscribe”. SAC (2004) [6] A. Montresor, L. Abeni: “Cloudy weather for P2P, with a chance of gossip”. P2P (2011) 18