4 ms·
> There are problems with your APIs losing data because of errors or downtime. A lot of the Internet is going over unreliable wireless technologies. So your be
by ermintrude 13y ago
> There are problems with your APIs losing data because of errors or downtime. A lot of the Internet is going over unreliable wireless technologies. So your beautiful REST calls are now riddled with exception handling, because there are so many ways of things going wrong.
Couldn't this be easily solved by:
a) putting the server behind nginx to terminate slow connections after several seconds, and
b) adding retry logic to the client?
This isn't a rhetorical question - would this approach actually work if a client was part way through sending data when it lost network connectivity, or am I missing something?