2 ms·
Yeah, I never had that problem either. But I wonder how they are addressing the https://en.wikipedia.org/wiki/CAP_theorem https://en.wikipedia.org/wiki/CAP_theo
by brian_herman 6y ago
Yeah, I never had that problem either.
But I wonder how they are addressing the
https://en.wikipedia.org/wiki/CAP_theorem https://en.wikipedia.org/wiki/CAP_theorem
- content_sesh 6y agoSacrificing availability I reckon.
- riking 6y agoYup, the correct answer in the face of a network partition is for the PUT to return 500, even though the file really was uploaded. The API handler can't prove success, due to the network partition, so the correct move is to declare failure and let the client activate their contingencies.