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
1k
Serverless orchestration with Workflows
Mete Atamel
April 16, 2021
Tweet
Share
More Decks by Mete Atamel
See All by Mete Atamel
Avoid common LLM pitfalls
meteatamel
1
33
Gemini + Gemma from Java with LangChain4j
meteatamel
2
130
Lessons learned building a GenAI powered app
meteatamel
0
110
Open standards for building event-driven applications in the cloud
meteatamel
0
360
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
580
Hands-on Gemini, the Google DeepMind LLM
meteatamel
1
280
Orchestrate generative AI with Workflows
meteatamel
0
82
WebAssembly beyond the browser
meteatamel
2
470
Introduction to Google Cloud Serverless
meteatamel
0
130
Other Decks in Programming
See All in Programming
React CompilerとFine Grained Reactivityと宣言的UIのこれから / The next chapter of declarative UI
ssssota
5
360
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
Jakarta EE meets AI
ivargrimstad
0
800
Quine, Polyglot, 良いコード
qnighy
4
650
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
200
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
290
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
180
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
120
イマのCSSでできる インタラクション最前線 + CSS最新情報
clockmaker
5
2.7k
Featured
See All Featured
Fireside Chat
paigeccino
34
3k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Writing Fast Ruby
sferik
627
61k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
For a Future-Friendly Web
brad_frost
175
9.4k
Embracing the Ebb and Flow
colly
84
4.5k
A Philosophy of Restraint
colly
203
16k
Bash Introduction
62gerente
608
210k
A better future with KSS
kneath
238
17k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
430
Designing the Hi-DPI Web
ddemaree
280
34k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
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