Database Structure for Messaging Application

  Рет қаралды 34,696

TechMan

TechMan

Күн бұрын

#database #structure #messaging #chat
Database Structure for Messaging Application
messaging application, The features I want to provide are:
Sending a message to multiple people
Receiving message sent to a user
Showing message in groups divided by the users, Like in facebook message
But when a user will send a message to multiple people, It will not be a group message but those messages will go in groups divided by users
firebase chat database structure
one to one chat database structure
chat database design nosql
database design for email messaging system
whatsapp chat database-design
mongodb schema for chat application
facebook messenger database schema
chat database design mongodb

Пікірлер: 28
@arpanbanerjee6224
@arpanbanerjee6224 5 ай бұрын
Great explanation. Clear and straight to the point! Thank you.
@sechabamotaung8552
@sechabamotaung8552 4 ай бұрын
Found this very usefull and staright to the point. Thank you.
@MunibHassan-jz2dd
@MunibHassan-jz2dd Жыл бұрын
what tool use for making this type of diagram/structure?
@justash123
@justash123 6 ай бұрын
Sligma
@mozartiano123
@mozartiano123 Жыл бұрын
if you are using clustered indexes it is better to have one index in (user_id, id) since it will group all messages for same user together, improving data retrieval performance. Inserts would be a bit slowed down, though, due to page splits, so u need to benchmark it.
@tosinadekunle646
@tosinadekunle646 Жыл бұрын
Please what is the name of the ERD software used in the video? Thank you.
@27sosite73
@27sosite73 5 ай бұрын
MySQL Workbench
@wuf1
@wuf1 2 жыл бұрын
Why use all these 'uid' columns, you can just directly reference the primary key (id) on the foreign table. Otherwise, looks great.
@techman4396
@techman4396 2 жыл бұрын
you need uid’s in order to request threads publicly
@manee427
@manee427 2 жыл бұрын
Which tool are you using for database relations and etc ..?
@filipegomes2005
@filipegomes2005 Жыл бұрын
I need too
@27sosite73
@27sosite73 5 ай бұрын
MySQL Workbench@@filipegomes2005
@adeniyiadekoya4187
@adeniyiadekoya4187 2 жыл бұрын
How do you know who a user is having a conversation with when you get the list for inbox last_sent_user_id might just be the user's id
@randynguyen1909
@randynguyen1909 2 жыл бұрын
Hello sir, what is the name of the app you use on this video?
@techman4396
@techman4396 2 жыл бұрын
draw.io
@randynguyen1909
@randynguyen1909 2 жыл бұрын
@@techman4396 thank you!
@fabsync
@fabsync Жыл бұрын
Thanks a lot for the video! I wonder what's the name of the software you used to design the database?
@chetanakakade7494
@chetanakakade7494 Жыл бұрын
I too have the same question!
@nirajpatil2326
@nirajpatil2326 2 жыл бұрын
Sir please tell what are the specifications u have applied on all the fields in user and inbox tables 🙏
@muhammadsultanalmahfuz9143
@muhammadsultanalmahfuz9143 Жыл бұрын
What is the name of this software that you designed this Database Structure?
@27sosite73
@27sosite73 5 ай бұрын
MySQL Workbench
@Staycoolvisuals
@Staycoolvisuals 5 ай бұрын
It is unclear wish you would have showed the tables with data while your still explaining the relationships
@ratopetista
@ratopetista Жыл бұрын
why does the inbox_uid foreign key in messages table have its data type as binary?
@ratopetista
@ratopetista Жыл бұрын
in mysql i can't even reproduce it, by divergence of data type. I think it's an error, correct me if not 🙂
@27sosite73
@27sosite73 5 ай бұрын
@@ratopetista correct you
@drunkpilotexplorer7061
@drunkpilotexplorer7061 2 жыл бұрын
This is tagged MongoDB
@27sosite73
@27sosite73 5 ай бұрын
that is correct. why not? mongo sql same sh*t
@silvanamoreirassantos7620
@silvanamoreirassantos7620 Жыл бұрын
Traduzir
WHATSAPP System Design: Chat Messaging Systems for Interviews
25:15
Gaurav Sen
Рет қаралды 1,8 МЛН
Build A Messaging App w/NoCode and Supabase
1:13:48
James NoCode
Рет қаралды 16 М.
Люблю детей 💕💕💕🥰 #aminkavitaminka #aminokka #miminka #дети
00:24
Аминка Витаминка
Рет қаралды 1,5 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 36 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Database Design for Chat Application
10:01
Database Star
Рет қаралды 63 М.
Discord Stores BILLIONS of messages using this database
11:41
Coding with Lewis
Рет қаралды 184 М.
I built a chat app in 7 minutes with React & Firebase
8:53
Fireship
Рет қаралды 1,4 МЛН
Database Sharding and Partitioning
23:53
Arpit Bhayani
Рет қаралды 83 М.
eCommerce Database Design: Diagram & Explanation
16:06
Database Star
Рет қаралды 139 М.
Realtime Chat With Users & Rooms - Socket.io, Node & Express
58:45
Traversy Media
Рет қаралды 877 М.
Люблю детей 💕💕💕🥰 #aminkavitaminka #aminokka #miminka #дети
00:24
Аминка Витаминка
Рет қаралды 1,5 МЛН