@arjay_mccandless: How to add a cache server safely Consistent hashing is a way to distribute data across multiple servers without reshuffling almost everything every time you add or remove one. With a simple hash(key) % servers setup, going from 3 servers to 4 can remap roughly 75% of your keys, causing a huge spike in cache misses and database traffic. With consistent hashing, only a small portion of the keyspace moves to the new server, so the rest of your cache stays hot. #systemdesign #coding #programming
consistent hashing with virtual nodes in the hash ring
2026-09-21 19:04:55
24
rasqall :
advice so good I’m actually gonna download the app
2026-09-21 20:30:03
20
Betty Nicholson :
Caching for capacity is a reliability anti-pattern.
2026-09-30 18:21:31
1
Octavia Gazebo :
I was like nooo it’s gonna have to rebuild all that cache. 🫣
2026-09-21 19:26:47
14
myhaands :
thanks man, i got principal from your videos!
2026-09-30 01:47:12
1
Hardt 🇿🇦🇳🇱 :
Wouldn't the cache servers eventually catch back up? So do the swop during quieter-ish hours and hope for the best
2026-09-29 07:42:53
1
Ramon Tanoeiro :
Wow! I had this same problem when solving a challengr where I needed to have a shardedMap, now I can see how this would happen!
2026-09-26 00:17:16
1
Jonathan Sigrist :
I've been doing this for a decade and a half. Uh what? 😅
2026-09-21 18:50:27
1
VivaLaBagget :
mate that's so fecking clever what on earth
2026-09-21 19:46:16
0
MrNebby22 :
how well does this work in action though? from your example it looks like it only reduces the pressure on 1 or the replicas with the others unchanged. is there a process to space out the servers overtime to have them all be equal?
2026-09-21 22:43:52
1
SSAL :
As someone who's still learning systems your videos have helped a lot bro. Thank you!
2026-09-26 15:26:08
0
name expired, 😂 :
sql Cache servers, are these even necessary when u choose a none row/table locking db?
2026-09-22 06:57:26
0
thelazydeveloper :
Love this
2026-09-22 10:15:38
0
thøht :
👏👏👏
2026-09-22 08:07:52
0
To see more videos from user @arjay_mccandless, please go to the Tikwm
homepage.