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
1.2k
Serverless orchestration with Workflows
Mete Atamel
April 16, 2021
Tweet
Share
More Decks by Mete Atamel
See All by Mete Atamel
Beyond_the_Prompt__Evaluating__Testing__and_Securing_LLM_Applications.pdf
meteatamel
0
350
Gemini_2.0_for_developers.pdf
meteatamel
0
100
Avoid common LLM pitfalls
meteatamel
1
200
Gemini + Gemma from Java with LangChain4j
meteatamel
2
280
Lessons learned building a GenAI powered app
meteatamel
0
190
Open standards for building event-driven applications in the cloud
meteatamel
1
490
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
980
Hands-on Gemini, the Google DeepMind LLM
meteatamel
1
400
Orchestrate generative AI with Workflows
meteatamel
0
150
Other Decks in Programming
See All in Programming
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
740
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
640
Comparing decimals in Swift Testing
417_72ki
0
160
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
320
バイブスあるコーディングで ~PHP~ 便利ツールをつくるプラクティス
uzulla
1
310
대규모 트래픽을 처리하는 프론트 개발자의 전략
maryang
0
110
プロダクトという一杯を作る - プロダクトチームが味の責任を持つまでの煮込み奮闘記
hiliteeternal
0
330
抽象化という思考のツール - 理解と活用 - / Abstraction-as-a-Tool-for-Thinking
shin1x1
1
910
新しいモバイルアプリ勉強会(仮)について
uetyo
1
240
Strands Agents で実現する名刺解析アーキテクチャ
omiya0555
1
110
Streamlitで実現できるようになったこと、実現してくれたこと
ayumu_yamaguchi
2
260
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
8
540
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Faster Mobile Websites
deanohume
308
31k
Speed Design
sergeychernyshev
32
1.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
332
22k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Adopting Sorbet at Scale
ufuk
77
9.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Git: the NoSQL Database
bkeepers
PRO
431
65k
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