Explore the World's Best Ideas
Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.
Systems can be scaled:
15
138 reads
Joins in relational databases get very slow as the system grows bigger. You should denormalize your data to avoid joins and speed up your queries.
Normalized databases are designed to minimize redundancy, while denormalized databases are designed to optimize read time.
16
97 reads
Sharding means splitting your data across multiple nodes. This can be done in different ways:
1. Vertical sharding
2. Key-based sharding
3. Directory-based sharding
16
76 reads
Caching systems are usually in-memory key-value databases that provide very fast access to data. They sit between your application and the database.
Depending on your use case, you can either cache only the results of the database queries, or cache the entire response objects (such as fully rendered web pages).
15
71 reads
Slow operations should be done asynchronously to avoid making users wait for long periods of time until their requests are processed.
Sometimes this can be done in advance, by pre-processing data that you know users will need. For example, a forum might periodically re-render its page of most popular posts and the number of comments.
Asynchronous processing usually requires 2 components:
16
72 reads
16
92 reads
IDEAS CURATED BY
Alt account of @ocp. I use it to stash ideas about software engineering
CURATOR'S NOTE
📖 Cracking the Coding Interview
“
Similar ideas
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates