Here is what's happening in my RESTful web app:
What should it do? Fail the request and return an error to a client? Or it should start from scratch (taking more time than the client expects)?
IMHO you should treat a REST request very close to how you treat a DB transaction:
Very often this can actually be handed down to a DB transaction - depending on how much and what non-DB work your request does.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With