Concurrent Requests and Unique Keys on Web Applications

  Рет қаралды 6,998

Hussein Nasser

Hussein Nasser

Күн бұрын

Пікірлер: 26
@anthonyfarias321
@anthonyfarias321 4 жыл бұрын
This is very good stuff man.
@6Sambora
@6Sambora 4 жыл бұрын
Was about to ask you to do the same with MongoDB until the end of the video, when you mention NoSQL does not have isolation level haha
@hnasr
@hnasr 4 жыл бұрын
Kid Amador we can do some of things of not all of it. 😊 MongoDB is a different beast with different set of features
@simon66668
@simon66668 3 жыл бұрын
At the document level, MongoDB already supports ACID transactions
@anonymous.youtuber
@anonymous.youtuber 4 жыл бұрын
As usual, a superb explanation!
@arpitpandey8797
@arpitpandey8797 4 жыл бұрын
You reminded of me Dora the explorer 😅... Great video
@IBITZEE
@IBITZEE 4 жыл бұрын
nice thinking... nice tests... CCC thx !
@sachinkalkur
@sachinkalkur 4 жыл бұрын
These short videos are extremely informative.
@hnasr
@hnasr 4 жыл бұрын
Glad to hear that!
@arunsatyarth9097
@arunsatyarth9097 4 жыл бұрын
Thanks for your videos Hussein. Really beneficial and love your presentation style...
@hnasr
@hnasr 4 жыл бұрын
arun satyarth thanks Arun!! ❤️ glad you like the content
@ramonberrutti
@ramonberrutti 4 жыл бұрын
Nice explain, you just forgot the deadlock case, inserting in a different order in each transaction
@hnasr
@hnasr 4 жыл бұрын
Nice idea for another video forgot to mention it! Thanks 🙏
@8Trails50
@8Trails50 4 жыл бұрын
Sorry can you expand, what do you mean by this?
@ahmedkhudhair8035
@ahmedkhudhair8035 4 жыл бұрын
Very nice ❤️
@MrDecorative
@MrDecorative 3 жыл бұрын
If the database is replicated, and the leader is processing a write with id 1 , and then crashes for some reason before those changes has been yet replicated to the follower which is elected to be the new leader , this new leader wouldn’t be aware of the key 1 which already exists , and after a while when the system gets eventual consistency, boom 💥 a problem in the system. This bug happened at github in 2011 with auto incrementing key 🔐
@adarshupadhyay8265
@adarshupadhyay8265 2 жыл бұрын
But how you were able to see the insert result without Commit operation in the beginning?
@NivekMoto59
@NivekMoto59 4 жыл бұрын
it not ACID the word you search??
@javedutube10
@javedutube10 3 жыл бұрын
As Always, love your explanation.
@dominicwong5647
@dominicwong5647 4 жыл бұрын
Great stuff Hussein, love your videos
@AShahabov
@AShahabov 4 жыл бұрын
But what about when two transactions insert duplicate values in a NON-INDEX column? One of the transaction also will be blocked?
@hnasr
@hnasr 4 жыл бұрын
Hey Adam, if the column doesn't have a unique index, it is absolutely fine to duplicate values between transactions.
@AAZinvicto
@AAZinvicto 4 жыл бұрын
Thank you bro for such informative videos. Love from India. Ma-as-salama
@hnasr
@hnasr 4 жыл бұрын
AAZinvicto much love to all my subs from India 🇮🇳❤️
@ankitraj9684
@ankitraj9684 4 жыл бұрын
A video on log structured merge tree?
@hnasr
@hnasr 4 жыл бұрын
Ankit Raj soon! Not yet, 👍
When should you shard your database?
21:20
Hussein Nasser
Рет қаралды 78 М.
Database Indexing Explained (with PostgreSQL)
18:19
Hussein Nasser
Рет қаралды 309 М.
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 69 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
Cute
00:16
Oyuncak Avı
Рет қаралды 12 МЛН
Our very first Hello World bash script
4:59
Learn Linux for beginners
Рет қаралды 35
Is there a Limit to Number of Connections a Backend can handle?
18:43
Hussein Nasser
Рет қаралды 33 М.
Explaining Linux file permissions
8:49
Learn Linux for beginners
Рет қаралды 46
They made Kafka 80% faster by switching file systems
31:30
Hussein Nasser
Рет қаралды 35 М.
WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and more
47:33
command line basics
4:04
Andrew Carle
Рет қаралды 34
Best Practices Working with Billion-row Tables in Databases
13:41
Hussein Nasser
Рет қаралды 69 М.
Before you move to HTTP/3 ...
11:31
Hussein Nasser
Рет қаралды 17 М.
How Do Databases Store Tables on Disk? Explained both SSD & HDD
18:56
Hussein Nasser
Рет қаралды 27 М.