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
940
Serverless orchestration with Workflows
Mete Atamel
April 16, 2021
Tweet
Share
More Decks by Mete Atamel
See All by Mete Atamel
Gemini + Gemma from Java with LangChain4j
meteatamel
2
70
Lessons learned building a GenAI powered app
meteatamel
0
80
Open standards for building event-driven applications in the cloud
meteatamel
0
300
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
350
Hands-on Gemini, the Google DeepMind LLM
meteatamel
1
210
Orchestrate generative AI with Workflows
meteatamel
0
63
WebAssembly beyond the browser
meteatamel
2
410
Introduction to Google Cloud Serverless
meteatamel
0
110
Choreography_vs_Orchestration_and_best_practices_.pdf
meteatamel
0
160
Other Decks in Programming
See All in Programming
コード生成を伴うLLMエージェント - 2024.07.18 Tokyo AI
smiyawaki0820
11
4.1k
How to use Macrobenchmark
veronikapj
0
160
Google's Recipe for Scaling (Web) Security – LocoMocoSec 2024
lweichselbaum
0
170
Product Management LT会_クアンド新家
shinshin
0
210
SDCon2024: Enabling DevOps and Team Topologies thru architecture: architecting for fast flow
cer
PRO
0
780
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Berlin
prof18
0
110
CSC307 Lecture 09
javiergs
PRO
1
500
AHC035解説
terryu16
0
710
リハビリmruby
kishima
1
160
AWS CDKにおける「再利用性」を考える / aws-cdk-reusability
gotok365
6
1.3k
最近追加した型の紹介とその振り返り
aki19035vc
0
170
OpenAI/Gemini APIを使って EPUBを翻訳するCLIツールをつくってみた
tomiyan
0
790
Featured
See All Featured
Visualization
eitanlees
139
14k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
189
16k
Documentation Writing (for coders)
carmenintech
63
4.2k
Designing for humans not robots
tammielis
247
25k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
26
2.1k
Side Projects
sachag
451
42k
GraphQLの誤解/rethinking-graphql
sonatard
59
9.6k
The MySQL Ecosystem @ GitHub 2015
samlambert
248
12k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
19k
We Have a Design System, Now What?
morganepeng
46
7k
Pencils Down: Stop Designing & Start Developing
hursman
118
11k
Docker and Python
trallard
37
2.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