ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Design issue: using Unix IPC Msg vs MQseries

Post new topic  Reply to topic
 Design issue: using Unix IPC Msg vs MQseries « View previous topic :: View next topic » 
Author Message
skytorch
PostPosted: Thu Sep 26, 2002 12:25 pm    Post subject: Design issue: using Unix IPC Msg vs MQseries Reply with quote

Apprentice

Joined: 10 Jun 2002
Posts: 47
Location: New York City

Hi,

How do you compare cons and pros of Unix IPC messaging implementation and MQ impl ? The performance of Unix IPC Messaging is a lot faster than MQ's (e.g. in-queue or de-queue rate). So what are the downside using Unix IPC Messaging ? (we're using C, Solaris 8 and MQ 5.2).

Thanks in advance.

Sky
Back to top
View user's profile Send private message
dgolding
PostPosted: Tue Oct 01, 2002 2:17 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Using the IPC mechanism is great for fast, synchronous applications, but is not fault tolerant. If the receiving side is not there than nobody can play

MQ gives you the robustness, and is an asynchronous or"psuedo-synchronous" method - if you can fire off your data and forget about it ("fire-and-forget"), use MQ.

My $0.02
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Tue Oct 01, 2002 3:29 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well the big con is that you are confined to the box you are running the application. no being able to send messages to another box.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
dgolding
PostPosted: Tue Oct 01, 2002 5:08 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Unless you doing a socket read/write application - were the seperate ends can be anywhere. I included the use of IPC with those.
Back to top
View user's profile Send private message Visit poster's website
mrlinux
PostPosted: Tue Oct 01, 2002 5:59 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well then that adds another con, both applications have to be up and running for the sending side to work. also now you have to handle network errors and retries in the code
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
dgolding
PostPosted: Tue Oct 01, 2002 6:55 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

That's what I meant about not being fault tolerant - if the receiving side is not there, then no show.

If the application HAS to be synchronous/real-time (sub-millisecond response, that sort of thing) then MQ isn't necessarily the best or only way to go.

Another downside for the socket mechanism is personally I find the connect, open, put API from MQ easier to code then the bind, listen&accept of socket I/O....
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Design issue: using Unix IPC Msg vs MQseries
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.