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
130
BOSH - A year in review 2017/18
drnic
0
190
Other Decks in Technology
See All in Technology
React 19×Rustツール 進化の「ズレ」を設計で埋める
remrem0090
1
110
The 7 pitfalls of AI
ufried
0
210
要件定義の精度を高めるための型と生成AIの活用 / Using Types and Generative AI to Improve the Accuracy of Requirements Definition
haru860
0
320
知ってた?JavaScriptの"正しさ"を検証するテストが5万以上もあること(Test262)
riyaamemiya
1
190
マンション備え付けのネットワークとLTE回線を組み合わせた ネットワークの安定化の考案
harutiro
1
120
Vision Banana: Image Generators are Generalist Vision Learners
kzykmyzw
0
360
AI 時代の Platform Engineering
recruitengineers
PRO
1
160
Every Conversation Counts
kawaguti
PRO
0
210
100マイクロサービスのTerraform/Kubernetes管理地獄から抜け出すためのAI活用術
markie1009
0
140
『生成AI時代のクレデンシャルとパーミッション設計 — Claude Code を起点に』の執筆企画
takuros
3
2.3k
エンタープライズの厳格な制約を開発者に意識させない:クラウドネイティブ開発基盤設計/cloudnative-kaigi-golden-path
mhrtech
0
400
生成AIはソフトウェア開発の革命か、ソフトウェア工学の宿題再提出なのか -ソフトウェア品質特性の追加提案-
kyonmm
PRO
2
880
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Amusing Abliteration
ianozsvald
1
160
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.4k
Bash Introduction
62gerente
615
210k
Designing for Performance
lara
611
70k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
A Tale of Four Properties
chriscoyier
163
24k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.3k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
390
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