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
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
10
1.9k
Long journey of Ruby standard library RubyKaigi 2024
andpad
2
190
TypeScriptでもLLMアプリケーション開発 / LLM Application In Typescript
rkaga
5
1.3k
GoでParserを書く
karupanerura
1
140
TypeScriptの型とパフォーマンス (TSKaigi 2024)
ypresto
14
4.4k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
49
16k
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
160
How to improve maintainability and readability of your automated tests? ( #scrumniigata )
teyamagu
PRO
1
130
Try creating your own orderedmap
kazamori
1
280
TypeScriptとGraphQLで実現する 型安全なAPI実装 / TSKaigi 2024
hokaccha
5
2.7k
WebGLで始める コンピュータグラフィックス入門
heller77
0
370
Namespace, What and Why
tagomoris
3
660
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
21
1.6k
jQuery: Nuts, Bolts and Bling
dougneiner
60
7.2k
Navigating Team Friction
lara
179
13k
Building Your Own Lightsaber
phodgson
100
5.7k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
7k
GitHub's CSS Performance
jonrohan
1025
450k
Teambox: Starting and Learning
jrom
128
8.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
Side Projects
sachag
451
41k
Designing the Hi-DPI Web
ddemaree
276
33k
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