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
900
Serverless orchestration with Workflows
Mete Atamel
April 16, 2021
Tweet
Share
More Decks by Mete Atamel
See All by Mete Atamel
Lessons learned building a GenAI powered app
meteatamel
0
17
Open standards for building event-driven applications in the cloud
meteatamel
0
230
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
170
Hands-on Gemini, the Google DeepMind LLM
meteatamel
1
150
Orchestrate generative AI with Workflows
meteatamel
0
34
WebAssembly beyond the browser
meteatamel
2
380
Introduction to Google Cloud Serverless
meteatamel
0
91
Choreography_vs_Orchestration_and_best_practices_.pdf
meteatamel
0
160
Service orchestration patterns
meteatamel
1
300
Other Decks in Programming
See All in Programming
PHPコードの実行モデルを理解する / Understanding-the-PHP-Execution-Model
shin1x1
0
1.1k
otelcol receiver 自作RTA / Pepabo Tech Conference #22 春のSREまつり
arthur1
0
860
TypeScriptから始める VR生活
tamagokakeg
2
110
Using "modern" Ruby to build a better, faster Homebrew
mikemcquaid
2
250
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
240
The grand strategy of Ruby Parser
yui_knk
5
280
Powerfully Typed TypeScript
euxn23
3
1.6k
Deep Dive into React Stream/Serialize
mugi_uno
4
860
TypeScriptとGraphQLで実現する 型安全なAPI実装 / TSKaigi 2024
hokaccha
5
2.7k
mb_trim関数を作りました
youkidearitai
PRO
1
200
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
160
Timeline エディター拡張入門
yucchiy
0
450
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
9
1.3k
What's in a price? How to price your products and services
michaelherold
238
11k
For a Future-Friendly Web
brad_frost
172
9k
Building Adaptive Systems
keathley
32
1.9k
Designing for Performance
lara
601
67k
A Tale of Four Properties
chriscoyier
153
22k
Imperfection Machines: The Place of Print at Facebook
scottboms
261
12k
Side Projects
sachag
451
41k
Statistics for Hackers
jakevdp
790
220k
Fireside Chat
paigeccino
22
2.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
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