architecture - API callback setup for scheduling a job -
i'm devising api allows remote system execute job/report @ server(s). easy enough, job typically takes long caller wait for. after job or report finished scheduler check pick results/report up.
i can 1 of following:
- send user email let him know job done, details on how pick (but difficult act on automatically him)
- use callback link supplies me post location of rsults/report to
- supply link can poll periodically results
maybe there other ways this? if - recommend way implement such setup?
you have combination of 2.
, 3.
. let him provide callback post results once available , can provide endpoint poll progress of operation. useful if needed show progress clients.
Comments
Post a Comment