468,121 Members | 1,523 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,121 developers. It's quick & easy.

Shared memory across different worker processes in a web garden

Hi everybody,

As far as I understand, each worker process in a web garden (say, in
IIS 6.0) has its own copy of Cache objects, static objects and
Application(state) objects. In other words, they cannot be shared
across worker proesses.

Suppose my ASP.NET applications runs in a web garden with multiple
worker process (set in IIS 6.0 manager / Application Pool / Performance
tab / Web Garden). Is there any easy way that I can share some
data/objects in memory across these worker processes?

As mentioned earlier, putting these data in cache, static or
application state doesn't really solve the problem. I could put the
data in file because the file can always be shared across worker
processes, but I don't want to do that because file accessing is kinda
slow.

Is there something like "memory-based file" thing in .NET? I know there
is MemoryStream, but where should I put this MemoryStream?

Do I need to do marshaling across app domain???? Is it an overkill?

Any better way?

Thanks
Dom

Nov 19 '05 #1
0 1572

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by S Green | last post: by
3 posts views Thread by alanrn | last post: by
14 posts views Thread by phil_gg04 | last post: by
reply views Thread by Abhishek Srivastava | last post: by
10 posts views Thread by Oriane | last post: by
2 posts views Thread by oopsatwork | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.