Try our conversational search powered by Generative AI!

DDS threads

Vote:
 

Hi all,

In a recent intranet project I used the dynamic data store to create social based functionality likes, comments, notifications, awards etc

I wasn't aware at the time that it is not thread safe. Starting an extra worker process in IIS gave unexpected results.

Any advice on how to make the calls to dds thread safe so that I can add an extra worker process if needed?

Thanks,

Paul

#194963
Jul 10, 2018 7:38
Vote:
 

An alternative is to take in DynamicDataStoreFactory as dependency and then use the factory to Create/Get different store instances for each request

#195027
Jul 11, 2018 13:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.