Event Processing Course Producers and consumers (relates to chapters 4 + 5)
Copyright ©2009 Opher Etzion 2 Lecture outline Event producer – concept and definition element Event consumer – concept and definition element Type of event producers Type of event consumers Event consumers and producers in the Fast Flower Delivery example
Copyright ©2009 Opher Etzion 3 Event Producer
Copyright ©2009 Opher Etzion 4 Output terminals Event types: A collection of event type identifiers showing the types of events that can be emitted through this output terminal. An output terminal can have one or more event types associated with it. This association is not exclusive (an event producer can have the same event type associated with multiple output terminals) Targets: The identifier of the channel or other EPN which serves as a sink of the output terminal. Each output terminal can have zero or more targets.
Copyright ©2009 Opher Etzion 5 Producers types Sensing producers Reporting producers Push Pull / queriable
Copyright ©2009 Opher Etzion 6 Producer – State Observer in workflows State observer Push: Instrumentation points; Pull: Query the state
Copyright ©2009 Opher Etzion 7 Producer – active database Database insert modify delete Retrieve transaction before after
Copyright ©2009 Opher Etzion 8 Producer – Code instrumentation
Copyright ©2009 Opher Etzion 9 Producer – syndication
Copyright ©2009 Opher Etzion 10 Producer – sensors
Copyright ©2009 Opher Etzion 11 Producers – streams to events
Copyright ©2009 Opher Etzion 12 Producers – meters
Copyright ©2009 Opher Etzion 13 Producer – monitors
Copyright ©2009 Opher Etzion 14 Producer – simulators
Copyright ©2009 Opher Etzion 15 Event Consumer
Copyright ©2009 Opher Etzion 16 Input terminals Event types: A collection of event type identifiers showing the types of events that can be accepted by this input terminal. An input terminal can have one or more event types associated with it. Sources: Identifiers of channels or other EPN entities which can send events to the input terminal. Each input terminal can have zero or more sources.
Copyright ©2009 Opher Etzion 17 Event consumers types
Copyright ©2009 Opher Etzion 18 Performance monitoring dashboard
Copyright ©2009 Opher Etzion 19 Additional dashboard
Copyright ©2009 Opher Etzion 20 Ambient Orb
Copyright ©2009 Opher Etzion 21 Sixth sense
Copyright ©2009 Opher Etzion 22 Tracking map
Copyright ©2009 Opher Etzion 23 Twitter as a consumer
Copyright ©2009 Opher Etzion 24 Business Process Management system as a consumer
Copyright ©2009 Opher Etzion 25
Copyright ©2009 Opher Etzion 26 FFD Producer - Store
Copyright ©2009 Opher Etzion 27 Driver as producer
Copyright ©2009 Opher Etzion 28 GPS Sensor as producer
Copyright ©2009 Opher Etzion 29 The Driver event consumer
Copyright ©2009 Opher Etzion 30 The Store event consumer
Copyright ©2009 Opher Etzion 31 The Drivers Guild event consumer
Copyright ©2009 Opher Etzion 32 Lecture Summary In this lecture we have discussed the following topics: –The concept of event producer and consumer; –Types of consumers and producers –Their interaction with the event processing system –The "Fast Flower Delivery" use case the accompanies this book