Can Parallel.ForEach be used safely with CloudTableQuery

Posted by knightpfhor on Stack Overflow See other posts from Stack Overflow or by knightpfhor
Published on 2010-09-08T01:48:24Z Indexed on 2011/01/13 3:53 UTC
Read the original article Hit count: 221

I have a reasonable number of records in an Azure Table that I'm attempting to do some one time data encryption on. I thought that I could speed things up by using a Parallel.ForEach. Also because there are more than 1K records and I don't want to mess around with continuation tokens myself I'm using a CloudTableQuery to get my enumerator.

My problem is that some of my records have been double encrypted and I realised that I'm not sure how thread safe the enumerator returned by CloudTableQuery.Execute() is. Has anyone else out there had any experience with this combination?

© Stack Overflow or respective owner

Related posts about parallel-extensions

Related posts about azure-storage-tables