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 » WebSphere Message Broker (ACE) Support » What if 2 Trace nodes write to the same file at same time ?

Post new topic  Reply to topic
 What if 2 Trace nodes write to the same file at same time ? « View previous topic :: View next topic » 
Author Message
Mateo
PostPosted: Tue Nov 04, 2003 3:15 am    Post subject: What if 2 Trace nodes write to the same file at same time ? Reply with quote

Novice

Joined: 21 Aug 2002
Posts: 24

Hi all,
I wonder what happens if two Trace nodes write to the same file at the same time?
Is there a synchronization mechanism (-> and consequently deadlock possibility)
or data coming from both nodes can be mixed up in a file.

Can anyone explain this to me (and probably most of newbies) ?

Mateo
Back to top
View user's profile Send private message Visit poster's website
Mateo
PostPosted: Wed Nov 05, 2003 5:02 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2002
Posts: 24

I've made a little test where there were three flows each one reading from different queue and all writing to same file on disk. First flow was writing only 1 line of text , second one was writing 100 lines, third was writing 1000 lines.
It seems that access to a file is generally synchronized becouse all lines (100 or 1000) were written together.
For about 110000 lines in file there were 7 lines invalid (like without first leter or with extra leter inside)

Test was running on:
- Integrator version 2.1 with U487642(CSD05),
- MQ series v 5.2, U481511
- HP-UX B.11.11 (11i)

Any comments ?

Mateo
Back to top
View user's profile Send private message Visit poster's website
JLRowe
PostPosted: Wed Nov 05, 2003 9:38 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

Well, WMQI probably does some buffering, the OS does some buffering, which probably works fine most of the time, but of course with the occasional hiccup (as you have seen).
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » What if 2 Trace nodes write to the same file at same time ?
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.