over Pub/Sub Systems Georgios Bouloukakis 1 , Nikolaos Georgantas 1 , - - PowerPoint PPT Presentation

over pub sub systems
SMART_READER_LITE
LIVE PREVIEW

over Pub/Sub Systems Georgios Bouloukakis 1 , Nikolaos Georgantas 1 , - - PowerPoint PPT Presentation

Timeliness Evaluation of Intermittent Mobile Connectivity over Pub/Sub Systems Georgios Bouloukakis 1 , Nikolaos Georgantas 1 , Ajay Kattepur 2 & Valrie Issarny 1 L'Aquila, Italy, April 2017 8th ACM/SPEC International Conference on


slide-1
SLIDE 1

Timeliness Evaluation of Intermittent Mobile Connectivity

  • ver Pub/Sub Systems

Georgios Bouloukakis1, Nikolaos Georgantas1, Ajay Kattepur2 & Valérie Issarny1

L'Aquila, Italy, April 2017

8th ACM/SPEC International Conference on Performance Engineering (ICPE)

1MiMove team, Inria Paris, France 2TCS Research & Innovation, Bangalore, India

slide-2
SLIDE 2

Motivation

  • 2

Middleware Communication Protocol

metro commuters

What is the end-to-end response time between metro commuters?

publish listen

metro commuters

slide-3
SLIDE 3

Outline

  • 3
  • System Model:
  • Mobile publish/subscribe (pub/sub) system
  • Pub/sub in wide-scale
  • End-to-end Response Time:
  • Queueing modeling
  • ON/OFF queueing center
  • End-to-end delay calculation
  • Evaluation:
  • ON/OFF queueing center validation
  • End-to-end System tuning
  • Conclusions & Future work
slide-4
SLIDE 4

Peer’s mobile connectivity behaviour in a Pub/Sub system

  • 4

broker(s) network issues disconnection voluntary disconnection handoff disconnection OFF OFF OFF network issues disconnection OFF voluntary disconnection handoff disconnection OFF OFF connect connect connect ON ON ON connect connect connect ON ON ON

pub/sub overlay infrastructure subscribers publishers

local overlay broker overlay local overlay

slide-5
SLIDE 5

Publish/Subscribe System

  • 5

B1 B3 B4 B2

P1 P2 S2 S1 S4 S3 P3 P4

B5 B7 B8 B6 B9 B11 B12 B10 B13 B15 B16 B14 B17 B19 B20 B18

subscriptions partitioning event matching

brokers publishers subscribers

1 R. Baldoni et al., “Distributed event routing in publish/subscribe communication systems:

a survey,” DIS, Universita di Roma La Sapienza, Tech. Rep, 2005. home broker home broker

event routing process

slide-6
SLIDE 6

Publish/Subscribe broker node Queueing Model

  • 6

broker node

𝜇𝑐−𝑝𝑣𝑢

𝐸𝑐−𝑢𝑠 𝜇𝑐−𝑝𝑣𝑢 (𝑦 𝑂𝑐−𝑝𝑣𝑢) drop if no subscription 𝜇𝑐−𝑗𝑜 𝐸𝑐−𝑞𝑠 𝜇𝑒𝑠𝑝𝑞

𝑡1 𝑡𝑂 x

…..

𝑝𝑜/𝑝𝑔𝑔

𝐸𝑡1 −𝑢𝑠

𝑝𝑜/𝑝𝑔𝑔

𝐸𝑡𝑂 −𝑢𝑠

𝑡1

𝜇

𝑡Ν

𝜇

(𝑦 𝑂𝑡)

𝑡1

𝜇

𝑝𝑜/𝑝𝑔𝑔

𝑡𝑂

𝜇

𝑝𝑜/𝑝𝑔𝑔

𝜇𝑞

(𝑦 𝑂𝑞)

𝜇𝑐𝑠−𝑗𝑜

(𝑦 𝑂𝑐−𝑗𝑜)

𝑝𝑜/𝑝𝑔𝑔

slide-7
SLIDE 7

Mathematical formulation (1)

  • 7

What is the end-to-end response time of the events published from each publisher to each subscriber ( ) ? 𝑆𝑞

𝑡

ON/OFF queueing center model: Publisher Model : Subscriber Model : Broker Model :

System model assumptions:

  • For each V, events are produced according to a Poisson process
  • λ, D and θΟΝ, θOFF are exponentially distributed
  • Reliable message transmissions
  • FIFO Event ordering
  • Persistent subscriptions (compared to ON/OFF periods)
  • Sufficient queue capacity
slide-8
SLIDE 8

Mathematical formulation (2)

  • 8

What is the end-to-end response time from p4 to s3?

1 E. Lazowska et al., Quantitative system performance: computer system analysis using queueing

network models. Prentice-Hall, Inc., 1984.

B1 B3 B4 B2

P1 P2 S2 S1 S4 S3 P3 P4

B5 B7 B8 B6 B9 B11 B12 B10 B13 B15 B16 B14 B17 B19 B20 B18 brokers publishers subscribers

slide-9
SLIDE 9

Home Broker delay calculation

  • 9

broker node

ON/OFF queueing center

?

dropped or transmitted to other subscribers/brokers

in queueing center 𝐸𝑗𝑜

𝜇𝑐 𝑗𝑜

𝜇𝑝

  • 𝑡
slide-10
SLIDE 10

Possible solutions

  • 10
  • 2-D Markov chain:
  • solving the global balance equations1
  • Mean Value Approach

1 G. Bouloukakis et al., Performance Modeling of the Middleware Overlay Infrastructure of Mobile

  • Things. IEEE International Conference on Communications, 2017
slide-11
SLIDE 11

ON/OFF queueing center delay calculation

  • 11

ON/OFF queueing center

s events

  • ff events

s events

  • ff virtual events

𝐸𝑝𝑔𝑔 = 𝑈𝑝𝑔𝑔 𝐸𝑝𝑔𝑔 𝐸𝑡 / 𝜇𝑝𝑔𝑔 𝜇𝑡 𝐸𝑡

  • Mean Value Approach:
  • 2-class queueing center with ‘off’ and ‘normal’ events
  • model TOFF intervals as arrivals of ‘off’ events
  • ‘off’ events have preemptive priority over normal events
slide-12
SLIDE 12

Home Broker Delay Calculation

  • 12

+

ON/OFF queueing center

dropped or transmitted to other subscribers/brokers

events for class off events for class s

broker node

in queueing center 𝐸𝑝𝑔𝑔 𝐸𝑡 / 𝐸𝑗𝑜 𝜇𝑐 𝑗𝑜 𝜇𝑝 𝜇𝑝𝑔𝑔 𝜇𝑡

slide-13
SLIDE 13

Composition of the end-to-end queueing network from p to s

  • 13
  • 1. Input: path of connected brokers from

p4 to s3; D for each node

  • 2. End-to-end Queueing Network from p4

to s3:

  • qon/off for p4’s overlay
  • qm/m/1 for intermediate brokers
  • qm/m/1 and qon/off for s3 ‘s home

broker

  • qm/m/1 for s3 ‘s overlay

S3 B19 B3 B10 P4

slide-14
SLIDE 14

Evaluation Results

  • 14
  • JINQS:
  • pen source simulator for Queueing Network Models
  • We extend JINQS and we have developed MobileJINQS1:
  • We validate the ON/OFF queueing center through:
  • probability distributions
  • arrival rates using the D4D dataset
  • ON/OFF connectivity traces collected in the metro of Paris
  • Simulate and validate end-to-end response times by considering several

disconnection types for each peer (p or s)

1 http://xsb.inria.fr/d4d#mobilejinqs

slide-15
SLIDE 15

ON/OFF queueing center validation: Estimated vs. Simulated Response Time

  • 15
slide-16
SLIDE 16

D4D Dataset

  • 16
  • D4D Dataset:
  • Generated by Orange labs for the subscribers of Sonatel Network in

Senegal

  • Contains Call Detail Records (CDRs)
  • Collected over 50 weeks starting from 7th January 2013
  • For every 10 min interval at each antenna, they provide us the

number of calls/sms

  • CDRs for parameterizing our model1 we assume that:
  • the arrival load at an antenna (calls/sms) can represent the arrival

load of produced events at the publisher’s home broker

1 G. Bouloukakis et al., Leveraging CDR datasets for context-rich performance modeling of large-

scale mobile pub/sub systems, IEEE WiMob, 2015.

slide-17
SLIDE 17

Antenna Real Traces

  • 17

Antenna Trace 1 – 07 Jan 2013

Time Number of calls/sms 20:50-21:00 21 21:00-21:10 16

Antenna Trace 2 – 07 Jan 2013

Time Number of calls/sms 20:50-21:00 78 21:00-21:10 69

slide-18
SLIDE 18

ON/OFF Queueing center Validation using Antenna traces (1)

  • 18

call/sms per 10 min

slide-19
SLIDE 19

ON/OFF Queueing center Validation using Antenna traces (2)

  • 19
slide-20
SLIDE 20

Sarathi dataset: Metro Cognition1 Android Application

  • 20
  • collects connectivity tuples (con_tuple) every 30

seconds using a background service

  • each con_tuple represents the Internet connectivity

status (ON/OFF)

  • ne connectivity pattern (con_pattern) consists of

many con_tuple in one specific path

  • the GoFlow2 pub/sub middleware is used for the data

collection

1 https://play.google.com/apps/testing/edu.sarathi.metroCognition 2 https://goflow.ambientic.mobi/

Experimental setup:

  • collecting the user’s connectivity patterns for a metro_path_id
  • we concatenate all the con_patterns for each metro_path_id

ON OFF ON OFF OFF

t0 t1 t2 t3

slide-21
SLIDE 21

ON/OFF QS Validation using Connectivity traces (1)

  • 21
  • 1. Cité Universitaire → Dugommier; journeys : 34; total duration : 15.18 hours; average

duration journey : 26.8 min; TON = 2.43 min and TOFF = 1.6 min.

  • 2. Dugommier → Cité Universitaire; journeys : 28; total duration : 12.13 hours; average

duration journey : 26 min; TON = 2.5 min and TOFF = 1.2 min.

slide-22
SLIDE 22

ON/OFF QS Validation using Connectivity traces (2)

  • 22
  • 2nd path: Dugommier → Cité Universitaire
  • For higher rates, there is a quite good match with

maximum difference of about 10%.

slide-23
SLIDE 23

End-to-end Response Time from p to s

  • 23
  • We evaluate the response time from p to s:
  • network issues, voluntary reasons and degraded network
  • 2 intermediate brokers
  • Metro travel:
  • Publisher travers: Étienne Marcel → Mairie de Montrouge, TON = 4.8

min and TOFF = 1.3 min

  • Subscriber travels: Cité Universitaire → Dugommier, TON = 2.58 min

and TOFF = 1.2 min

  • less than 60 ms the delay at each intermediate broker
  • 45 sec of end-to-end response time
  • The processing delay in the broker path is negligible
slide-24
SLIDE 24

Next steps

  • 24
  • We present a general approach for the modeling of pub/sub systems

supporting mobile peers in wide scale

  • Future work:
  • The application of time-to-live lifetime periods to each published

event.

  • Deal with unreliable infrastructures for middleware Internet of

Things protocols.

  • Introduce models that evaluate the interoperability effectiveness of

Things employing heterogeneous protocols.

slide-25
SLIDE 25

Thank you

  • 25