Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Inside Azure Functions
Search
Tatsuro Shibamura
PRO
June 09, 2017
Programming
93
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Inside Azure Functions
Tatsuro Shibamura
PRO
June 09, 2017
More Decks by Tatsuro Shibamura
See All by Tatsuro Shibamura
AI Agent を本番環境へ―― Microsoft Foundry × Azure Serverless で作る Enterprise-Ready な基盤
shibayan
PRO
2
1.4k
Azure Cosmos DB パフォーマンス最適化入門 - 設計・開発・運用の実践テクニック
shibayan
PRO
0
600
Azure Serverless のパフォーマンスとコストを 最適化
shibayan
PRO
0
21
Microsoft Azure で実現する最新クラウドアーキテクチャ
shibayan
PRO
0
29
Hack Azure! #5 - Geek of Azure Serverless
shibayan
PRO
0
150
.NET Conf 2020 Online - .NET 5 リリース記念パーティートーク
shibayan
PRO
0
10k
Terraform Provider for Azure に貢献してみた話
shibayan
PRO
0
670
Azure Functions と SendGrid の良い関係
shibayan
PRO
0
1.4k
Azure Serverless を活用したリアルタイム Web のすべて
shibayan
PRO
1
3.1k
Other Decks in Programming
See All in Programming
Verilogで学ぶCPU自作入門.pdf
uyuki234
7
3.9k
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
iOSDC2026登壇資料.pdf
riofujimon
0
200
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
390
速習iPhone Duo対応
yuukiw00w
2
920
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1k
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
330
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
250
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
200
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.3k
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
360
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
190
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
350
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
530
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Ruling the World: When Life Gets Gamed
codingconduct
0
380
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Designing for humans not robots
tammielis
254
26k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
Code Review Best Practice
trishagee
74
20k
Amusing Abliteration
ianozsvald
1
320
How STYLIGHT went responsive
nonsquared
100
6.3k
Transcript
Inside Azure Functions しばやん(@shibayan)
Azure Functions とは • AWS Lambda の Azure 版 2
Azure Functions とは • イベント駆動型のコンピューティングプ ラットフォーム • ブラウザだけで処理を書ける – C#
/ Node.js / Batch / PHP など 3
Azure Functions で出来ること • そういうのは偉い人()に任せた – @kosmosebi とか、ブチザッキの人とか • 中身の方が気になる
– 仕組みが分かっていないと安心して使えない 4
例えば… • 「Azure Functions 使えばサーバーレ スで簡単に処理を書けるんやで!」 • 「IIS の下で動くんやろ、それリサイクル 走った時どうなんの。特に
TimerTrigger の精 度なんて IIS 次第やろ。そもそも Web App は アクセスが無かったらインスタンス落ちるやろ、 そういうところどうなってんの。担保するため 5
基本は App Service • 実行環境は Web App と全く同じ • Functions
Site Extension が有効化 6 コレ
Web App と同じ利点 • Web App と同じ機能、設定が使える – App Settings
– Connection Strings – Kudu / Site Extension • ものすごく便利!! 7
2 つの Service Plan • Classic App Service Plan –
これまでと同じ課金、SKU (F/B/S/P) • Dynamic Service Plan – 実際に使った分だけ課金(CPU/MEM) – リクエスト数(100 万単位) 8
Dynamic Service Plan • D12 v2 インスタンス利用 – Haswell 世代
Xeon E5-2673 v3 4 コア – 28GB メモリ – ストレージは Azure Files • Dynamic Service Plan は速い 9
価格について • 4/22 に公開されるらしい? 10
まとめ • 実績のある Web Apps 上に構築 – IIS 以下で動いてることは覚えておきたい •
Azure Functions は強い(こなみ 11
終わり ご清聴ありがとうございました? 12
問題: 常時起動するのか? 1. してないと Event Hub 使えんやろ 2. Always On
使いたいならお金を払え (Basic 以上じゃないとダメ) 3. 使えるけど、設定が必要になるんやで 13
答え: 1 • Always On 使ってないけどします • どっかのサーバーが勝手に GET を投げる
ようになっている 14
問題: Node.js のバージョン 1. かなり古いやつ (v0.10.24) 2. WEBSITE_NODE_DEFAULT_VERSION で設定されているバージョン (v4.1.2)
3. 最新バージョン (v5.9.1) 15
答え: 3 • 最新バージョンが使われる • Edge.js のバージョンが 5.9.1 だから –
node.dll を内包しているため、Web App の 設定とは完全に独立 16
終わり ご清聴ありがとうございました? 17
補足: Functions の実行 • C# / Node.js – IIS ワーカープロセス内で実行される
• それ以外 – 子プロセスとして実行される 18
補足: メータリング • Web Apps のメトリックを使う(多分 – CPU とメモリ •
リクエスト数は謎 – Kudu が使ってる分は課金対象になる? 19
補足: Functions ランタイム • Azure WebJobs SDK Script – https://github.com/Azure/azure-
webjobs-sdk-script • Azure Functions Portal – https://github.com/projectkudu/AzureFu nctionsPortal 20
終わり ご清聴ありがとうございました 21