Best way to create REST API for long lasting tasks?

后端 未结 3 1470
春和景丽
春和景丽 2021-02-13 15:39

Suppose I have 2 servers.

The first is a service that provides some computations, which can last long time (minutes to hours).

The second server will use this s

3条回答
  •  醉梦人生
    2021-02-13 15:53

    In addition to what I've already answered in this similar question, I'd suggest using the Atom Publishing Protocol for the notification (you could publish to your second server).

提交回复
热议问题