Tobias Petry
Scaling Databases
#1about 2 minutes
The database is the real bottleneck in scaling applications
Your programming language or framework is rarely the performance problem; the database is almost always the component that limits growth.
#2about 1 minute
Optimize queries and add caching before scaling out
Before distributing your database across multiple servers, you must first fix slow queries, add proper indexes, and implement caching to avoid amplifying existing problems.
#3about 1 minute
Scaling up is the simplest and most effective first step
Instead of immediately adding complexity with multiple servers, simply upgrading your existing database server with more memory and CPU cores is a cost-effective solution.
#4about 4 minutes
Understanding the trade-offs of multi-master replication
While multi-master replication allows writes to any server and guarantees read-after-write consistency, it often suffers from performance degradation due to write conflicts on the same data.
#5about 5 minutes
Using read replication to scale read-heavy workloads
Read replication uses a single primary for writes and multiple secondaries for reads, but requires careful application design to handle asynchronous replication lag and potential stale data.
#6about 5 minutes
The power and complexity of database sharding
Sharding provides near-infinite scalability by distributing data across multiple independent databases, but introduces significant complexity like cross-shard joins and managing multiple database systems.
#7about 2 minutes
Keep your database scaling strategy as simple as possible
Avoid premature optimization by choosing the simplest scaling solution that meets your current needs, as overly complex systems are difficult to manage and can lead to costly rewrites.
Related jobs
Jobs that call for the skills explored in this talk.
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
05:12 MIN
How to build structure and culture without killing agility
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
04:20 MIN
The most dangerous trap for HR during company growth
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:27 MIN
Moving beyond headcount to solve business problems
What 2025 Taught Us: A Year-End Special with Hung Lee
01:54 MIN
The growing importance of data and technology in HR
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
03:28 MIN
Shifting from talent acquisition to talent architecture
The Future of HR Lies in AND – Not in OR
03:38 MIN
Balancing the trade-off between efficiency and resilience
What 2025 Taught Us: A Year-End Special with Hung Lee
02:39 MIN
Establishing a single source of truth for all data
Cat Herding with Lions and Tigers - Christian Heilmann
Featured Partners
Related Videos
Scaling: from 0 to 20 million users
Josip Stuhli
Fault Tolerance and Consistency at Scale: Harnessing the Power of Distributed SQL Databases
Wei Hu
Fault Tolerance and Consistency at Scale: Harnessing the Power of Distributed SQL Databases
Wei Hu
Database Magic behind 40 Million operations/s
Jürgen Pilz
Single Server, Global Reach: Running a Worldwide Marketplace on Bare Metal in a Cloud-Dominated World
Jens Happe
How building an industry DBMS differs from building a research one
Markus Dreseler
Maximising Cassandra's Potential: Tips on Schema, Queries, Parallel Access, and Reactive Programming
Hartmut Armbruster
Branch your database like your code: How schema changes and pull requests go hand in hand
Johannes Nicolai & Lilli Seyther-Besecke
Related Articles
View all articles
.gif?w=240&auto=compress,format)


From learning to earning
Jobs that call for the skills explored in this talk.


Cloudera
Barcelona, Spain
Remote
Senior
Java
Spark
Python


Scalefree
Scalefree
Köln, Germany


Tech Solutions Gmbh
Paderborn, Germany
€39-95K
ETL
Bash
Azure
MySQL
+9

Tech Solutions Gmbh
Hagen, Germany
€39-95K
ETL
Bash
Azure
MySQL
+9

Tech Solutions Gmbh
Frankfurt am Main, Germany
€39-95K
ETL
Bash
Azure
MySQL
+9

Tech Solutions Gmbh
Offenbach am Main, Germany
€39-95K
ETL
Bash
Azure
MySQL
+9