Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Serverless orchestration with Workflows
Search
Mete Atamel
April 16, 2021
Programming
0
1.2k
Serverless orchestration with Workflows
Mete Atamel
April 16, 2021
Tweet
Share
More Decks by Mete Atamel
See All by Mete Atamel
Model Context Protocol
meteatamel
1
21
Agent2Agent (A2A) Protocol
meteatamel
1
21
Beyond_the_Prompt__Evaluating__Testing__and_Securing_LLM_Applications.pdf
meteatamel
0
410
Gemini_2.0_for_developers.pdf
meteatamel
0
120
Avoid common LLM pitfalls
meteatamel
1
220
Gemini + Gemma from Java with LangChain4j
meteatamel
2
310
Lessons learned building a GenAI powered app
meteatamel
0
210
Open standards for building event-driven applications in the cloud
meteatamel
1
520
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
1k
Other Decks in Programming
See All in Programming
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
190
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
120
Devoxx BE - Local Development in the AI Era
kdubois
0
120
SpecKitでどこまでできる? コストはどれくらい?
leveragestech
0
680
CSC305 Lecture 02
javiergs
PRO
1
270
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
1
430
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2.1k
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
230
Serena MCPのすすめ
wadakatu
4
970
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
2
170
All About Angular's New Signal Forms
manfredsteyer
PRO
0
110
階層構造を表現するデータ構造とリファクタリング 〜1年で10倍成長したプロダクトの変化と課題〜
yuhisatoxxx
3
1k
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Into the Great Unknown - MozCon
thekraken
40
2.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
For a Future-Friendly Web
brad_frost
180
9.9k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
32
2.3k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.9k
Transcript
Proprietary + Confidential Serverless orchestration with Workflows Mete Atamel Developer
Advocate Google Cloud
Proprietary + Confidential Orchestration vs Choreography in microservices
Proprietary + Confidential Imagine an e-commerce transaction Too much coupling
between services What if one of the services goes down?
Proprietary + Confidential Choreographed services Services are loosely coupled Who
ensures that the transaction is complete?
Proprietary + Confidential Imagine a more complex transaction
Proprietary + Confidential Orchestrated services Best of both worlds: Loosely
coupled + orchestrator to capture the transaction
Proprietary + Confidential What’s Workflows?
Proprietary + Confidential Serverless Compute External API’s Google API’s etc...
Workflows - orchestrate & integrate SaaS API’s Private API’s Other Clouds
- callMyFunction: call: http.get args: url: https://us-central1-project123.cloudfunctions.net/... query: metric: NoOfTrs
result: metricResult - saveResult: switch: - condition: ${ metricResult.body.TrNo > 100 } call: http.post args: url: https://mydeployment.... body: Metric: ${ metricResult.body.TrNo } getMetric TrNo>100 End Yes No {“metric”:”NoOfTrs”} Notify
Proprietary + Confidential Steps
Proprietary + Confidential Expression language
Proprietary + Confidential Errors and retries
Proprietary + Confidential Conditional Expressions
Proprietary + Confidential How do I use Workflows?
Proprietary + Confidential # Deploy a workflow gcloud workflows deploy
my-workflow --source=workflow.yaml # Execute a workflow gcloud workflows execute my-workflow # See the result gcloud workflows executions describe <your-execution-id> --workflow my-workflow gcloud
Proprietary + Confidential Cloud Console
Proprietary + Confidential Workflows cloud.google.com/workflows Quickstarts cloud.google.com/workflows/docs/quickstarts Codelab: Introduction to
serverless orchestration with Workflows codelabs.developers.google.com/codelabs/cloud-workflows-intro Thank you