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 » How different sending between many files and one large file?

Post new topic  Reply to topic
 How different sending between many files and one large file? « View previous topic :: View next topic » 
Author Message
pongpang
PostPosted: Mon Jul 19, 2004 7:24 pm    Post subject: How different sending between many files and one large file? Reply with quote

Newbie

Joined: 13 Jul 2004
Posts: 6

I have data sending to MQ.
which one is the best?

Many files in many messages.
and one large file in one message.

how performence.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jul 19, 2004 8:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Can you give more information about your application? How big is the file? Which aplication is going to process the file? What if one record is bad, how would you like to handle this?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
pongpang
PostPosted: Tue Jul 20, 2004 12:05 am    Post subject: ok Reply with quote

Newbie

Joined: 13 Jul 2004
Posts: 6

this is my solution.

i will tranfer files from mqserver to mqserver.

1. i will put 1 file per msg (i will loop sending msg until the last file).
or
2. i will put many files to vector as byte[] and send only 1 msg'

Which one is better ?

I use tcp/ip in this case.

thx
Back to top
View user's profile Send private message
gunter
PostPosted: Tue Jul 20, 2004 12:47 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

There is no generally rule, it depends on the data. If you have thousends of very little files, it's better to collect them. MQ has an overhead with around 500 bytes per message. Otherwise it's easier to handle one file per message.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How different sending between many files and one large file?
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.