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
Implementing "Undo" for Cloud Foundry Service B...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Dr Nic Williams
September 28, 2016
Technology
170
1
Share
Implementing "Undo" for Cloud Foundry Service Brokers - CF Summit Frankfurt 2016
Dr Nic Williams
September 28, 2016
More Decks by Dr Nic Williams
See All by Dr Nic Williams
Making URLs look awesome when people share them
drnic
2
150
Cloud Foundry Quarks & Eirini - CFF Webinar 11-2019
drnic
1
440
Creating Cloud Native Buildpacks
drnic
0
190
Deploying First Application to Cloud Foundry
drnic
0
110
Bringing Buildpacks to Kubernetes
drnic
0
210
Distributing Cloud Foundry sidecars with buildpacks
drnic
0
390
Introducing Knative to Small Teams
drnic
2
820
10 ways to create BOSH releases faster
drnic
1
120
BOSH - A year in review 2017/18
drnic
0
180
Other Decks in Technology
See All in Technology
EMから幅を広げるために最近挑戦していること / Recent challenges I'm undertaking to expand my horizons beyond EM
hiro_torii
1
120
プラットフォームエンジニアリングの実践 - AWS コンテナサービスで構築する社内プラットフォーム / AWS Containers Platform Meetup #1
literalice
1
210
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
480
AI時代における技術的負債への取り組み
codenote
1
1.7k
データ定義の混乱と戦う 〜 管理会計と財務会計 〜
wonohe
0
140
Choose your own adventure in agentic design patterns
glaforge
0
150
社内エンジニア勉強会の醍醐味と苦しみ/tamadev
nishiuma
0
240
AIが自律的に働く時代へ Amazon Quick で実現するAIエージェント紹介
koheiyoshikawa
0
100
Percolatorを廃止し、マルチ検索サービスへ刷新した話 / Search Engineering Tech Talk 2026 Spring
visional_engineering_and_design
0
150
基盤を育てる 外部SaaS連携の運用
gamonges_dresscode
1
120
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
8
1.4k
Class.new is all you need
riseshia
1
170
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
280
KATA
mclloyd
PRO
35
15k
GitHub's CSS Performance
jonrohan
1032
470k
Deep Space Network (abreviated)
tonyrice
0
120
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
120
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
97
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
170
Making Projects Easy
brettharned
120
6.6k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Transcript
Dingo PostgreSQL Implementing “Undo” for Cloud Foundry Service Brokers
Justin Carter & Dr Nic Williams
Dingo PostgreSQL Problem
Dingo PostgreSQL Problem
Dingo PostgreSQL Problem
Plan First-class love for databases Implementing “undo” Ǚ No
CF CLI plugin required Example of Dingo PostgreSQL
For the love of databases Cloud Foundry loves developers
For the love of databases Does Cloud Foundry
love DBs?
361 v2 API endpoints For the love of databases
81 v2 services APIs
For the love of databases 51 v3 API endpoints
4 v3 APIs for service bindings
For the love of databases 172 cf commands 31
cf commands for ‘services’
For the love of databases Create service instance
Bind to an application Unbind from an app Delete service instance Ǚ
For the love of databases Dz 0 commands for
listing backups 0 commands for viewing DB logs 0 commands for health/monitoring ǟ 0 commands to “undo” mistakes Ǚ
For the love of databases TCP router is for
apps Diego persistence is for apps Loggregator is app centric CLI plugins decoupled from brokers Lj
Undo How can we offer “undo” to users?
Undo Ŏ “clone-from” parameter
Idea Perform “actions” via parameters
Problem ŏ Broker only receives UUIDs, not “production” provided by
user ŏ Cloud Controller doesn’t remember “production” after delete
Implement broker 1 Receive service instance ID only 3 Look
up service name from CF 2 Continue asynchronously 4 Cache service name independently of CF
CLI to Cloud Controller
Cloud Controller to Broker
Undo Ŏ Able to map “production” to backups
clone-from: production
Space restriction Ȓ Restrict to same space_guid Else complex authorisation
system
“Daily” backups Ɍ Daily backups can be 23+ hours old
… Continuous archiving … PostgreSQL write ahead logs (WAL)
MySQL binary log files MongoDB /dev/null Ǚ
Dingo PostgreSQL Dingo PostgreSQL <insert video of 3D animation>
User Experience User-initiated data recovery Continuous/near-real time archives …
Users expect all data is recoverable ȑ Native CLI experience would be much nicer please
Future Auto-discovery of broker plugin Point in time recovery …
CLI plugins for full experience Lj Operator cleanup of legacy backups Ǎ
Team 30 staff, 6 countries Platform experts Cloud Foundry experts
Dingo PostgreSQL