Home
Categories
EXPLORE
True Crime
Comedy
Society & Culture
Business
Sports
History
Music
About Us
Contact Us
Copyright
© 2024 PodJoint
00:00 / 00:00
Sign in

or

Don't have an account?
Sign up
Forgot password
https://is1-ssl.mzstatic.com/image/thumb/Podcasts211/v4/4a/43/d5/4a43d50b-75ae-c4d7-1c47-d1d66d192ec3/mza_5800115864458738926.jpg/600x600bb.jpg
Coding Interview Brew
Aarjay Singh
18 episodes
2 months ago
This podcast is to help in coding interview preparation.
Show more...
Technology
RSS
All content for Coding Interview Brew is the property of Aarjay Singh and is served directly from their servers with no modification, redirects, or rehosting. The podcast is not affiliated with or endorsed by Podjoint in any way.
This podcast is to help in coding interview preparation.
Show more...
Technology
https://d3t3ozftmdmh3i.cloudfront.net/staging/podcast_uploaded_nologo/42197163/42197163-1728567283139-3225ca1c72dd9.jpg
Scaling Databases with Sharding: Techniques and Challenges
Coding Interview Brew
11 minutes 7 seconds
1 year ago
Scaling Databases with Sharding: Techniques and Challenges

In this episode, we explore two key techniques for scaling databases when they run out of memory: vertical scaling and horizontal scaling. Our focus is on sharding, a powerful form of horizontal scaling that distributes the database across multiple machines, improving performance and capacity. We dive into how sharding works by using a partition function, typically a hash function, to determine which machine holds a particular piece of data.

We also discuss the pros and cons of sharding, including the potential for hotspots—where one machine becomes overloaded—and the complexity of remapping data when adding new machines. Lastly, we address the challenge of keeping the database available for read and write operations during remapping. Tune in to learn how to effectively scale your database and navigate the complexities of sharding!

Coding Interview Brew
This podcast is to help in coding interview preparation.