Yochay Kiriaty gave a presentation on serverless computing using Microsoft Azure services. He began by defining serverless and its benefits like event-driven scaling, sub-second billing, and abstraction of servers. He then demonstrated several serverless patterns using Azure Functions for tasks like processing data from Blob storage, responding to API requests, and replicating logs between data centers. Throughout the presentation, he emphasized best practices for building serverless applications including designing functions to do single tasks, finish quickly, be stateless and idempotent.
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Public v1 real world example of azure functions serverless conf london 2016
1.
2. Yochay Kiriaty
Principal Program Manager @ Microsoft
Azure / App Service
Tech Evangelist
Various Start Ups
https://blogs.msdn.microsoft.com/appserviceteam
@yochayk
yochay@microsoft.com
7. Microsoft Serverless Services
Cortana
Management Suite
Media ServicesStorage
Traffic
Manager
Visual Studio
Services
OMS
Management SuitMachine LearningCDNDocument DB
Search
SchedulerActive Directory Key Vault App Insights Cognitive Services Embedded Power BI
Hockey AppStream AnalyticsNotification HubIoT Hub Service Bus
Functions Logic App
18. Before Serverless
Setup a VM/ Container/
WebJobs
Build/ patch/ deploy (OS)
Monitor infra (VM/
Container)
Manage FTP creds
Use FTP library
Use Azure SDK
Tasks/ Activities
Replicate logs from one data
center to another
Analyze the logs
Take action based on data
Using Serverless
Setup a VM/ Container/
WebJobs
Build/ patch/ deploy (OS)
Monitor infra (VM/
Container)
Manage FTP creds, but with
automation with dynamic
settings
Use FTP library
Use Azure SDK
29. EVENT SWARM ENGAGEMENT CHANNELS
FLEXIBLE BIG DATA PIPELINE
INTELLIGENCE PIPELINE
3RD PARTY
EVENT INGESTION
ENGINE
SQL DATA
WAREHOUSE
DATA LAKE STORAGE
& ANALYTICS
STREAM
ANALYTICS
WEB
CUSTOM
SERVICES
WEARABLES
POS
DIGITAL
DISPLAYS
BOTS
KIOSKS
MOBILE APP
SENSORS
OMNI CHANNEL ENGAGEMENT
WORKFLOW
ORCHESTRATION
ENTERPRISE INTEGRATION
CUSTOM INTELLIGENCE
INTELLIGENT
SERVICES
CUSTOM
FUNCTIONS
MACHINE
LEARNING
COGNITIVE
SERVICES
EXISTING
NEW
API GATEWAY
API GATEWAY
31. Functions Programming Model - Best Practices
• Functions should “do one thing”
• Functions should finish as quickly as possible
• Functions should be stateless
• Functions should be idempotent
1
32. Building Serverless Apps With Azure Functions
Instead of …
• pulling –> triggers
• ‘SDK’ –> bindings
• routes in a Web App (server) –> single function
• writing large functional tests against a server –> functional tests look
more like unit tests per function.
• building and deploying servers –> deploy collections of Functions
33. • Thick clients & stateless backends
• Statless Scale
• SPA (Angular /React) are your friend (enable CORS )
• Sync works, but Async rocks!
• Async Scale
• Async, queue based systems are more resilient
• Read and internalize the reactive manifesto - http://www.reactivemanifesto.org/
• Live and die by the cloud
• Develop on the cloud, test on the cloud, ship on the cloud
• Lots of different services
• Not just FaaS, but use other serverless tech that best solves the problem (like
Logic Apps)
Serverless Architecture- Best Practices
34. Microsoft and Serverless
Try Functions – https://functions.azure.com
Try App Service – https://tryappservice.azure.com