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.
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:
12
63 reads
MORE IDEAS ON THIS
13
81 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 objec...
12
63 reads
Systems can be scaled:
12
125 reads
Sharding means splitting your data across multiple nodes. This can be done in different ways:
1. Vertical sharding
12
65 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 ti...
13
83 reads
CURATED FROM
Alt account of @ocp. I use it to stash ideas about software engineering
π Cracking the Coding Interview
β
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Access to 200,000+ ideas
β
Access to the mobile app
β
Unlimited idea saving & library
β
β
Unlimited history
β
β
Unlimited listening to ideas
β
β
Downloading & offline access
β
β
Personalized recommendations
β
β
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