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
Dr Nic Williams
September 28, 2016
Technology
180
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
170
Cloud Foundry Quarks & Eirini - CFF Webinar 11-2019
drnic
1
450
Creating Cloud Native Buildpacks
drnic
0
200
Deploying First Application to Cloud Foundry
drnic
0
120
Bringing Buildpacks to Kubernetes
drnic
0
240
Distributing Cloud Foundry sidecars with buildpacks
drnic
0
400
Introducing Knative to Small Teams
drnic
2
830
10 ways to create BOSH releases faster
drnic
1
140
BOSH - A year in review 2017/18
drnic
0
210
Other Decks in Technology
See All in Technology
技術イベント終了後、運営の 事後タスクは丁寧に (心がけています)/ #tamagawadev
nishiuma
1
100
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コスト最適化
satohy0323
0
370
事業価値を⽣み出すSREへ SREが担うべき意思決定の5層
kenta_hi
2
3.6k
LLM/Agent評価:トップ営業の発言を「正解」にする 〜暗黙的正解による評価を営業資産に変える〜
takkuhiro
1
220
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
2
3.8k
貴方はどのエンジニアリングを磨くのか
hatyibei
0
130
LLMやAIエージェントをソフトウェアに組み込むプラクティス
shibuiwilliam
1
360
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
2
630
ゴールデンパスは敷いただけでは道にならない ─ 企画部門のエンジニアが技術標準を事業価値に変えるまで
mhrtech
0
140
KiCAD講習会②
tutcreators
0
110
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
4
5.4k
脱金融のフューチャー・デザイン / Future Design Beyond Finance
ks91
PRO
0
150
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
WENDY [Excerpt]
tessaabrams
11
38k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Building Adaptive Systems
keathley
44
3.1k
Automating Front-end Workflow
addyosmani
1370
210k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.6k
Thoughts on Productivity
jonyablonski
76
5.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
290
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