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
Powerfully Typed TypeScript
euxn23
3
1.4k
Open AI APIを使う前に知っておきたいアカウントTier の話
akki_megane
0
130
CQRS meets modern Java
simas
PRO
2
470
TypeScriptで使いやすいOpenAPIの書き方
yukimochi_dwango
1
580
CREってこういうこと? 体験入社 - 提案資料 - / what-is-cre-trial-employment
shinden
1
620
The Cutting Edge Of Versioning (LambdaConf 2024)
chriskrycho
0
250
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
RubyGems on ruby.wasm
kateinoigakukun
0
110
RailsConf 2024: Riffing on Rails: sketch your way to better designed code
kaspth
0
210
ペパボOpenTelemetry革命
pyama86
2
740
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
140
Revisiting the Hotwire Landscape after Turbo 8 @ RailsConf 2024, Detroit
marcoroth
3
610
Featured
See All Featured
What's new in Ruby 2.0
geeforr
338
31k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
39
2.5k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Agile that works and the tools we love
rasmusluckow
325
20k
Code Reviewing Like a Champion
maltzj
515
39k
A Tale of Four Properties
chriscoyier
153
22k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
Become a Pro
speakerdeck
PRO
13
4.6k
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