File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading property files

 
Nikita Dutt
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All,

I have a requirement where in i would have to add 4 property files in the weblogic class-path so that i can use them them at run-time , the issue is each property file will have 65000 unique key/value pairs. This would be a one time activity as in the contents of the property file will not be changed once the server starts-up .

Will this effect my performance in terms of getting response back from the application ? Memory utilization would be high but that is ok from my senior perspective.


Please help me in this , any ideas suggestion to improve this ?


Regards
 
Pat Farrell
Rancher
Posts: 4660
5
Linux Mac OS X VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As once only code, it should have no impact on your actual performance.

But I have to ask, why do you need a quarter million key/value pairs in property files. To me, this begs for a database, perhaps memcached or some other no-sql database, but still a database.
 
Paul Clapham
Sheriff
Pie
Posts: 20207
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pat Farrell wrote:As once only code, it should have no impact on your actual performance.


Especially if you do it right, and load the property files when the application starts. Waiting until the first request for the data could cause that request to be delayed.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic