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 Discussion » MQSeries vs. FTP

Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next
 MQSeries vs. FTP « View previous topic :: View next topic » 
Author Message
rtsujimoto
PostPosted: Wed Apr 19, 2006 6:53 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

Hmm, what is the speed of the comm line you're going over?
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Apr 19, 2006 10:42 pm    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

native FTP
    - reads the data from disk (out of the source file)
    - puts it onto the network
    - writes it to the destination disk (to the destination file)

FTP over MQ
    - reads the data from disk (out of the source file)
    - maybe writes the data to the log (if it uses persistent messages)
    - maybe writes the data to the queue file (if messages are big or the reserved memory is too small)
    - puts it onto the network
    - maybe writes the data to the log of the destination QMgr (if it uses persistent messages)
    - maybe writes the data to the queue file of the destination QMgr (if messages are big or the reserved memory is too small)
    - writes it to the destination disk (to the destination file)


When you use fast disks (e. g. SAN) and have only a poor network, the additional disk accesses may be not observable and MQ may outrun native FTP due to better network performance.

When you have slow disks but a very fast network, or persistent messages in combination with small (circular) logs (which often have to perform rollbacks), or badly settings of the log attributes, or big messages in combination with poor memory, or ..., native FTP would be faster than FTP over MQ.

So the ultimative answer is: it depends on
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
rtsujimoto
PostPosted: Thu Apr 20, 2006 5:52 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

Hubert, that's a lot of *ifs*. I'm still waiting for an answer on the comm line speed...I have questions about the throughput the poster claims to have achieved, e.g. 4.5GB in about 90 sec.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Apr 20, 2006 6:43 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5867
Location: UK

Neither MQ nor FTP is a network protocol. They are network applications. The network protocol is TCP/IP.

Network performance will vary based on many factors, including the application. For example if FTP is cancelled at 99% complete then all the data will be have to be re-sent, whereas MQ would only need to re-send the current message.

MQ file transfer performance will depend on how many data records are in each MQ message, 1-1 will be slower than using larger (but not huge) messages.

MQ file transfer could use non-persistent messages (for higher performance), if the re-send logic was in the MQ application. You can only really compare actual implementations.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 20, 2006 6:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The File Transfer Protocol standard provides a definition of the data exchange protocol that implementations will use to transfer files over a network protocol.

The MQ channel protocol (FAP?) is likewise a definition of a data exchange protocol over various different forms of network protocols. It happens to be a proprietary protocol that is not defined in a public standard, unlike FTP.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rtsujimoto
PostPosted: Thu Apr 20, 2006 7:35 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

Both MQ and FTP are in the 7th layer of the OSI model, e.g. applications. So, essentially the network is irrelevent since neither application has control over it. The essential question is the application design. FTP is point-to-point, whereas MQ is a store-and-forward system. The overhead and intricacies of a store-and-forward system, e.g. potential logging, queuing of data, etc., does not bode well for speed. Forget about MQ features, e.g. resending at the message level, UOWs, etc. The MQ FTP behaviour should be as close to FTP as possible, e.g. the entire file is sent, or the whole file has to be resent again, and eliminate logging as much as possible by using non-persistent messages. That would be as close to an apples-to-apples comparison as possible given the dissimilar architectures.
Back to top
View user's profile Send private message
ashoon
PostPosted: Thu Apr 20, 2006 10:11 am    Post subject: comm line = 100 MBit LAN Reply with quote

Master

Joined: 26 Oct 2004
Posts: 235

The test between the two servers were connected to each other via my LAN which I believe is 100MBit.

rtsujimoto wrote:
Hmm, what is the speed of the comm line you're going over?
Back to top
View user's profile Send private message
rtsujimoto
PostPosted: Thu Apr 20, 2006 10:41 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

Ok. 100mb lan = 100,000,000 bits/sec
2.5 GB = 2,500,000,000 bytes = 20,000,000,000 bits
R/T = 1.5 min = 90 sec
20,000,000,000 / 90 = 222,222,222.22 bits/sec

How did you do that?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 20, 2006 2:50 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20763
Location: LI,NY

rtsujimoto wrote:
Ok. 100mb lan = 100,000,000 bits/sec
2.5 GB = 2,500,000,000 bytes = 20,000,000,000 bits
R/T = 1.5 min = 90 sec
20,000,000,000 / 90 = 222,222,222.22 bits/sec

How did you do that?

100 MB = 100*1024*1024*8 bits. = 838,860,800 bits
1 Byte = 8 bits.

2.5GB @ 100MB/s = 2,560 MB@ 100 MB/s ==> 2,560 /100 = 25.6 s well within the 90 s limit even allowing for a great number of extra bits for protocoll overhead...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rtsujimoto
PostPosted: Thu Apr 20, 2006 2:58 pm    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

The lan speed is mega-bits, not mega-bytes.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 20, 2006 3:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20763
Location: LI,NY

In that case looks like he has a mighty powerfull compression algorythm on top of it.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Apr 20, 2006 3:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

rtsujimoto wrote:
The lan speed is mega-bits, not mega-bytes.


Yes, but I think it's bigger than 100,000,000 bits.

I think it's 1000*1024*1024 bits. Or possibly even 1024*1024*1024 bits.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rtsujimoto
PostPosted: Thu Apr 20, 2006 4:06 pm    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

Definition of a megabit:

http://www.webopedia.com/TERM/M/megabit.html

In short, it's 1 million bits. 100 megabits is 100 * 1,000,000 bits.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Apr 20, 2006 4:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Well, at least it isn't a 100 Billion:
http://en.wikipedia.org/wiki/Billion
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
ashoon
PostPosted: Thu Apr 20, 2006 8:28 pm    Post subject: hmmm... Reply with quote

Master

Joined: 26 Oct 2004
Posts: 235

good point and my mistake... double checking the lan speeds in the test env. and it's a Gigabit Network. I believe though the point still stands where MQ was much faster than FTP.

rtsujimoto wrote:
Ok. 100mb lan = 100,000,000 bits/sec
2.5 GB = 2,500,000,000 bytes = 20,000,000,000 bits
R/T = 1.5 min = 90 sec
20,000,000,000 / 90 = 222,222,222.22 bits/sec

How did you do that?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next Page 2 of 3

MQSeries.net Forum Index » General Discussion » MQSeries vs. FTP
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.