|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Performance issue: write to a file and to a np queue |
« View previous topic :: View next topic » |
Author |
Message
|
skytorch |
Posted: Thu Sep 26, 2002 6:12 am Post subject: Performance issue: write to a file and to a np queue |
|
|
 Apprentice
Joined: 10 Jun 2002 Posts: 47 Location: New York City
|
Hi,
We're doing some performance tuning for our mq 5.2 system on tru64 platform. We noticed writing a message into a file is about 10 times faster than writing a message into non-persistent queues.
Is it reasonable though, considering writer to queue is a in-memory operation ? What caused this big difference ?
Thanks in advance.
Sky |
|
Back to top |
|
 |
pgorak |
Posted: Thu Sep 26, 2002 11:45 pm Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
It is an in-memory operation only if the queue buffer is not full. Otherwise even non-persistent messages are swapped to the disk.
Besides, it is the message that is persistent or non-persistent, not the queue. You can write a persistent to a queue with DEFPSIST set to NO and it will survive queue manager restart (it is hardened to disk).
Piotr |
|
Back to top |
|
 |
udaybho |
Posted: Fri Sep 27, 2002 6:49 am Post subject: |
|
|
Voyager
Joined: 09 May 2002 Posts: 94 Location: Chicago
|
Its the same issue as the development community has been discussing for long between writing data to a file and storing it in a database.
MQ takes care for you several issues such as Security (No connection access the Queues directly, all access goes through Qeueu Manager agents), Assured delivery, etc all this cost CPU cycles.
Uday Bhosle |
|
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
|
|
|
|