Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Offline Processing of POST Request

I am developing an Application where I am submitting POST Requests to a .NET Web Service.

Current implementation is to process the request instantly and give response. In actual deployment, there will be huge amount of data that needs to be processed and thus the request must be processed offline.

What are the strategies that can have the task accomplished

Should I implement a Windows Service, or a scheduled task that invokes an application to perform the desired task.

like image 984
Shamim Hafiz - MSFT Avatar asked May 08 '26 03:05

Shamim Hafiz - MSFT


1 Answers

This might be a good case for MSMQ. Your webservice can fill the queue with incoming data, and another process can read those messages and perform the necessary processing.

Here's a good overview of MSMQ:

http://www.primaryobjects.com/CMS/Article77.aspx

like image 148
Dave Swersky Avatar answered May 10 '26 16:05

Dave Swersky