C# - Sharing static data between multiple processes

Posted by Murtaza Mandvi on Stack Overflow See other posts from Stack Overflow or by Murtaza Mandvi
Published on 2012-09-21T15:36:54Z Indexed on 2012/09/21 15:37 UTC
Read the original article Hit count: 232

Filed under:
|

I have a WCF service (instantiated within a Console application on NetTCP), this service has static data (large volume) which gets instantiated on the load.

I have multiple instances of this Console application running at once, and all of them are doing the same static data initialization , is there a way that I can have a single data source and share the data among processes so that each process does not have to consume large amount of memory?

© Stack Overflow or respective owner

Related posts about wcf

Related posts about multiple-instances