Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, I never had that problem either. But I wonder how they are addressing the https://en.wikipedia.org/wiki/CAP_theorem


Sacrificing availability I reckon.


Yup, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: