so this is transactional replication but for each individual table?
@irtizahafiz2 күн бұрын
I am not sure I understand what you mean by transactional replication. And yes, you can do it for individual tables.
@vidhya82111 күн бұрын
I am sorry but that bgm is really irking me
@irtizahafiz2 күн бұрын
I appreciate the feedback and suggestions. Will work on it.
@B-Billy12 күн бұрын
Woow, you have even shared your noted!! That's perfectly perfect!
@B-Billy12 күн бұрын
Thank you so much Irtiza, that's pure Gold content!! Every sec was full of informarion!! Subscribed!
@yynnooot16 күн бұрын
As a Frontend dev, you're videos have been pivotal in my understanding system design. You explain everything so well! I wish you had more fullstack SD videos... I could watch your videos all day!
@yynnooot16 күн бұрын
Wow, this is one of the best videos on system design I've seen. This was super well organized and thought out. I really appreciate the clear explanations!
@FlorenceOkosun19 күн бұрын
Okay, so I'm rewatching this. We said at the beginning that guests are not booking actual rooms rather, it is a room type they are booking, that makes sense. Now the issue of multiple guests booking the same seems irrelevant here, dont you think. A reservation is for a particular room type in a particular hotel. For example Hotel XYZ has 50 King Size Room types, recorded in the room_type_inventory table yeah? So if guest A books one of such room types in Hotel XYZ, we have 49 left right? At this point guest A has no idea what the room number is until they are checking in, most likely at the hotel front desk. So what I am saying is, guests booking the same room does not apply, since they are only able to book a room type in advance. What am I missing?
@anuragvishnoi392115 күн бұрын
I think multiple users booking same room simply means the case when there is just one of a specific room type left and there are two users trying to book that type of the room. That is when Pessimistic lock/optimistic lock/database constraint will be useful.
@danser_theplayer0120 күн бұрын
11:50 let me clarify, this is a very compound PRIMARY KEY <PARTITION KEY, league, kit_number, position, goals> with a PARTITION KEY <name, club>?
@SaritaSahu-p9c21 күн бұрын
Amazing videos and great explanations. Awaiting for new videos.
@unujjwal22 күн бұрын
Mentioning the consistent hash ring should be a necessity for intro to cassandra videos
@FlorenceOkosun25 күн бұрын
Another question partaining to partioning. So one of the functional requirements is that a user should be able to search for a room by a given date range. Would it be right to partition the table in question by date field?
@anuragvishnoi392115 күн бұрын
It is important to make sure what would be the easy access key when data is retrieved from the shards. In this example hotel_id makes more sense while sharding because that would is a key here and all the rooms objects are contained inside that.
@jondyason33625 күн бұрын
Great!
@FlorenceOkosun26 күн бұрын
In the case where multiple users are trying to make a booking or reservation for the same room, wont the reservation status suffice instead of using the optimistic locking approach or db constraint? Let's say the status is an enum {'available', 'pending', 'payment_completed'} as an example, if the status is not `available` then it can be reserved. Wouldn't that be sufficient to avoid multiple booking?
@FlorenceOkosun26 күн бұрын
I would set a status on reservation to pending until payment succeeds. How I would implement it is using some event queue mechanism to update the status when payment fails or succeeds. How would you handle this, you didn't cover payment processing
@marcinkiziukiewicz9695Ай бұрын
Thank you :)
@viktordzenkiv4710Ай бұрын
the best explanation
@CamillaPeg-b9sАй бұрын
Albert Spur
@UmarFarooq-u4g7hАй бұрын
can i used this design for RAG system in production for real time update postgres to vector database?
@irtizahafiz2 күн бұрын
Yes you can.
@ConanAdam-f1oАй бұрын
Anthony Isle
@AvocadoGCCАй бұрын
Lots of conflict in your talk. If user A pushes its message to its channel, and A's subscribers go to pull the message themselves, why does A need to look up which friend is online and then determine if A needs to push message or not.
@ssy13542Ай бұрын
I checked with chat gpt, redis pub sub is a push model and subscribers are passively accepting updates from publishers. If a subscriber just back online, they can use cache to find the nearby active friends.
@huntermeaney-i7jАй бұрын
Ortiz Drives
@LindsayEleanore-n2xАй бұрын
Robert Turnpike
@jayparekh3942Ай бұрын
Mine is saying no module named redis. So how do I troubleshoot it??
@irtizahafiz2 күн бұрын
Try installing it using pip3.
@KirkKeitt-e2wАй бұрын
Stanton View
@ramongodaslopez-rm1siАй бұрын
Can you do api calls with the self host version?
@irtizahafiz2 күн бұрын
What type of API calls?
@aniket.kumarrАй бұрын
Thank you, this was a basic demo, but a really good one!
@AbuYksАй бұрын
Thank you Man, really enjoyed it.
@CaraParker-j7nАй бұрын
Jackson Trafficway
@nidatariq6992Ай бұрын
Great content!
@erfanbayat-g3d2 ай бұрын
Thanks for the tutorial! I learned a lot from it!
@AkhileshKumar-li6me2 ай бұрын
Nice video, but 30% of the screen is wasted.
@irtizahafiz2 күн бұрын
I appreciate the feedback and suggestions. Will work on it.
@impalash_ag2 ай бұрын
Hi Irtiza, Thanks for the video. Just wondering, could there be any cons/trade-offs for using cache instead of MySQL DB?
@lancekm90582 ай бұрын
how do you search for availability of rooms given a date range and city or location?
@DhanyaKrishnan81092 ай бұрын
Thats a clear and crisp video. You have such structured system design videos of why you chose which design. Thanks for the great work!
@marufzoirov74652 ай бұрын
it's fair that you could also mention that the original source is "System Design Interview - An Insider's Guide (Volume 2)" By Alex Xu
@anuragvishnoi392115 күн бұрын
his most of the explanation is from that book
@irtizahafiz2 күн бұрын
Yes. It's mentioned in most video descriptions, as well as at the start of some videos.
@sanchitkumar66262 ай бұрын
Really outstanding you start from brute force and then add components for optimization that Really alot for us thank for making such great quality videos
@irtizahafiz2 күн бұрын
Glad it was helpful!
@imohsimon97622 ай бұрын
nice and simple, Thanks so much
@pulkitkogta28072 ай бұрын
Great explanantion. To serve more read, we can create secondary noes of db (CQRS).
@0xssff2 ай бұрын
brilliant
@BreakingBread4432 ай бұрын
very nice. How are you writing the code and suddenly it's one auto corrects to one line and then auto corrects to headers of the table?
@aseemhasan79782 ай бұрын
Sir ek create karke bata hi diye hote
@nandkarthik2 ай бұрын
What are some of the tools that provide CDC? Does databases provide it? or Are there any generic services?
@irtizahafiz2 күн бұрын
Most DBs provides some mechanism. You will need to configure it though, and usually provide some type of message broker.
@s8x.2 ай бұрын
wow finally a video tutorial on kafka with code
@akshaydeogaonkar71202 ай бұрын
How do I configure my AWS with this Serverless framework?
@Jafar8013 ай бұрын
Do you have a GitHub account? I’d like to follow you there for any updates on FastAPI projects.
@alexdin15653 ай бұрын
this is the first time i understand how Nginx works thanks for this amazing video please can you make a video how to deploy multiple docker on same server?
@irtizahafiz2 күн бұрын
So glad to hear that! I could have sworn I had a video about that. I definitely have a blog post, if you have the time to look around on my website.
@forinterview2two4173 ай бұрын
upload more videos. good qulity videos overall.
@irtizahafiz2 күн бұрын
I appreciate the feedback and suggestions. Will work on it.
@Analytics4u3 ай бұрын
What is this crap ?
@manojjoshi43213 ай бұрын
This is an extremely rich and high quality video. I stumbled upon this by chance when I was searching for some info about Debezium for some project we might be interested in. Interestingly enough, the files provided in the video description did not quite work for MAC and it took about 2 days to make the required adjustments including getting the correct images and port configuration, network configuration etc. but in the end things worked. My experience was that I learned a lot as I went through the process, not just about Debezium but a great deal of other things on what docker-compose structure, network dependency, port issues and all that. So it was worth. Kudos to Irtiza for taking all efforts to put together such as amazing tutorial....!!