SlideShare a Scribd company logo
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
https://functions.azure.com/try
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
Monolithic
Frontend
Middle tier
Backend
Microservice
1
Microservice
2
Microservice
3
Microservice
4
Microservice
5
Function 1
Function 2
Function 3
Function 4
Function 5
Function 6
Function 7
Function 8
Function 9
Function 10
Function 11
Function 12
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
public static void Run(byte[] image, string filename,
Stream outputBlob, TraceWriter log)
{
log.Info($"Processing image: {filename}");
var imageBuilder = ImageResizer.ImageBuilder.Current;
imageBuilder.Build(
image, outputBlob,
new ResizeSettings(640, 400, FitMode.Max, null), false);
}
{
"bindings": [
{
"name": "image",
"type": "blobTrigger",
"direction": "in",
"path": "card-input/{filename}.jpg",
"connection": "AzureWebJobsStorage"
},
{
"type": "blob",
"name": "outputBlob",
"path": "card-output/{filename}.jpg",
"connection": "AzureWebJobsStorage",
"direction": "out"
}
]
}
{
"bindings": [
{
"name": "myQueueItem",
"type": "queueTrigger",
"direction": "in",
“queueName": "outputqueue",
"connection": "AzureWebJobsStorage"
},
{
"type": "blob",
"name": "outputBlob",
"path": "outblob/{rand-guid}.txt",
"connection": "AzureWebJobsStorage",
"direction": "out"
}
]
}
module.exports = function (context, myQueueItem, myOutputBlob) {
context.log('JavaScript queue trigger function ', myQueueItem);
//validate
if (myQueueItem.apiId && myQueueItem.method && myQueueItem.body)
{
const value = DoWork(myQueueItem);
if(value) {
context.bindings.myOutputBlob = JSON.stringify(value);
//myOutputBlob = JSON.stringify(value);
}
}
else {
//handle error queue item missing params
context.log('invalid queue item ', myQueueItem);
}
context.done();
}
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
https://flow.microsoft.com/
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
….and more!
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
Every 15 minutes Clean tableFind and clean invalid data
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
File added to
Blob Storage
Transform CSV to data rows Power BI
Chart graphic
Photo taken and
WebHook called Stores in blob storage Produces scaled images
Image Processing
Functions App 2
API
Function App 1
Photo taken and
WebHook called
Tasks/ Activities
• Upload data to
storage
• Process data
• Expose REST API
Using Functions
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor infra
• Build Web API App
• ‘Use Azure SDK’
• Built async data
processing (scale)
Before Functions
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor infra
• Build Web API App
• Use Azure SDK
• Built async data
processing (scale)
Photo taken and
WebHook called
Loaded web page
calls WebHook
Completed pageCreate ad based on user profile
Millions of devices feed
into Stream Analytics
Store data in
SQL Online
Transform to structured data
Infrastructure customization
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
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
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
Tasks/ Activities
• Collect tweets
• Analyze tweets
• Display rich analysis
Using Serverless
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor infra
• Connect (auth)to
twitter
• Using Twitter API
(SDK)
• Analyze tweets
• Build rich client to
show results
Before Serverless
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor infra
• Connect (auth)to
twitter
• Using Twitter API
(SDK)
• Analyze tweets
• Build rich client to
show results
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
http://aka.ms/TryFunctions
https://aka.ms/func-github
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
https://github.com/yochay/serverlesspatterns
https://blogs.msdn.microsoft.com/appserviceteam/2017/07/06/alpha-preview-for-durable-functions/
https://azure.github.io/azure-functions-durable-extension/
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
F1 F2 F3 F4
F1 F2 F3 F4
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
TriggerFunc F1 F2 F3
• Azure Queues (SNS/ SQS) are an implementation detail.
• Each individual Function needs to be “aware” of other functions.
• Functions need to be idempotent.
• Functions need to “DoWork” and “UndoWork”
TriggerFunc F1 F2 F3
• Azure Queues (SNS/ SQS) are an implementation detail
• Central Error Handling Function “understand” the chain/flow
Error Handler
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
Heroes DoWork
GetStatus
Start DoWork
GetStatus
• Execution state
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
F1
F2
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
F1
F2 F2.1 F2.2
F1
F2
F3
State
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))
https://github.com/yochay/serverlesspatterns
http://aka.ms/TryFunctions

More Related Content

PPTX
Azure Overview
PDF
Azure Application Architecture Guide ~Design principles for Azure application...
PPTX
Windows Azure
PDF
Build 2014 Azure 的まとめ
PPTX
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
PDF
Containers on Microsoft Azure
PPTX
Notes from the field on customizing your AI using Cognitive Services
PPTX
Four Scenarios for an Integration Service Environment (ISE)
Azure Overview
Azure Application Architecture Guide ~Design principles for Azure application...
Windows Azure
Build 2014 Azure 的まとめ
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
Containers on Microsoft Azure
Notes from the field on customizing your AI using Cognitive Services
Four Scenarios for an Integration Service Environment (ISE)

What's hot (20)

PDF
[Developers Festa Sapporo 2019] Azure Updates - Ignite 2019
PDF
Windows Virtual Desktop Powered By Microsoft Azure
PPTX
Building Event-Driven Integration Architectures with Azure Event Grid (GIB2019)
PDF
Mobility & Cloud: Build your cross platform mobile application using Xamarin ...
PDF
EnablingPowerfulAndPersonalizedSearchExperienceUsingElastic7.15
PDF
Windows Virtual Desktop - Desktops on Cloud !
PPTX
Microsoft Azure News - May 2020
PPTX
AI at Microsoft for HEC
PPTX
Microsoft Azure Overview
PDF
Azure IOT: EVENT HUB & STREAM ANALYTICS & POWER BI
PDF
Centro Computer - VDI con Windows Virtual Desktop
PPTX
Windows Azure Mobile Services - The Perfect Partner
PPTX
Azure container services
PPTX
Microsoft IoT Overview, Vision and Roadmap
PDF
Conversational AI and Knowledge Mining with Microsoft Cognitive Services
PPTX
What's new for Serverless Computing in Azure
PPTX
Event Grid Unplugged - Using events as the fuel powering your applications
PPTX
Azure Compute, Networking and Storage Overview
PPTX
Windows azure
PPTX
Cloud Powered Mobile Apps with Azure
[Developers Festa Sapporo 2019] Azure Updates - Ignite 2019
Windows Virtual Desktop Powered By Microsoft Azure
Building Event-Driven Integration Architectures with Azure Event Grid (GIB2019)
Mobility & Cloud: Build your cross platform mobile application using Xamarin ...
EnablingPowerfulAndPersonalizedSearchExperienceUsingElastic7.15
Windows Virtual Desktop - Desktops on Cloud !
Microsoft Azure News - May 2020
AI at Microsoft for HEC
Microsoft Azure Overview
Azure IOT: EVENT HUB & STREAM ANALYTICS & POWER BI
Centro Computer - VDI con Windows Virtual Desktop
Windows Azure Mobile Services - The Perfect Partner
Azure container services
Microsoft IoT Overview, Vision and Roadmap
Conversational AI and Knowledge Mining with Microsoft Cognitive Services
What's new for Serverless Computing in Azure
Event Grid Unplugged - Using events as the fuel powering your applications
Azure Compute, Networking and Storage Overview
Windows azure
Cloud Powered Mobile Apps with Azure
Ad

Similar to [Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮)) (20)

PPTX
Going Serverless with Azure Functions
PDF
e-KTP Information Extraction with Google Cloud Function & Google Cloud Vision
PPTX
Ibm xamarin gtruty
PPTX
Azure for SharePoint Developers - Workshop - Part 2: Azure Functions
PPTX
Html5 on Mobile(For Developer)
PPTX
Building API in the cloud using Azure Functions
PPTX
Deploying your static web app to the Cloud
PPTX
Code First with Serverless Azure Functions
DOCX
Wei ding(resume)
PPTX
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
PPTX
Going Serverless with Azure Functions in .NET
PPTX
Building Your First App with MongoDB Stitch
PDF
Web Performance Part 4 "Client-side performance"
PPTX
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
PPTX
Cloud Powered Mobile Apps with Azure
PPTX
Go Serverless with Cosmos DB, Azure Functions and Blazor
PPTX
Hdv309 - Real World Sandboxed Solutions
PPTX
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
PDF
Faites évoluer votre accès aux données avec MongoDB Stitch
PPTX
Azure functions
Going Serverless with Azure Functions
e-KTP Information Extraction with Google Cloud Function & Google Cloud Vision
Ibm xamarin gtruty
Azure for SharePoint Developers - Workshop - Part 2: Azure Functions
Html5 on Mobile(For Developer)
Building API in the cloud using Azure Functions
Deploying your static web app to the Cloud
Code First with Serverless Azure Functions
Wei ding(resume)
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
Going Serverless with Azure Functions in .NET
Building Your First App with MongoDB Stitch
Web Performance Part 4 "Client-side performance"
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
Cloud Powered Mobile Apps with Azure
Go Serverless with Cosmos DB, Azure Functions and Blazor
Hdv309 - Real World Sandboxed Solutions
A Microsoft Silverlight User Group Starter Kit Made Available for Everyone to...
Faites évoluer votre accès aux données avec MongoDB Stitch
Azure functions
Ad

More from Naoki (Neo) SATO (20)

PDF
Build enterprise-grade AI agents with Azure AI Agent Service
PDF
Microsoft Build 2024 Updates
PDF
LLMOps with Azure Machine Learning prompt flow
PDF
Microsoft Copilot, your everyday AI companion (Machine Learning 15minutes! Br...
PDF
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
PDF
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
PDF
30分でわかるマイクロサービスアーキテクチャ 第2版
PDF
[Machine Learning 15minutes! Broadcast #67] Azure AI - Build 2022 Updates and...
PDF
[Machine Learning 15minutes! #61] Azure OpenAI Service
PDF
[第50回 Machine Learning 15minutes! Broadcast] Azure Machine Learning - Ignite ...
PDF
[Developers Festa Sapporo 2020] Microsoft/GitHubが提供するDeveloper Cloud (Develop...
PDF
[第2回 Azure Cosmos DB 勉強会] Data modelling and partitioning in Azure Cosmos DB ...
PDF
[第45回 Machine Learning 15minutes! Broadcast] Azure AI - Build 2020 Updates
PDF
[第43回 Machine Learning 15minutes! × 2] Azure AI Updates
PDF
[Serverless OpenHack Tokyo] Azure Serverless (Japanese)
PDF
[Serverless OpenHack Tokyo] Azure Serverless (English)
PDF
[Azure Council Experts (ACE) 第37回定例会] Microsoft Azureアップデート情報 (2019/08/22-201...
PDF
[db tech showcase Tokyo 2019] Azure Cosmos DB Deep Dive ~ Partitioning, Globa...
PDF
How to work with technology to survive as an engineer (エンジニアとして生き残るためのテクノロジーと...
PDF
[Azure Council Experts (ACE) 第36回定例会] Microsoft Azureアップデート情報 (2019/06/14-201...
Build enterprise-grade AI agents with Azure AI Agent Service
Microsoft Build 2024 Updates
LLMOps with Azure Machine Learning prompt flow
Microsoft Copilot, your everyday AI companion (Machine Learning 15minutes! Br...
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
30分でわかるマイクロサービスアーキテクチャ 第2版
[Machine Learning 15minutes! Broadcast #67] Azure AI - Build 2022 Updates and...
[Machine Learning 15minutes! #61] Azure OpenAI Service
[第50回 Machine Learning 15minutes! Broadcast] Azure Machine Learning - Ignite ...
[Developers Festa Sapporo 2020] Microsoft/GitHubが提供するDeveloper Cloud (Develop...
[第2回 Azure Cosmos DB 勉強会] Data modelling and partitioning in Azure Cosmos DB ...
[第45回 Machine Learning 15minutes! Broadcast] Azure AI - Build 2020 Updates
[第43回 Machine Learning 15minutes! × 2] Azure AI Updates
[Serverless OpenHack Tokyo] Azure Serverless (Japanese)
[Serverless OpenHack Tokyo] Azure Serverless (English)
[Azure Council Experts (ACE) 第37回定例会] Microsoft Azureアップデート情報 (2019/08/22-201...
[db tech showcase Tokyo 2019] Azure Cosmos DB Deep Dive ~ Partitioning, Globa...
How to work with technology to survive as an engineer (エンジニアとして生き残るためのテクノロジーと...
[Azure Council Experts (ACE) 第36回定例会] Microsoft Azureアップデート情報 (2019/06/14-201...

Recently uploaded (20)

PDF
System and Network Administration Chapter 2
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
ai tools demonstartion for schools and inter college
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
System and Network Administraation Chapter 3
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPT
Introduction Database Management System for Course Database
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Nekopoi APK 2025 free lastest update
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Transform Your Business with a Software ERP System
System and Network Administration Chapter 2
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Understanding Forklifts - TECH EHS Solution
Upgrade and Innovation Strategies for SAP ERP Customers
Online Work Permit System for Fast Permit Processing
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Odoo POS Development Services by CandidRoot Solutions
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
ai tools demonstartion for schools and inter college
VVF-Customer-Presentation2025-Ver1.9.pptx
System and Network Administraation Chapter 3
Wondershare Filmora 15 Crack With Activation Key [2025
How to Migrate SBCGlobal Email to Yahoo Easily
Introduction Database Management System for Course Database
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Nekopoi APK 2025 free lastest update
Design an Analysis of Algorithms II-SECS-1021-03
Transform Your Business with a Software ERP System

[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デザインパターンなど (仮))