So the partitions themselves are strongly consistent via paxos and cross partition writes are where 2pc is used? If I recall correctly, 2pc requires all ACKs, so would these acks come from the paxos leaders or all nodes? I guess the choice to use 2PC is to ensure strong consistency with a trade off on availability here. The waiting during each write is to account for clock drift and ensure causal consistency
@jordanhasnolife5163Ай бұрын
Yep, you're correct. Acks come from the paxos leaders, though the leaders need to have a successful paxos write in order to return an Ack to the coordinator.
@rubberducky5990Ай бұрын
Can you design paxos from scratch? My distributed system class is killing me
@jordanhasnolife5163Ай бұрын
I could, but there's probably a million places that it's already been done so that neither of us waste our time lol
@DeepakGarg0802Ай бұрын
can you design youtube 's duplicate video detection system?
@jordanhasnolife5163Ай бұрын
Probably not going to make any more design videos for the time being. That being said, this is ultimately going to be some sort of batch job. I'm no machine learning connosieur, so I can't speak to exactly how this is done, but it's certainly going to be run in the background lol.
@DeepakGarg0802Ай бұрын
@@jordanhasnolife5163 agree but one of the interviewer wanted a sync flow
@jordanhasnolife5163Ай бұрын
@@DeepakGarg0802 Feel free to describe the problem in more details
@ettarooАй бұрын
Pantsless Jordan is Best Jordan
@jordanhasnolife5163Ай бұрын
for some reason no one at the victoria's secret agrees