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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tatsuro Shibamura
PRO
June 09, 2017
Programming
92
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
19
Microsoft Azure で実現する最新クラウドアーキテクチャ
shibayan
PRO
0
27
Hack Azure! #5 - Geek of Azure Serverless
shibayan
PRO
0
140
.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
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
3.8k
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
150
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
660
業務時間外もAIに働いてもらう話
colorful12
3
10k
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
1.1k
XHTMLが残したもの
yosuke_furukawa
PRO
2
680
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
500
不幸な GC
chencmd
0
900
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
4.4k
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
150
Family mrubyの進捗
kishima
1
110
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
56
37k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
500
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
850
Writing Fast Ruby
sferik
630
63k
Why Our Code Smells
bkeepers
PRO
340
58k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
660
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
660
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
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