|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How different sending between many files and one large file? |
« View previous topic :: View next topic » |
Author |
Message
|
pongpang |
Posted: Mon Jul 19, 2004 7:24 pm Post subject: How different sending between many files and one large file? |
|
|
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 |
|
 |
kirani |
Posted: Mon Jul 19, 2004 8:29 pm Post subject: |
|
|
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 |
|
 |
pongpang |
Posted: Tue Jul 20, 2004 12:05 am Post subject: ok |
|
|
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 |
|
 |
gunter |
Posted: Tue Jul 20, 2004 12:47 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|