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 » Performance - JAR Files Vs Cached Oralce Database

Post new topic  Reply to topic
 Performance - JAR Files Vs Cached Oralce Database « View previous topic :: View next topic » 
Author Message
achocks
PostPosted: Mon Dec 17, 2012 7:24 am    Post subject: Performance - JAR Files Vs Cached Oralce Database Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

I have a big dilemma whether to use a huge JAR file or Cached Oracle Database tables to load 400 meta data values.

In a transformation flow, there is a need to look-up 400 Translation tables.
What is the best way to design this.

A) Is it better to load it to a Oracle and use Cached tables in Flow
B) Create a huge JAR files and use Java compute node.

Which will be best in terms or performance and ease.


Any advice will be very helpful.

Thanks in advance!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 17, 2012 7:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

What have you tried, what have you measured, what went wrong?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
achocks
PostPosted: Mon Dec 17, 2012 7:34 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

I am in the designing phase .

Please let me know if you have any experience with similar situations.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Dec 17, 2012 7:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

How often do these properties change?

How often do they need to be loaded?

How many things need to know about them - and how frequently do those things need to change?

Why have you limited the only choices you will possibly take to exactly the two options you have mentioned?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 17, 2012 7:46 am    Post subject: Reply with quote

Jedi Knight

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

For most applications, database-driven is the way to go since you can change the behavior of your application without modification and redeployment of code.

A Jar is a good first step as it allows you to prototype a solution then code a database-driven solution later once the design settles down.
_________________
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
mqjeff
PostPosted: Mon Dec 17, 2012 7:51 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
For most applications, database-driven is the way to go since you can change the behavior of your application without modification and redeployment of code.

A Jar is a good first step as it allows you to prototype a solution then code a database-driven solution later once the design settles down.


Yeah, but user defined properties are at least as good a first step.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 17, 2012 7:53 am    Post subject: Reply with quote

Jedi Knight

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

I agree. I like a Jar better as all the code is in one place. The exception would be if the administrator would create a script containing all the relevant properties for UDPs. 400 UDPs are alot to manage manually.
_________________
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
achocks
PostPosted: Mon Dec 17, 2012 8:23 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Thanks everyone!


These meta data changes when ever a new field is added . So ot changes pretty much every month and it needs to be loaded every month.

If there are better ways than the two I mentioned..Please let me know.

Surely I will consider..


Thanks again!
Back to top
View user's profile Send private message
kash3338
PostPosted: Mon Dec 17, 2012 8:35 am    Post subject: Re: Performance - JAR Files Vs Cached Oralce Database Reply with quote

Shaman

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

achocks wrote:
Which will be best in terms or performance and ease.


In case of both performance and ease of maintenance, I guess use of Oracle table and loading into Cache is always better in your case since, the data keeps updating every month.

You just need to reload the EG or refresh the Cache when the data is updated in the Oracle DB.

In case of UDP or JAR it is not so easy a process to refresh the data as in the case of DB/Cache usage.
Back to top
View user's profile Send private message Send e-mail
visasimbu
PostPosted: Mon Dec 17, 2012 9:01 am    Post subject: Reply with quote

Disciple

Joined: 06 Nov 2009
Posts: 171

achocks wrote:


If there are better ways than the two I mentioned..Please let me know.



How about placing a 400 records as a XML message in temp queue and browsing a same in the message flow using MQGET node ?


Last edited by visasimbu on Mon Dec 17, 2012 9:24 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
achocks
PostPosted: Mon Dec 17, 2012 9:09 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

May be I was not clear..It is not 400 records..It is 400 tables with each table has anywhere from 10 to 100 records.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Dec 17, 2012 9:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Then you shouldn't use anything other than a database, and you should strongly consider making sure you are at v8.0.0.1 so you can use global cache.
Back to top
View user's profile Send private message
achocks
PostPosted: Mon Dec 17, 2012 9:16 am    Post subject: Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Thanks Jeff!
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 » Performance - JAR Files Vs Cached Oralce Database
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.