SlideShare a Scribd company logo
1 of 67
Download to read offline
Overview             System Model       Soft State      Evaluation      Summary                1 of 23 slides




                              Soft State in Publish/Subscribe
                                                 DEBS 2009


                                  Zbigniew Jerzak and Christof Fetzer

                        Systems Engineering Group, Dresden University of Technology


                                       Thursday 9th July, 2009




Soft State in Publish/Subscribe                                           Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State    Evaluation    Summary                2 of 23 slides



 What is Soft State?



        System state which can be lost without permanent disruption of
        system features [Cla88]



                Soft state system =⇒ a survivable system:
                        can cope with transient failures
                        state is held at the edge of the system
                        node crash =⇒ loss of state owned by it




Soft State in Publish/Subscribe                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State    Evaluation    Summary                2 of 23 slides



 What is Soft State?



        System state which can be lost without permanent disruption of
        system features [Cla88]



                Soft state system =⇒ a survivable system:
                        can cope with transient failures
                        state is held at the edge of the system
                        node crash =⇒ loss of state owned by it




Soft State in Publish/Subscribe                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                3 of 23 slides



 In This Talk




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                3 of 23 slides



 In This Talk




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State    Evaluation     Summary                3 of 23 slides



 In This Talk




                How to build a soft pub/sub system using a practical system
                model, i.e., one which:
                        makes realistic assumptions about the type and frequency of
                        failures
                        can be implemented in a real, distributed environment, i.e.,
                        PlanetLab




Soft State in Publish/Subscribe                                      Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                4 of 23 slides



 Approach Overview




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model       Soft State            Evaluation      Summary                   5 of 23 slides



 Challenges

                                                         LAN: inf.tu-dresden.de
                                                            MAN: tu-dresden.de
                                                      WAN: tu-dresden->tu-berlin
                                  1


                            0.75
                     CDF




                              0.5


                            0.25



                                  10-1   100          101              102   103            104
                                                            rtt [ms]

                Figure 1: Network latencies cannot be predicted, nor bounded!


Soft State in Publish/Subscribe                                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model      Soft State         Evaluation          Summary                   5 of 23 slides



 Challenges

                                                                       Lab PC
                                                                PlanetLab node
                                  1



                            0.75
                     CDF




                              0.5



                            0.25




                                  100   101         102         103          104            105
                                              request processing time [µs]

            Figure 1: Request processing time cannot be predicted, nor bounded!


Soft State in Publish/Subscribe                                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                6 of 23 slides



 Challenges – contd.




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model      Soft State      Evaluation   Summary                7 of 23 slides



 Timed Asynchronous Distributed System Model [CF99]



                All processes are timed (σmax )
                        . . . however, no guarantee that a request is indeed answered
                        within σmax
                Processes expose crash-stop failure semantics
                        . . . and we know [WF07] how to enforce it
                Messages might be arbitrarily delayed or dropped
                        . . . specifically, no upper bound on message transmission delay
                Only local hardware clocks, with bounded drift rate (ρmax )
                        . . . and crash-stop failure semantics




Soft State in Publish/Subscribe                                       Zbigniew Jerzak and Christof Fetzer
Overview             System Model      Soft State      Evaluation   Summary                7 of 23 slides



 Timed Asynchronous Distributed System Model [CF99]



                All processes are timed (σmax )
                        . . . however, no guarantee that a request is indeed answered
                        within σmax
                Processes expose crash-stop failure semantics
                        . . . and we know [WF07] how to enforce it
                Messages might be arbitrarily delayed or dropped
                        . . . specifically, no upper bound on message transmission delay
                Only local hardware clocks, with bounded drift rate (ρmax )
                        . . . and crash-stop failure semantics




Soft State in Publish/Subscribe                                       Zbigniew Jerzak and Christof Fetzer
Overview             System Model      Soft State      Evaluation   Summary                7 of 23 slides



 Timed Asynchronous Distributed System Model [CF99]



                All processes are timed (σmax )
                        . . . however, no guarantee that a request is indeed answered
                        within σmax
                Processes expose crash-stop failure semantics
                        . . . and we know [WF07] how to enforce it
                Messages might be arbitrarily delayed or dropped
                        . . . specifically, no upper bound on message transmission delay
                Only local hardware clocks, with bounded drift rate (ρmax )
                        . . . and crash-stop failure semantics




Soft State in Publish/Subscribe                                       Zbigniew Jerzak and Christof Fetzer
Overview             System Model      Soft State      Evaluation   Summary                7 of 23 slides



 Timed Asynchronous Distributed System Model [CF99]



                All processes are timed (σmax )
                        . . . however, no guarantee that a request is indeed answered
                        within σmax
                Processes expose crash-stop failure semantics
                        . . . and we know [WF07] how to enforce it
                Messages might be arbitrarily delayed or dropped
                        . . . specifically, no upper bound on message transmission delay
                Only local hardware clocks, with bounded drift rate (ρmax )
                        . . . and crash-stop failure semantics




Soft State in Publish/Subscribe                                       Zbigniew Jerzak and Christof Fetzer
Overview             System Model      Soft State   Evaluation   Summary                8 of 23 slides



 Publish/Subscribe Model




                Our approach works with any pub/sub model
                        topic-based
                        type-based
                        content-based
                        rule-based
                It does not require bounds on message propagation delays
                It does not require clock synchronization




Soft State in Publish/Subscribe                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State    Evaluation     Summary                8 of 23 slides



 Publish/Subscribe Model


                Our approach works with any pub/sub model
                It does not require bounds on message propagation delays




                        propagation delay = transmission delay + processing delay
                It does not require clock synchronization



Soft State in Publish/Subscribe                                     Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary                8 of 23 slides



 Publish/Subscribe Model




                Our approach works with any pub/sub model
                It does not require bounds on message propagation delays
                It does not require clock synchronization




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State    Evaluation    Summary                9 of 23 slides



 Approach



                        Use upper bound on message propagation delay
                               to estimate the link uncertainty

                Link uncertainty:
                        a measure of the link latency variation
                        calculated using upper bound on propagation delay [JFF07]


                         Extend the advertisement/subscription validity
                               using calculated link uncertainty




Soft State in Publish/Subscribe                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State    Evaluation    Summary                9 of 23 slides



 Approach



                        Use upper bound on message propagation delay
                               to estimate the link uncertainty

                Link uncertainty:
                        a measure of the link latency variation
                        calculated using upper bound on propagation delay [JFF07]


                         Extend the advertisement/subscription validity
                               using calculated link uncertainty




Soft State in Publish/Subscribe                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State    Evaluation    Summary                9 of 23 slides



 Approach



                        Use upper bound on message propagation delay
                               to estimate the link uncertainty

                Link uncertainty:
                        a measure of the link latency variation
                        calculated using upper bound on propagation delay [JFF07]


                         Extend the advertisement/subscription validity
                               using calculated link uncertainty




Soft State in Publish/Subscribe                                    Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               10 of 23 slides



 Extending the Lease Time




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               10 of 23 slides



 Extending the Lease Time




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               10 of 23 slides



 Extending the Lease Time




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               10 of 23 slides



 Extending the Lease Time




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               10 of 23 slides



 Extending the Lease Time




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State   Evaluation   Summary               11 of 23 slides



 Estimating (One-Way) Link Latencies




                                     latency(sub) = (D − C )

Soft State in Publish/Subscribe                                   Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State   Evaluation   Summary               11 of 23 slides



 Estimating (One-Way) Link Latencies




                                     latency(sub) = (D − C )

Soft State in Publish/Subscribe                                   Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State   Evaluation   Summary               11 of 23 slides



 Estimating (One-Way) Link Latencies




                                     latency(sub) ≥ (D − A)

Soft State in Publish/Subscribe                                   Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State   Evaluation   Summary               11 of 23 slides



 Estimating (One-Way) Link Latencies




                                     latency(sub) ≥ (D − A)

Soft State in Publish/Subscribe                                   Zbigniew Jerzak and Christof Fetzer
Overview             System Model       Soft State   Evaluation   Summary               11 of 23 slides



 Estimating (One-Way) Link Latencies




                                  latency(sub) ≥ (D − A) − (C − B)

Soft State in Publish/Subscribe                                     Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State   Evaluation   Summary               11 of 23 slides



 Estimating (One-Way) Link Latencies




                            latency(sub) ≥ (D − A) − (C − B) − δmin

Soft State in Publish/Subscribe                                  Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               11 of 23 slides



 Estimating (One-Way) Link Latencies




            latency(sub) ≥ (D − A)(1 + ρmax ) − (C − B)(1 − ρmax ) − δmin

Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State    Evaluation    Summary               12 of 23 slides



 Evaluation Environment



                F-A P/S
                        Zbigniew Jerzak, Robert Fach, and Christof Fetzer. Fail-aware
                        publish/subscribe. In NCA 07: Sixth IEEE International
                        Symposium on Network Computing and Applications, pages
                        113125, Cambridge, MA, USA, July 2007.
                XSiena
                Apache Mina
                PlanetLab




Soft State in Publish/Subscribe                                     Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               12 of 23 slides



 Evaluation Environment




                F-A P/S
                XSiena
                        http://wwwse.inf.tu-dresden.de/xsiena/
                Apache Mina
                PlanetLab




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               12 of 23 slides



 Evaluation Environment




                F-A P/S
                XSiena
                Apache Mina
                        http://mina.apache.org/
                PlanetLab




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               12 of 23 slides



 Evaluation Environment




                F-A P/S
                XSiena
                Apache Mina
                PlanetLab
                        http://www.planet-lab.eu/




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               13 of 23 slides



 Local Setup




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview                    System Model        Soft State          Evaluation       Summary               14 of 23 slides



 Local Setup – Upper Bound on Processing Delay

                        18
                                                                            u-b pd (p1->s3)
                        16                                                   r-t pd (p1->s3)
                                                                            u-b pd (p1->b2)
                        14                                                   r-t pd (p1->b2)

                        12
            time [ms]




                        10

                         8

                         6

                         4

                         2

                         0
                              0             10                20          30             40               50
                                                               event number
Soft State in Publish/Subscribe                                                        Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               15 of 23 slides



 European PlanetLab Setup




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview                            System Model     Soft State       Evaluation         Summary               16 of 23 slides



 PlanetLab Europe – First Broker

                                    1000                           last 200 msgs (di.unito.it)
                                                                          last 20s (di.unito.it)
                                                                           u-b pd (di.unito.it)
            time/uncertainty [ms]




                                    100




                                     10




                                        300         320          340        360             380              400
                                                            refresh message number
Soft State in Publish/Subscribe                                                            Zbigniew Jerzak and Christof Fetzer
Overview                            System Model     Soft State      Evaluation        Summary               17 of 23 slides



 PlanetLab Europe – Last Broker

                                                                   last 200 msgs (cs.uit.no)
                                                                          last 20s (cs.uit.no)
                                    1000                                   u-b pd (cs.uit.no)
            time/uncertainty [ms]




                                    100




                                     10
                                       300          320          340        360           380              400
                                                            refresh message number
Soft State in Publish/Subscribe                                                          Zbigniew Jerzak and Christof Fetzer
Overview             System Model   Soft State   Evaluation   Summary               18 of 23 slides



 Intercontinental PlanetLab Setup




Soft State in Publish/Subscribe                                 Zbigniew Jerzak and Christof Fetzer
Overview                                 System Model          Soft State       Evaluation            Summary               19 of 23 slides



 PlanetLab World – Advertisement Presence

                                                         uoit.ca - ext                           hiit.fi - ext
                                                       uoit.ca - noext                        hiit.fi - noext
                                    yes
            advertisement present




                                    no
                                    yes
                                    no
                                    yes
                                    no
                                    yes
                                    no

                                                  26             28             30                32              34
                                                                             time [s]
Soft State in Publish/Subscribe                                                                         Zbigniew Jerzak and Christof Fetzer
Overview                                           System Model        Soft State      Evaluation            Summary               20 of 23 slides



 PlanetLab World – Total Time without Advertisement

                                                                 uoit.ca - ext                          hiit.fi - ext
                                                               uoit.ca - noext                       hiit.fi - noext
            total time without advertisement [%]




                                                   100


                                                    80


                                                    60


                                                    40


                                                    20


                                                     0
                                                         1                              10                                       100
                                                                                     time [s]
Soft State in Publish/Subscribe                                                                                Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State    Evaluation    Summary               21 of 23 slides



 Summary

                Keep the state with the state owner
                Limit the impact of failures
                Use upper bound on propagation delay to ensure eventuall
                consistency


                For more information:
                        Jerzak, Z.; Fach, R. & Fetzer, C. Fail-Aware Publish/Subscribe
                        NCA ’07: Proceedings of the Sixth IEEE International
                        Symposium on Network Computing and Applications, IEEE
                        Computer Society, 2007, 113-125
                        Jerzak, Z.; Fach, R. & Fetzer, C. Adaptive Internal Clock
                        Synchronization SRDS ’08: 27th International Symposium on
                        Reliable Distributed Systems, IEEE Computer Society, 2008,
                        217-226

Soft State in Publish/Subscribe                                     Zbigniew Jerzak and Christof Fetzer
Overview             System Model    Soft State   Evaluation   Summary               22 of 23 slides




                                     Thank You!
                  http://wwwse.inf.tu-dresden.de/xsiena/softstate




Soft State in Publish/Subscribe                                  Zbigniew Jerzak and Christof Fetzer
Overview             System Model     Soft State       Evaluation       Summary               23 of 23 slides



 References
               Flaviu Cristian and Christof Fetzer.
               The timed asynchronous distributed system model.
               IEEE Transactions on Parallel and Distributed Systems, 10(6):642–657, June
               1999.
               D. Clark.
               The design philosophy of the DARPA internet protocols.
               In SIGCOMM ’88: Symposium proceedings on Communications architectures
               and protocols, pages 106–114, New York, NY, USA, 1988. ACM.
               Zbigniew Jerzak, Robert Fach, and Christof Fetzer.
               Fail-aware publish/subscribe.
               In NCA ’07: Proceedings of the Sixth IEEE International Symposium on Network
               Computing and Applications, pages 113–125, Cambridge, MA, USA, July 2007.
               IEEE Computer Society.
               Ute Wappler and Christof Fetzer.
               Software encoded processing: Building dependable systems with commodity
               hardware.
               In Francesca Saglietti and Norbert Oster, editors, SAFECOMP ’07: 26th
               International Conference on Computer Safety, Reliability, and Security, volume
               4680 of Lecture Notes in Computer Science, pages 356–369, Nuremberg,
               Germany, September 2007. Springer.

Soft State in Publish/Subscribe                                           Zbigniew Jerzak and Christof Fetzer

More Related Content

More from Zbigniew Jerzak

Visualization-Driven Data Aggregation
Visualization-Driven Data AggregationVisualization-Driven Data Aggregation
Visualization-Driven Data AggregationZbigniew Jerzak
 
Latency-aware Elastic Scaling for Distributed Data Stream Processing Systems
Latency-aware Elastic Scaling for Distributed Data Stream Processing SystemsLatency-aware Elastic Scaling for Distributed Data Stream Processing Systems
Latency-aware Elastic Scaling for Distributed Data Stream Processing SystemsZbigniew Jerzak
 
Auto-scaling Techniques for Elastic Data Stream Processing
Auto-scaling Techniques for Elastic Data Stream ProcessingAuto-scaling Techniques for Elastic Data Stream Processing
Auto-scaling Techniques for Elastic Data Stream ProcessingZbigniew Jerzak
 
Cloud-based Data Stream Processing
Cloud-based Data Stream ProcessingCloud-based Data Stream Processing
Cloud-based Data Stream ProcessingZbigniew Jerzak
 
ThesisXSiena: The Content-Based Publish/Subscribe System
ThesisXSiena: The Content-Based Publish/Subscribe SystemThesisXSiena: The Content-Based Publish/Subscribe System
ThesisXSiena: The Content-Based Publish/Subscribe SystemZbigniew Jerzak
 
Clock Synchronization in Distributed Systems
Clock Synchronization in Distributed SystemsClock Synchronization in Distributed Systems
Clock Synchronization in Distributed SystemsZbigniew Jerzak
 
XSiena: The Content-Based Publish/Subscribe System
XSiena: The Content-Based Publish/Subscribe SystemXSiena: The Content-Based Publish/Subscribe System
XSiena: The Content-Based Publish/Subscribe SystemZbigniew Jerzak
 
Bloom Filter Based Routing for Content-Based Publish/Subscribe
Bloom Filter Based Routing for Content-Based Publish/SubscribeBloom Filter Based Routing for Content-Based Publish/Subscribe
Bloom Filter Based Routing for Content-Based Publish/SubscribeZbigniew Jerzak
 
Adaptive Internal Clock Synchronization
Adaptive Internal Clock SynchronizationAdaptive Internal Clock Synchronization
Adaptive Internal Clock SynchronizationZbigniew Jerzak
 

More from Zbigniew Jerzak (9)

Visualization-Driven Data Aggregation
Visualization-Driven Data AggregationVisualization-Driven Data Aggregation
Visualization-Driven Data Aggregation
 
Latency-aware Elastic Scaling for Distributed Data Stream Processing Systems
Latency-aware Elastic Scaling for Distributed Data Stream Processing SystemsLatency-aware Elastic Scaling for Distributed Data Stream Processing Systems
Latency-aware Elastic Scaling for Distributed Data Stream Processing Systems
 
Auto-scaling Techniques for Elastic Data Stream Processing
Auto-scaling Techniques for Elastic Data Stream ProcessingAuto-scaling Techniques for Elastic Data Stream Processing
Auto-scaling Techniques for Elastic Data Stream Processing
 
Cloud-based Data Stream Processing
Cloud-based Data Stream ProcessingCloud-based Data Stream Processing
Cloud-based Data Stream Processing
 
ThesisXSiena: The Content-Based Publish/Subscribe System
ThesisXSiena: The Content-Based Publish/Subscribe SystemThesisXSiena: The Content-Based Publish/Subscribe System
ThesisXSiena: The Content-Based Publish/Subscribe System
 
Clock Synchronization in Distributed Systems
Clock Synchronization in Distributed SystemsClock Synchronization in Distributed Systems
Clock Synchronization in Distributed Systems
 
XSiena: The Content-Based Publish/Subscribe System
XSiena: The Content-Based Publish/Subscribe SystemXSiena: The Content-Based Publish/Subscribe System
XSiena: The Content-Based Publish/Subscribe System
 
Bloom Filter Based Routing for Content-Based Publish/Subscribe
Bloom Filter Based Routing for Content-Based Publish/SubscribeBloom Filter Based Routing for Content-Based Publish/Subscribe
Bloom Filter Based Routing for Content-Based Publish/Subscribe
 
Adaptive Internal Clock Synchronization
Adaptive Internal Clock SynchronizationAdaptive Internal Clock Synchronization
Adaptive Internal Clock Synchronization
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Soft State in Publish/Subscribe

  • 1. Overview System Model Soft State Evaluation Summary 1 of 23 slides Soft State in Publish/Subscribe DEBS 2009 Zbigniew Jerzak and Christof Fetzer Systems Engineering Group, Dresden University of Technology Thursday 9th July, 2009 Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 2. Overview System Model Soft State Evaluation Summary 2 of 23 slides What is Soft State? System state which can be lost without permanent disruption of system features [Cla88] Soft state system =⇒ a survivable system: can cope with transient failures state is held at the edge of the system node crash =⇒ loss of state owned by it Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 3. Overview System Model Soft State Evaluation Summary 2 of 23 slides What is Soft State? System state which can be lost without permanent disruption of system features [Cla88] Soft state system =⇒ a survivable system: can cope with transient failures state is held at the edge of the system node crash =⇒ loss of state owned by it Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 4. Overview System Model Soft State Evaluation Summary 3 of 23 slides In This Talk Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 5. Overview System Model Soft State Evaluation Summary 3 of 23 slides In This Talk Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 6. Overview System Model Soft State Evaluation Summary 3 of 23 slides In This Talk How to build a soft pub/sub system using a practical system model, i.e., one which: makes realistic assumptions about the type and frequency of failures can be implemented in a real, distributed environment, i.e., PlanetLab Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 7. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 8. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 9. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 10. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 11. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 12. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 13. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 14. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 15. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 16. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 17. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 18. Overview System Model Soft State Evaluation Summary 4 of 23 slides Approach Overview Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 19. Overview System Model Soft State Evaluation Summary 5 of 23 slides Challenges LAN: inf.tu-dresden.de MAN: tu-dresden.de WAN: tu-dresden->tu-berlin 1 0.75 CDF 0.5 0.25 10-1 100 101 102 103 104 rtt [ms] Figure 1: Network latencies cannot be predicted, nor bounded! Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 20. Overview System Model Soft State Evaluation Summary 5 of 23 slides Challenges Lab PC PlanetLab node 1 0.75 CDF 0.5 0.25 100 101 102 103 104 105 request processing time [µs] Figure 1: Request processing time cannot be predicted, nor bounded! Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 21. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 22. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 23. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 24. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 25. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 26. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 27. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 28. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 29. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 30. Overview System Model Soft State Evaluation Summary 6 of 23 slides Challenges – contd. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 31. Overview System Model Soft State Evaluation Summary 7 of 23 slides Timed Asynchronous Distributed System Model [CF99] All processes are timed (σmax ) . . . however, no guarantee that a request is indeed answered within σmax Processes expose crash-stop failure semantics . . . and we know [WF07] how to enforce it Messages might be arbitrarily delayed or dropped . . . specifically, no upper bound on message transmission delay Only local hardware clocks, with bounded drift rate (ρmax ) . . . and crash-stop failure semantics Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 32. Overview System Model Soft State Evaluation Summary 7 of 23 slides Timed Asynchronous Distributed System Model [CF99] All processes are timed (σmax ) . . . however, no guarantee that a request is indeed answered within σmax Processes expose crash-stop failure semantics . . . and we know [WF07] how to enforce it Messages might be arbitrarily delayed or dropped . . . specifically, no upper bound on message transmission delay Only local hardware clocks, with bounded drift rate (ρmax ) . . . and crash-stop failure semantics Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 33. Overview System Model Soft State Evaluation Summary 7 of 23 slides Timed Asynchronous Distributed System Model [CF99] All processes are timed (σmax ) . . . however, no guarantee that a request is indeed answered within σmax Processes expose crash-stop failure semantics . . . and we know [WF07] how to enforce it Messages might be arbitrarily delayed or dropped . . . specifically, no upper bound on message transmission delay Only local hardware clocks, with bounded drift rate (ρmax ) . . . and crash-stop failure semantics Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 34. Overview System Model Soft State Evaluation Summary 7 of 23 slides Timed Asynchronous Distributed System Model [CF99] All processes are timed (σmax ) . . . however, no guarantee that a request is indeed answered within σmax Processes expose crash-stop failure semantics . . . and we know [WF07] how to enforce it Messages might be arbitrarily delayed or dropped . . . specifically, no upper bound on message transmission delay Only local hardware clocks, with bounded drift rate (ρmax ) . . . and crash-stop failure semantics Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 35. Overview System Model Soft State Evaluation Summary 8 of 23 slides Publish/Subscribe Model Our approach works with any pub/sub model topic-based type-based content-based rule-based It does not require bounds on message propagation delays It does not require clock synchronization Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 36. Overview System Model Soft State Evaluation Summary 8 of 23 slides Publish/Subscribe Model Our approach works with any pub/sub model It does not require bounds on message propagation delays propagation delay = transmission delay + processing delay It does not require clock synchronization Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 37. Overview System Model Soft State Evaluation Summary 8 of 23 slides Publish/Subscribe Model Our approach works with any pub/sub model It does not require bounds on message propagation delays It does not require clock synchronization Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 38. Overview System Model Soft State Evaluation Summary 9 of 23 slides Approach Use upper bound on message propagation delay to estimate the link uncertainty Link uncertainty: a measure of the link latency variation calculated using upper bound on propagation delay [JFF07] Extend the advertisement/subscription validity using calculated link uncertainty Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 39. Overview System Model Soft State Evaluation Summary 9 of 23 slides Approach Use upper bound on message propagation delay to estimate the link uncertainty Link uncertainty: a measure of the link latency variation calculated using upper bound on propagation delay [JFF07] Extend the advertisement/subscription validity using calculated link uncertainty Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 40. Overview System Model Soft State Evaluation Summary 9 of 23 slides Approach Use upper bound on message propagation delay to estimate the link uncertainty Link uncertainty: a measure of the link latency variation calculated using upper bound on propagation delay [JFF07] Extend the advertisement/subscription validity using calculated link uncertainty Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 41. Overview System Model Soft State Evaluation Summary 10 of 23 slides Extending the Lease Time Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 42. Overview System Model Soft State Evaluation Summary 10 of 23 slides Extending the Lease Time Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 43. Overview System Model Soft State Evaluation Summary 10 of 23 slides Extending the Lease Time Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 44. Overview System Model Soft State Evaluation Summary 10 of 23 slides Extending the Lease Time Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 45. Overview System Model Soft State Evaluation Summary 10 of 23 slides Extending the Lease Time Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 46. Overview System Model Soft State Evaluation Summary 11 of 23 slides Estimating (One-Way) Link Latencies latency(sub) = (D − C ) Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 47. Overview System Model Soft State Evaluation Summary 11 of 23 slides Estimating (One-Way) Link Latencies latency(sub) = (D − C ) Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 48. Overview System Model Soft State Evaluation Summary 11 of 23 slides Estimating (One-Way) Link Latencies latency(sub) ≥ (D − A) Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 49. Overview System Model Soft State Evaluation Summary 11 of 23 slides Estimating (One-Way) Link Latencies latency(sub) ≥ (D − A) Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 50. Overview System Model Soft State Evaluation Summary 11 of 23 slides Estimating (One-Way) Link Latencies latency(sub) ≥ (D − A) − (C − B) Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 51. Overview System Model Soft State Evaluation Summary 11 of 23 slides Estimating (One-Way) Link Latencies latency(sub) ≥ (D − A) − (C − B) − δmin Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 52. Overview System Model Soft State Evaluation Summary 11 of 23 slides Estimating (One-Way) Link Latencies latency(sub) ≥ (D − A)(1 + ρmax ) − (C − B)(1 − ρmax ) − δmin Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 53. Overview System Model Soft State Evaluation Summary 12 of 23 slides Evaluation Environment F-A P/S Zbigniew Jerzak, Robert Fach, and Christof Fetzer. Fail-aware publish/subscribe. In NCA 07: Sixth IEEE International Symposium on Network Computing and Applications, pages 113125, Cambridge, MA, USA, July 2007. XSiena Apache Mina PlanetLab Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 54. Overview System Model Soft State Evaluation Summary 12 of 23 slides Evaluation Environment F-A P/S XSiena http://wwwse.inf.tu-dresden.de/xsiena/ Apache Mina PlanetLab Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 55. Overview System Model Soft State Evaluation Summary 12 of 23 slides Evaluation Environment F-A P/S XSiena Apache Mina http://mina.apache.org/ PlanetLab Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 56. Overview System Model Soft State Evaluation Summary 12 of 23 slides Evaluation Environment F-A P/S XSiena Apache Mina PlanetLab http://www.planet-lab.eu/ Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 57. Overview System Model Soft State Evaluation Summary 13 of 23 slides Local Setup Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 58. Overview System Model Soft State Evaluation Summary 14 of 23 slides Local Setup – Upper Bound on Processing Delay 18 u-b pd (p1->s3) 16 r-t pd (p1->s3) u-b pd (p1->b2) 14 r-t pd (p1->b2) 12 time [ms] 10 8 6 4 2 0 0 10 20 30 40 50 event number Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 59. Overview System Model Soft State Evaluation Summary 15 of 23 slides European PlanetLab Setup Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 60. Overview System Model Soft State Evaluation Summary 16 of 23 slides PlanetLab Europe – First Broker 1000 last 200 msgs (di.unito.it) last 20s (di.unito.it) u-b pd (di.unito.it) time/uncertainty [ms] 100 10 300 320 340 360 380 400 refresh message number Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 61. Overview System Model Soft State Evaluation Summary 17 of 23 slides PlanetLab Europe – Last Broker last 200 msgs (cs.uit.no) last 20s (cs.uit.no) 1000 u-b pd (cs.uit.no) time/uncertainty [ms] 100 10 300 320 340 360 380 400 refresh message number Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 62. Overview System Model Soft State Evaluation Summary 18 of 23 slides Intercontinental PlanetLab Setup Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 63. Overview System Model Soft State Evaluation Summary 19 of 23 slides PlanetLab World – Advertisement Presence uoit.ca - ext hiit.fi - ext uoit.ca - noext hiit.fi - noext yes advertisement present no yes no yes no yes no 26 28 30 32 34 time [s] Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 64. Overview System Model Soft State Evaluation Summary 20 of 23 slides PlanetLab World – Total Time without Advertisement uoit.ca - ext hiit.fi - ext uoit.ca - noext hiit.fi - noext total time without advertisement [%] 100 80 60 40 20 0 1 10 100 time [s] Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 65. Overview System Model Soft State Evaluation Summary 21 of 23 slides Summary Keep the state with the state owner Limit the impact of failures Use upper bound on propagation delay to ensure eventuall consistency For more information: Jerzak, Z.; Fach, R. & Fetzer, C. Fail-Aware Publish/Subscribe NCA ’07: Proceedings of the Sixth IEEE International Symposium on Network Computing and Applications, IEEE Computer Society, 2007, 113-125 Jerzak, Z.; Fach, R. & Fetzer, C. Adaptive Internal Clock Synchronization SRDS ’08: 27th International Symposium on Reliable Distributed Systems, IEEE Computer Society, 2008, 217-226 Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 66. Overview System Model Soft State Evaluation Summary 22 of 23 slides Thank You! http://wwwse.inf.tu-dresden.de/xsiena/softstate Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer
  • 67. Overview System Model Soft State Evaluation Summary 23 of 23 slides References Flaviu Cristian and Christof Fetzer. The timed asynchronous distributed system model. IEEE Transactions on Parallel and Distributed Systems, 10(6):642–657, June 1999. D. Clark. The design philosophy of the DARPA internet protocols. In SIGCOMM ’88: Symposium proceedings on Communications architectures and protocols, pages 106–114, New York, NY, USA, 1988. ACM. Zbigniew Jerzak, Robert Fach, and Christof Fetzer. Fail-aware publish/subscribe. In NCA ’07: Proceedings of the Sixth IEEE International Symposium on Network Computing and Applications, pages 113–125, Cambridge, MA, USA, July 2007. IEEE Computer Society. Ute Wappler and Christof Fetzer. Software encoded processing: Building dependable systems with commodity hardware. In Francesca Saglietti and Norbert Oster, editors, SAFECOMP ’07: 26th International Conference on Computer Safety, Reliability, and Security, volume 4680 of Lecture Notes in Computer Science, pages 356–369, Nuremberg, Germany, September 2007. Springer. Soft State in Publish/Subscribe Zbigniew Jerzak and Christof Fetzer