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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ticketea Engineering
September 23, 2017
Programming
1
730
High-Impact refactors keeping the lights on
First presented at PyConES 2017
Ticketea Engineering
September 23, 2017
Tweet
Share
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
200
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
Claude Code Skill入門
mayahoney
0
440
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
250
AI 開発合宿を通して得た学び
niftycorp
PRO
0
180
Claude Codeログ基盤の構築
giginet
PRO
7
3.7k
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
0
120
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
160
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
200
Feature Toggle は捨てやすく使おう
gennei
0
370
Java 21/25 Virtual Threads 소개
debop
0
290
存在論的プログラミング: 時間と存在を記述する
koriym
5
540
Rethinking API Platform Filters
vinceamstoutz
0
980
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
590
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
140
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.2k
Exploring anti-patterns in Rails
aemeredith
2
290
Between Models and Reality
mayunak
2
240
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
150
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
270
New Earth Scene 8
popppiees
1
1.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
340
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