Serverless computing has proven to be a more feasible option for organisations of any size these days whether for developing a highly scalable application or just to spin up a proof of concept (POC). In this session we will be looking at Microsoft's effort to simplify serverless event-based messaging with its new Event Grid service, looking at its benefit, sample use cases and also showing you a demo on how simple it is to get up and running with it
2. About Harris
• Developer/Support Analyst @ Adaptiv Integration
• Hobbies: Photography and Powerlifting
• http://www.adaptiv.co.nz/team-member/harris-kristanto/
• https://www.linkedin.com/in/harris-kristanto-816a624b/
3. About Nikolai
• Co-founder and Principal Architect @ Adaptiv Integration
• Partners with Dell Boomi, Microsoft and MuleSoft
• Hobbies: Cycling, Classic Cars, Rick & Morty!!!
• http://www.adaptiv.co.nz/team-member/nikolai-blackie/
• https://twitter.com/nikolaiblackie/
• https://www.linkedin.com/in/nikolaiblackie/
4. Event-driven architecture
• “Events” refer to things
that happen in the
systems
• They often do not carry
much data with it
• EDA promotes the
detection, consumption
of, and reaction to
events, rather than
actions
5. Command Query Responsibility Segregation
• Keeping the model that we use
to read information separate
with the one to update
information.
• Benefit for handling high
performance application.
• The separation of loads from
read and write allows us to
independently scale.
6. Event-driven architecture
• Pros:
• Decouples the event
‘Producers’ and
‘Consumers’
• Eliminates the need for
polling
• Scalability
• Redundancy
• Resiliency
• Cons:
• Increased complexity
• Overkill for simple
systems
7. Azure Event Grid
• Event based Router as a Service (EBRaaS)
• Operates with Pub/Sub model, pushes events to registered subscribers
8. Distinguishing between Service Bus, Event
Hubs, and Event Grid
Service Purpose Type When to use
Event Grid Reactive
programming
Event distribution
(discrete)
React to status
changes
Event Hubs Big data pipeline Event streaming
(series)
Telemetry and
distributed data
streaming
Service Bus High-value
enterprise
messaging
Message Order processing
and financial
transactions
9. Why Event Grid
• Scales up to 10,000,000 events per second
• 99.99% SLA
• Integrates natively with Azure services
• Technology agnostic (HTTP Protocol)
10. Retries and at least once delivery
• 24-hour retry with exponential back off for undelivered events
• 10 seconds
• 30 seconds
• 1 minute
• 5 minutes
• 10 minutes
• 30 minutes
• 1 hour
11. Use Case Scenarios
• Operations
• Serverless Applications
• Systems Integration
• IOT
12. Security
• Webhook Validation
• Management Access Control
• Topic Publishing, SAS key on header
{"validationResponse":"3158cb2f-a2c4-46ca-96b0-ae2c8562fa43"}
Aeg-sas-key:
Sbe2+g9Gju9s0+eWjDdyEc9tNEoOFXXGXG40fb2zgDQ=
Nikolai
What are events, what EDA is about
EDA vs. SOA
Lightweight events rather than service call contracts
Topic: Full resource path to the event source, provided by Event Grid
West US, East US, West US 2, East US 2, West Central US, Central US, West Europe, North Europe, Southeast Asia, and East Asia with more coming soon.
Animate section to guide your discussion
Think about why this is useful, what would you use it for and in what context.
System admin to monitor for changes
VM created, DB Deleted, Creation failed