[jboss-user] [JBossCache] - using a proper Date format

hoom do-not-reply at jboss.com
Thu Oct 25 04:50:31 EDT 2007


Hello,

Would you please advise a proper format for dates, we have a huge data and need to optimize the cache to find more as possible data in cache instead of requesting for creating them. the current date format is dd.MM.yyyy which is a single attribute in fqn (i.e. 24.10.2007)

  /root
  | 
  |     /10.12.2007    --> from Date
  | 
  |       /11.12.2007   --> to Date
  | 
  |         /Data1
  | 
  |           /Data2
  | 
do you think that using a format like 2007/10/24 or 24/10/2007 and put every date part as a single fqn would improve or worsen the cache? 

  /root
  | 
  |     /10 
  |     	/12
  |     	   /2007
  | 
  |       /11
  |       	/12
  |       	   /2007
  | 
  |         /Data1
  | 
  |           /Data2
  | 

Thank you.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098714#4098714

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098714



More information about the jboss-user mailing list