How to create a thread safe and concurrent web part

Hi,

I am creating a sharepoint web part. 

The web part will store the information in the sharepoint list.

The web part is going to be used by 300 users all at the same time at the same moment.

Each 300 users  trying to update list clicking button on my web part almost every 20 seconds.

I am worried will the sharepoint List be able to handle so many concurrent updates.

How should I design my webpart so that such issues do not arise and my webpart is also fast.

Regards

Vinod

March 18th, 2015 3:46pm

This will indeed cause problems, since transactionality and conflict resolutions aren't strong points of list items. Typically, if somebody else makes changes SharePoint will return an exception saying that the list item has moved, in your scenario this won't work well. Instead, I think I'd create a middle-man component that acts as a queue and is the only party responsible for writing to that list and resolving conflicts and have the web part communicate with that middle-man component.
Free Windows Admin Tool Kit Click here and download it now
March 19th, 2015 3:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics