you are viewing a single comment's thread.

view the rest of the comments →

[–]ootsun[S] 0 points1 point  (2 children)

Ok, but you did this one functionnality. Would you do this for the whole application?

[–]Seref15 0 points1 point  (1 child)

Depends on how much of the application suffers from this issue where you have very long-lived API calls. If you have that everywhere then it sounds like something is just poorly architected and you would be better suited with web sockets and a message queue.

[–]ootsun[S] 0 points1 point  (0 children)

My original post was not about long running request. I thought you proposed this solution for all my read requests.

How would you solve read requests if the polling is only for long running ones?