c# 4.0 - How to keep an object unique -


i have static datatable (with 80k records) in common.dll , common.dll referred 10 windows services. so, instead of having 10 copies of datatable in memory need have 1 copy , services pointing data source. approach possible?

given services @ least using different appdomains, , quite possibly different processes, sharing same data between of them tricky.

i suggest don't worry - unless each record pretty large, 80k records still going small.

you could potentially have 11th service only 1 have data, , talk service other ones. that's introducing lot of complexity little benefit.

one way of potentially saving memory use list<t> custom type, instead of datatable - may more efficient, , more pleasant use within code. doesn't if need datatable whatever you're doing it, try avoid that...


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -