Find Nearby Friends | System Design

Опубликовано: 11 Октябрь 2024
на канале: Code with Irtiza
4,983
119

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:
https://www.amazon.com/System-Design-...

System Design Playlist:    • System Design Beginner's Course 2022  
Notes from the video:
https://pdfhost.io/v/aHImDZGO4_Find_N...

🥹 If you found this helpful, follow me online here:
✍️ Blog:   / irtizahafiz  
👨‍💻 Website: https://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