471,123 Members | 822 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

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

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?


Nov 19 '05 #1
0 1860

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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.