Performance Modeling and Benchmarking of Event-Based ... - DVS
Performance Modeling and Benchmarking of Event-Based ... - DVS
Performance Modeling and Benchmarking of Event-Based ... - DVS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4.2. PERFORMANCE MODELING PATTERN 65<br />
Colors:<br />
Color<br />
<strong>Event</strong><br />
Trigger<br />
Slot<br />
Sleep<br />
Description<br />
Represents the published event.<br />
Triggers pull comm<strong>and</strong>s.<br />
Represents resources <strong>of</strong> consumer.<br />
Exists for time interval the consumer waits after an unsuccessful<br />
pull attempt before reconnecting.<br />
Init No. <strong>of</strong> Colors:<br />
Color Place Count Description<br />
Trigger Store 1<br />
Slot Store j j is equal to the number <strong>of</strong> events the consumer can process<br />
in parallel.<br />
Transitions:<br />
Id Input Output FW Description<br />
T1 1 <strong>Event</strong> (P roducer) 1 <strong>Event</strong> (Broker) 1 Producer publishes an<br />
event.<br />
T2 1 <strong>Event</strong> (Broker) 1 <strong>Event</strong> (Consumer) Consumer pulls<br />
1 Trigger (Store) 1 Trigger (Store) ∞ an event.<br />
1 Slot (Store)<br />
T3 1 <strong>Event</strong> (Consumer) 1 Slot (Store) 1 After an event is processed<br />
the consumer<br />
releases the resources.<br />
T4 1 Trigger (Store) 1 Slot (Store) 1 If no event is<br />
1 Slot (Store) 1 Sleep (T imer) available, disconnect<br />
<strong>and</strong> wait for a specified<br />
time interval.<br />
T5 1 Sleep (T imer) 1 Trigger (Store) 1 After a specified time<br />
interval, the consumer<br />
wakes up to pull<br />
events.