Hi,
I thought it would be a very common problem to share data between 2 (let's say C#) applications on the same machine.
There are many solutions on the web, but I guess better solutions might exist.
I don't want solutions like: Remoting, Piping, Sockets, Data files, Clip Board or Databases.
I want an asynchronous way of sharing data without using the file system (files or database).
The best technique I've seen so far is MSMQ.
Are there any better ways for doing that?
Thanks in advance
Loading

mihir soni41 reputationPosted Jul 16, 2010, 11:02 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Jul 17, 2010, 11:10 AM EDT
Dee Jay7 reputationPosted Jul 17, 2010, 7:17 PM EDT
Plus, there's a considerable performance issue in here. My case might include many start/kill for the applications/processes and therefore many construction/deconstruction in the case of the sockets.
In the case of Remoting, each call of the wanted procedures implies many protocol messages back and forth between the 2 processes and therefore an unnecessary overhead.
That's how I see it, please correct me if I'm wrong.
However, the shared memory idea sounds reasonable, I'll start reading about it.
Sam HobbsRank #107 · 20.5K reputationPosted Jul 17, 2010, 10:09 PM EDT
Dee Jay7 reputationPosted Jul 18, 2010, 1:29 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Jul 18, 2010, 9:40 AM EDT
Dee Jay7 reputationPosted Jul 18, 2010, 3:10 PM EDT
Please accept my apologies if my reply offended you. I had a resource discussing the problem, and I got this term from it. However, I went back to it to check, and found out that I was wrong and that the term used to describe my case is different than "synchronous".
So, I admit that I was wrong, but I still believe that describing someones' question as a "language nobody else uses", is inappropriate for somebody trying to help.
Thanks for helping
Sam HobbsRank #107 · 20.5K reputationPosted Jul 18, 2010, 3:47 PM EDT
Use of the correct terminology is critical to getting assistance. If no one understands what you need, you will be very lucky if you get a useful answer.
A possible alternative to MSMQ is Background Intelligent Transfer Service (BITS). I am still not sure what your requirements are, but BITS is used for many things; for example, I think BITSis used by Windows Update to download updates.