mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Changes related to Apiary and Mashery. Also related to LRTs cases and mentions to SwaggerHub.
This commit is contained in:
10
rest-api-guidelines/execution/long-running-tasks/README.md
Normal file
10
rest-api-guidelines/execution/long-running-tasks/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Long Running Tasks
|
||||
|
||||
This section includes the recommended approaches to handling long runnint tasks (LRTs) in REST APIs.
|
||||
|
||||
You can identify a LRT quite easily. The main factor to consider are the metrics from latency of the endpoint. If it requiress tens of seconds even minutes we are facing a problem related to LRTs.
|
||||
|
||||
LRTs cannot be handled in a regular straight synchronous call. The amount of commited recources at the network, client and server levels are huge when connections are blocked for several minutes.
|
||||
|
||||
It is strongly recommended to follow a non-blocking solution as it is proposed in this section.
|
||||
|
||||
Reference in New Issue
Block a user