D
Duncan Welch
I'm working with 4 websites running on the same box with seperate IIS sites
(I can't change this) - 3 that display information from a database, and one
that collects it and writes to the same database.
They all use the same DLL as a data layer, which also does database caching
using the Application object. The first problem I have is I have 4
instances of the DLL which dont talk to each other, so all information is
stored 4 times, and I have a far higher overhead than I feel is necessary.
I've been looking into putting the DLL into the GAC, but I get the
impression I'll still get 4 seperate instances of the data.
The second problem; when someone enters new data in the "collection" site, I
need to send data to the display sites to tell them to recache the changed
data. At present, I'm using either a web service (slow with high overhead)
or querystring (messy).
I'm sure my situation isn't unique; could someone please give me a few
suggestions for best practice for doing this type of thing?
Thanks in advance,
Duncan
(I can't change this) - 3 that display information from a database, and one
that collects it and writes to the same database.
They all use the same DLL as a data layer, which also does database caching
using the Application object. The first problem I have is I have 4
instances of the DLL which dont talk to each other, so all information is
stored 4 times, and I have a far higher overhead than I feel is necessary.
I've been looking into putting the DLL into the GAC, but I get the
impression I'll still get 4 seperate instances of the data.
The second problem; when someone enters new data in the "collection" site, I
need to send data to the display sites to tell them to recache the changed
data. At present, I'm using either a web service (slow with high overhead)
or querystring (messy).
I'm sure my situation isn't unique; could someone please give me a few
suggestions for best practice for doing this type of thing?
Thanks in advance,
Duncan