Last write wins, if the application runs in two different regions and updates global tables in both regions at the same time. Isn’t the data inconsistent if last write win based on time? Write 2 got a dirty read as it doesn’t have Write 1 update. I don’t think it’s a best option to go with last write win.
That's not a dirty read. Also, you mentioned 2 writes, but not reads. Think of it this way... Write-1 happens in Region 1, "favoriteColor = blue"... then I read favoriteColor 1,000 times... it says blue. Then 1 minute later in another region I Write-2 ("favoriteColor = red"), then I read it a million times.. all says "red". ... now (the grand finale), pretend "blue" and "red" were written at the EXACT same nano-second... and 1 nano second later in both regions I read the data - the 2 reads would see "blue" in region 1 and "red" in region 2 while the laws of physics move the electrons around the globe. That's NOT a "dirty read"... that's the exact same scenario I said above with "1 minute later" - it's just so fast that our brains are bothered by it 😀
Great session with lots of insights of how things work internally
Great knowledge sharing.
Amazing talk! 👏🏼
The non-stop moving around stage is quite distracting of the good content. Hopefully this was an automated camera ;-)
Last write wins, if the application runs in two different regions and updates global tables in both regions at the same time. Isn’t the data inconsistent if last write win based on time? Write 2 got a dirty read as it doesn’t have Write 1 update. I don’t think it’s a best option to go with last write win.
That's not a dirty read. Also, you mentioned 2 writes, but not reads. Think of it this way... Write-1 happens in Region 1, "favoriteColor = blue"... then I read favoriteColor 1,000 times... it says blue. Then 1 minute later in another region I Write-2 ("favoriteColor = red"), then I read it a million times.. all says "red". ... now (the grand finale), pretend "blue" and "red" were written at the EXACT same nano-second... and 1 nano second later in both regions I read the data - the 2 reads would see "blue" in region 1 and "red" in region 2 while the laws of physics move the electrons around the globe. That's NOT a "dirty read"... that's the exact same scenario I said above with "1 minute later" - it's just so fast that our brains are bothered by it 😀
why is this uncle schooling the audience
because he has 30 yoe
Walker Kevin Harris Susan Lewis Charles
Dude was so arrogant
when?
how?