20.01.2015 Views

Performance Modeling and Benchmarking of Event-Based ... - DVS

Performance Modeling and Benchmarking of Event-Based ... - DVS

Performance Modeling and Benchmarking of Event-Based ... - DVS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

70 CHAPTER 4. PERFORMANCE ENGINEERING OF EVENT-BASED SYSTEMS<br />

QPN Definition<br />

Places:<br />

Place Type Description<br />

Load Balancer S Receives incoming events <strong>and</strong> forward an event.<br />

Consumer i S Consumes incoming events. One place for each <strong>of</strong> the n<br />

Consumers.<br />

Colors:<br />

Color<br />

<strong>Event</strong><br />

NextIsCi<br />

Description<br />

Represents the published event.<br />

If exists, the next <strong>Event</strong> will be forwarded to Consumer i. One color<br />

for each <strong>of</strong> the n Consumers.<br />

Init No. <strong>of</strong> Colors:<br />

Color Place Count Description<br />

NextIsCi LoadBal. 1 Defines that Consumer i will receive the first <strong>Event</strong> token.<br />

Transitions:<br />

Id Input Output FW Description<br />

If i < n:<br />

T1-i 1 <strong>Event</strong> (Load Balancer) 1 <strong>Event</strong> (Consumer i) 1 Forwards event<br />

1 NextIsCi 1 NextIsCi + 1 1 to consumer.<br />

(Load Balancer)<br />

(Load Balancer)<br />

If i = n:<br />

T1-n 1 <strong>Event</strong> (Load Balancer) 1 <strong>Event</strong> Consumer 1 1 Forwards event<br />

1 NextIsCn 1 NextIsC1 1 to consumer.<br />

(Load Balancer)<br />

(Load Balancer)<br />

Note: n is the count <strong>of</strong> Consumers.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!