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
2
57
Gemini + Gemma from Java with LangChain4j
meteatamel
2
120
Lessons learned building a GenAI powered app
meteatamel
0
97
Open standards for building event-driven applications in the cloud
meteatamel
0
350
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
530
Hands-on Gemini, the Google DeepMind LLM
meteatamel
1
260
Orchestrate generative AI with Workflows
meteatamel
0
78
WebAssembly beyond the browser
meteatamel
2
460
Introduction to Google Cloud Serverless
meteatamel
0
130
Other Decks in Programming
See All in Programming
讓數據說話:用 Python、Prometheus 和 Grafana 講故事
eddie
0
330
Why Spring Matters to Jakarta EE - and Vice Versa
ivargrimstad
0
660
CSC305 Lecture 13
javiergs
PRO
0
120
レガシーな Android アプリのリアーキテクチャ戦略
oidy
1
170
Vaporモードを大規模サービスに最速導入して学びを共有する
kazukishimamoto
4
4.3k
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
140
WEBエンジニア向けAI活用入門
sutetotanuki
0
290
今日で分かる!カスタムコップの作り方
krpk1900
2
370
Progressive Web Apps für Desktop und Mobile mit Angular (Hands-on)
christianliebel
PRO
0
100
Googleのテストサイズを活用したテスト環境の構築
toms74209200
0
250
Vue.js学習の振り返り
hiro_xre
2
130
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
8
840
Featured
See All Featured
The Language of Interfaces
destraynor
154
24k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Building Adaptive Systems
keathley
38
2.2k
Building Applications with DynamoDB
mza
90
6k
How to train your dragon (web standard)
notwaldorf
88
5.6k
[RailsConf 2023] Rails as a piece of cake
palkan
51
4.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
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