How to implement MapReduce in C # using PLINQ?
Suppose you have 7-8 WebServices for collecting data and for each reception (async), you should put this data in some database tables, in my case it is SQL Server 2008. For example, the data that you receive from each web service:
<employees> <employee> <name>Ramiz</name> </employee> <employee> <name>Aamir</name> </employee> <employee> <name>Zubair</name> </employee> </employees>
And each time a response is received, this data goes into the table name - Employee:
Employee === EmployeeID (PK) EmployeeName
Once the data gets into the table, it should return as json to the client, which is an ASP.NET application (MVC 3) that makes this call using client-side JavaScript (ajax).
Suppose WebServiceEmployee1 is back with data and the remaining 6 are in the queue (still trying to get the data). Then he must go through the registration of the result set in the table instead of waiting for another 6 and return the data of the inserted employee to the client in json. And, keep it connected and performing while others do the same.
Please see, in my toolbelt I have ASP.NET MVC 3 (Razor), SQL SERVER 2008 R2, jQuery.
Thanks.
Ramiz Uddin
source share