Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / December 2003

Tip: Looking for answers? Try searching our database.

MSMQ vs async sockets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vijay - 18 Dec 2003 01:38 GMT
Hi all

I am trying to weigh in the pro and cons of using msmq or async
sockets for the design below.

Essentially,
We have three executables; one is a nativeapplication.exe,
SingleMachineController.exe and MultiMachineController.exe
•    We have a number of  nativeapplications(that is written in c++) that
are each in its own processes running on a single machine. Each
nativeapplication needs to send/receive messages from/to its
SingleMachineController(.net application) running on the same machine.
•    Each SingleMachineController in turn needs to send/receive messages
from/to the MultiMachineController(.net application running on a
different machine) and to the nativeapplication.
•    MultiMachineController needs to send/receive messages from/to its
singleMachineControllers

I am trying to figure out whether to use async sockets or msmq for
inter process communication. Any pointers to information that relate
to MSMQ vs sockets is appreciated.
Paul Glavich - 20 Dec 2003 10:00 GMT
Depends. Sockets would be faster. MSMQ would be easier (IMHO) and you would
also have the ability to have one process offline or not runnnig (MSMQ would
still process and queue up msgs) until the other app was ready to read them.
Also, MSMQ is transactional, if you need that functionality. Async sockets I
see as more "raw" in terms of development (hence the speed increase) but its
functionality is dependent on how much work you want to do. MSMQ does a hell
of a lot "for free".

--
- Paul Glavich

> Hi all
>
[quoted text clipped - 17 lines]
> inter process communication. Any pointers to information that relate
> to MSMQ vs sockets is appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.