Shared memory?

  • Thread starter Thread starter Jon Davis
  • Start date Start date
J

Jon Davis

I really don't like the speed bottleneck of SOAP. Is it possible to have
shared memory, without using networking calls, within .NET?

It seems like even though protected memory was a godsend for memory leaks
and unauthorized access type stuff, we should at least be given a leash to
take the dog out for a walk for a while.

Jon
 
I really don't like the speed bottleneck of SOAP. Is it possible to have
shared memory, without using networking calls, within .NET?

It seems like even though protected memory was a godsend for memory leaks
and unauthorized access type stuff, we should at least be given a leash to
take the dog out for a walk for a while.

Jon

Shere was am implementation of a shared memory file floating around, as
I recall. Unfortunately I no longer have it and can't remember where I
got it from. Try the gotdotnet or dornet247 sites and a google search.


Sorry not to be more helpful....

Of course, you could do it yourself with DLLImport etc, so you can take
the dog for a walk if you know how.
 
I was thinking more for desktop applications than services. The Caching
Application Block is geared for services, is it not?

Jon
 
So you're saying just linking to an unmanaged C++ DLLs using p/invoke to do
this is a plausible solution?

Jon
 
I suppose they are, but does it matter? You can either use the classes as
the Cache app block uses them or rip out the calls to the Win32 API and use
them to suit your needs. The app block already implements what Simon was
suggesting, so presumably it is an example of "Standards and Practices" in
how to do so, since that's the area of Microsoft responsible for these
application blocks.

Richard
 
Hi Jon,

this is not free, but it is not expensive as well and they have a trial
version which is not very limited.

These guys have shared memory remoting channels:

www.genuinechannels.com

Sunny
 
So you're saying just linking to an unmanaged C++ DLLs using p/invoke to do
this is a plausible solution?

Jon

It's not for script-kiddies, that's true. But otherwise - if there's no
other way to do it and it must be done - yes, definitely, it's plausible.
Easy is a different matter.
 
Jon said:
I really don't like the speed bottleneck of SOAP. Is it possible to have
shared memory, without using networking calls, within .NET?

You can check MsgConnect (http://www.msgconnect.com/) which has an MMF
transport in .NET edition too. MsgConnect will let you exchange messages
between applications (not necessarily .NET, but also Windows, Unix,
PDAs) both on the same computer and across network.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Memory leak detection 1
Memory Leak Detection 4
JScript Memory Leak 3
Shared memory for .NET ? 5
Memory Management Problem 5
Tracking a memory leak. 22
Confused about memory usage. 1
Thread memory consumption 3

Back
Top