Cloud Patterns

Using the Request-Acknowledge-Push Pattern to Display Progress of Long Running Tasks

Download this episode

Download Video


Many web sites need to deal with long-running tasks. However long-running tasks don't
play very well with the HTTP request-response paradigm. In this episode we'll
go through a very simple pattern: Request-Acknowledge-Push that enables a
simple, efficient, and scalable way of dealing with long running tasks.

Source code of this episode can be found at:

You'll need to update both Web Role configuration and Worker Role configuraiton to use your own Service Bus namespace.

And the blog article mentioned in the video is:



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • peternl

      great post haishi bai. thanks. most welcome these type of subjects in presentations on channel 9. are you also willing to post the whole solution for download? your referred link to your blog shows detailed code snippets in the mentioned article but being able to play as developer with these implementations in vs2012 would be better in understanding the applied pattern. thx.

    • Haishi.Bai

      @peternl: Thank you for your kind comment. I've added source code link to the post. We'll have more episodes coming very soon, keep tuned Big Smile.

    • PeterNL

      Most welcome. Thanks. Only the added link appears not to work now for download:

      The specified resource does not exist. RequestId:1dae8449-d41f-4cc0-92d3-d7f5366c815f Time:2013-01-19T12:49:28.1287046Z

    • jyl

      I agree  : the link is not working (yet) Smiley

    • Haishi.Bai

      Source code link is fixed.

    • PeterNL

      Promises like: "We'll have more episodes coming very soon"
      are easy to make, but seem hard to deliver.

    • Haishi.Bai

      Hi PeterNL: Thank you for comment. We have a couple of episodes being edited at the moment and we are recording more. This is a new series and there are still some details we need to work out. So we might be slow in releasing the first few episodes.Thank you for your patience, and please keep tuned! And if you and anyone else in the community want to share your experiences you are welcome to contact me at any time.

    • PeterNL

      Your "patients" are asked for a lot of patience !

    • Haishi.Bai

      LOL. Sorry for the typo. Fixed now Blushing

    • iamafreak

      wow, i have been using queues with worker roles to implement the pattern you mentioned, but i never know that we call it Req-Ack-Push pattern. Thanks, now i know a nice fancy term for what i have been using.

      The series - Cloud Pattern looks interesting

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.