Let’s look at how you can design a Nearby Friends feature similar to Facebook. We talk about web sockets, Redis caches, channels, and databases like MySQL and Cassandra!
System Design Interview Book:
www.amazon.com/System-Design-...
System Design Playlist: • System Design Beginner...
Notes from the video:
pdfhost.io/v/aHImDZGO4_Find_N...
🥹 If you found this helpful, follow me online here:
✍️ Blog: / irtizahafiz
👨💻 Website: irtizahafiz.com
📲 Instagram: / irtiza.hafiz
00:00 Announcements
01:28 Features
02:11 High-level Design
04:00 WebSockets
06:42 Calculate Scale
08:18 Redis Channels & Kafka
10:30 Use Redis Channels to push updates to clients
13:50 Location Updates using Redis Channels
16:22 Caches for User Location
18:40 Finding offline & far away friends
19:44 Database for persistent storage of location data
21:20 Cassandra Database
24:15 Final Review
26:40 Outro
#systemDesign #interview #programming
4 июл 2024