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 » is global cache worth storing a single value?

Post new topic  Reply to topic
 is global cache worth storing a single value? « View previous topic :: View next topic » 
Author Message
bprasana
PostPosted: Mon Aug 05, 2013 6:21 am    Post subject: is global cache worth storing a single value? Reply with quote

Disciple

Joined: 18 Apr 2005
Posts: 179

Requirement:
Simple Business Date validation.
Check if Date from incoming batch file header is greater than or equal to 'some reference value'. if Yes update 'reference value' and continue processing else throw error.

'some reference value' - we dont have database, but can access file system or Q or global cache. Shared Variable is too less a life span.(Cant risk a flow restart!)

We are using WMB 8.0.0.2. What would be the best solution to store this single value.

rest of the flow is mostly coded in esql and developers are comfortable with that. Not sure if this can be deciding factor !!
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Aug 05, 2013 6:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Why not? Whats wrong with using the GlobalCache ? I've not found any drawbacks.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
kash3338
PostPosted: Mon Aug 05, 2013 6:11 pm    Post subject: Re: is global cache worth storing a single value? Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

bprasana wrote:
(Cant risk a flow restart!)


How often do you see a flow restart and why would that ever happen?
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Mon Aug 05, 2013 9:25 pm    Post subject: Re: is global cache worth storing a single value? Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

kash3338 wrote:
bprasana wrote:
(Cant risk a flow restart!)


How often do you see a flow restart and why would that ever happen?


How about in an HA environment and you fail the broker (+QM) over to another node?

How about another flow in the EG causes the EG to abend and restart?

Don't just dismiss that situation blindly. It can and does happen and you have to plan for it.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » is global cache worth storing a single value?
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.