I'm relatively new to asynchronous and service-oriented programming and want to do the following:
- Fire off a stored procedure in a database that could run for minutes or even hours.
- Return a code to the caller of a job id that the client can use to track the progress of the job.
This seems like a simple task, but being new to asynchronous coding, I'm concerned about unknown pitfalls. Is there a well defined pattern for this type of functionality? If so, does it have a name and what is a good resource?