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:

  1. send user email let him know job done, details on how pick (but difficult act on automatically him)
  2. use callback link supplies me post location of rsults/report to
  3. 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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -