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
Sam HobbsPosted Jul 18, 2010, 7:47 PM
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.
Dee JayPosted Jul 18, 2010, 7:10 PM
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 HobbsPosted Jul 18, 2010, 1:40 PM
Dee JayPosted Jul 18, 2010, 5:29 AM
Sam HobbsPosted Jul 18, 2010, 2:09 AM
Dee JayPosted Jul 17, 2010, 11:17 PM
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 HobbsPosted Jul 17, 2010, 3:10 PM
mihir soniPosted Jul 17, 2010, 3:02 AM