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
High-Impact refactors keeping the lights on
Search
Ticketea Engineering
September 23, 2017
Programming
740
1
Share
High-Impact refactors keeping the lights on
First presented at PyConES 2017
Ticketea Engineering
September 23, 2017
More Decks by Ticketea Engineering
See All by Ticketea Engineering
Python Static Typing with MyPy
ticketeaeng
0
350
Ticketea, scaling a highly transactional business
ticketeaeng
0
250
Introducción a React Native
ticketeaeng
0
220
Virtual Lines with Asyncio
ticketeaeng
0
160
Cloud and Devops at ticketea
ticketeaeng
0
210
Developing our Box Office app
ticketeaeng
0
110
Architecture and Devops 2015
ticketeaeng
1
460
ticketea internals
ticketeaeng
2
630
Other Decks in Programming
See All in Programming
Vibe NLP for Applied NLP
inesmontani
PRO
0
230
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
890
まかせられるPM・まかせられないPM / DevTech GUILD Meetup
yusukemukoyama
0
110
AI活用のコスパを最大化する方法
ochtum
0
380
感情を設計する
ichimichi
5
1.4k
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
630
의존성 주입과 모듈화
fornewid
0
120
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
220
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
300
Java 21/25 Virtual Threads 소개
debop
0
340
アーキテクチャモダナイゼーションとは何か
nwiizo
17
4.8k
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
990
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Designing Powerful Visuals for Engaging Learning
tmiket
1
330
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Side Projects
sachag
455
43k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
150
Believing is Seeing
oripsolob
1
110
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
110
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
130
The Limits of Empathy - UXLibs8
cassininazir
1
290
HDC tutorial
michielstock
1
610
Transcript
High-impact refactors keeping the lights on @Kartones Diego Muñoz
01. What 02. Why 03. How 04. When Agenda
What
What
What
Why
Why
Why
How
Mega structures How
Mega structures How
DB High-frequency selling How CMS API CRUD Current (simplified) flow
How Extend, not modify* API DB High-frequency selling CRUD CMS
REDIS EVENT BUS EVENT BUS APU *do modify if needed to allow extension
Patterns & Practices - Parallel change - Strangler How API
DB High-frequency selling CRUD CMS REDIS EVENT BUS EVENT BUS APU
How API DB High-frequency selling CRUD CMS REDIS EVENT BUS
EVENT BUS APU Patterns & Practices - Event Bus - Cursor-based - N writers/readers
How API DB High-frequency selling CRUD CMS REDIS EVENT BUS
EVENT BUS APU Patterns & Practices - Event Sourcing
How API DB High-frequency selling CRUD CMS REDIS EVENT BUS
EVENT BUS APU “Build exciting things with boring nice technologies” - Python 3.6 · Strongly typed (Mypy) · Dockerized - Redis with LUA - AWS Kinesis github.com/ticketea/pynesis
When
When Continous Iteration - No hard deadline - Desired: soon
:-)
Latest benchmark: ~4100 ops/sec - Single CPU core, 20k tickets,
50k concurrent users - Attacking internal API - Room for optimization When
Current status: - Free events - Paid events on their
way · Play safe (money involved!) · Lots of payment methods When
Release plan: - Now: Hack (Special payment method) - 1.0:
Feature Toggling When
Rollout plan 01. Canary: big free event 02. Dark launch:
on paid events 03. B/G: Gradual switch When
THE END Thanks! @Kartones