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 » How best to go about using a file for reference data.

Post new topic  Reply to topic
 How best to go about using a file for reference data. « View previous topic :: View next topic » 
Author Message
jrsetters
PostPosted: Thu Nov 01, 2012 11:32 am    Post subject: How best to go about using a file for reference data. Reply with quote

Acolyte

Joined: 24 Aug 2011
Posts: 72
Location: Cincinnati, OH

The scenario is this, only medical reports dictated by certain physicians are to be passed on to an external system. The list changes frequently. The physician's ID code will be part of the HL7 inbound message (MRM tree).

We are not exploring a database read as an option right now. We'd like to see if it is feasible to manage the list as a file that is read into the flow, then in a Filter node read through the list and filter the message out if a match is not made to the Physician ID code.

I was thinking along the lines of MQInput --> Read File (add as part of the message tree) --> Filter --> discard if a match is not made, or hand the original message off to another node for further processing.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 01, 2012 12:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

3 points immediately occur:

- Security on a file tends to be more granular and easier to manage in a database scenario

- Audit on a frequently changing list is much easier to achieve in a database scenario

- if the file's of any size it's going to cost a fortune in I/O to read it in every time there's a message

Depending on your definition of "frequently", you might also have issues trying to update it with the flow running.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Thu Nov 01, 2012 1:01 pm    Post subject: Re: How best to go about using a file for reference data. Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

jrsetters wrote:
I was thinking along the lines of MQInput --> Read File (add as part of the message tree) --> Filter --> discard if a match is not made, or hand the original message off to another node for further processing.

The FileRead node seems like an obvious choice. Combine that with some form of caching, to address at least some of the issues that Vitor raised.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 01, 2012 1:08 pm    Post subject: Re: How best to go about using a file for reference data. Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rekarm01 wrote:
Combine that with some form of caching, to address at least some of the issues that Vitor raised.


Apart from the audit, security and update issues I raised you mean.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Fri Nov 02, 2012 12:02 am    Post subject: Re: How best to go about using a file for reference data. Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

Vitor wrote:
rekarm01 wrote:
Combine that with some form of caching, to address at least some of the issues that Vitor raised.

Apart from the audit, security and update issues I raised you mean.

Yes, apart from that. How to implement something, and whether to implement something are two entirely different issues ...
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Nov 02, 2012 12:34 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I would need to know the size of the data and the volume of lookups.

Caching may not be needed at all. If it is then you could consider using shared variables. You will have to decide when to refresh the cache from the file (maybe once a day).

There is a global cache feature in WMB 8. It's fairly basic though.

Using a database makes more sense, you can get the RDMS to cache the data if it's really intensively used (which I doubt). Or load it from the database to shared variables.

But it would need to be referenced several times a second to make it worth bothering about.
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 » WebSphere Message Broker (ACE) Support » How best to go about using a file for reference data.
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.