
Java & MERN Stack | prev @climkare
Pune, Maharashtra
Joined April 2022
- Tweets965
- Following1.9K
- Followers237
- Likes10.2K
I’ve been thinking about this lately — who is actually getting interview calls right now?
My friends and I have decent, trendy projects and we’re applying consistently on Naukri, Wellfound, LinkedIn, and other platforms, but we’re still barely getting interview calls.
2
3
44
One concept I find really important in distributed systems is caching.
Instead of querying the database for the same data repeatedly, frequently used data can be stored in fast memory.
This reduces latency and database load.
1
3
50
Another important issue is stale data.
The database is usually the source of truth, while the cache may temporarily contain an older value.
For something like video likes, that's usually acceptable.
For banking data, stale values can be much more serious.
1
1
4
Data consistency gets tricky when the same data exists on multiple servers.
A single server is consistent, but creates problems with failures, scaling and latency.
Replication solves these problems, but creates a new challenge: keeping replicas in sync.
1
2
32
2PC can mean:
→ More network coordination
→ Higher latency
→ Resources staying locked while participants respond
The stronger the guarantee, the more coordination may be required.
1
1
4
Location-based apps like Maps, food delivery and ride-sharing need to answer queries like:
“Find all drivers within 5 km.”
Using PIN codes isn't enough because they don't represent actual physical distance or road connectivity.
1
3
39
The Hilbert Curve is particularly useful because it tries to keep nearby points close together on the 1D line.
So instead of searching the entire map, we can search a smaller range of Hilbert indexes around the target location.
1
1
5