Hi!!

Recently I have modified my code to adjust several entity properties in 
nearly real time (if 4 minutes can be considered that ;) ) instead of store 
the precalculated values.

To do that Im just storing basic data in files and them transforming 
them... basically a Map Reduce job...

The thing is that reading a whole data, and json deserialize takes 10 
seconds but when I have to access the structure and set new values the 
reindex takes 4 min or more... A huge difference of time...

Have in mind that to comfirm this the logic was only setting a dummy field 
so the pseudo code would be like:

read file
send to api
api deserializeJSON  //total time 10 for all the freaking files
api sets missing values with dummy values  //total time 4 minutes for all 
the freaking files

Seems that using native java hashTable does not improve, maybe a HashMap

Any ideas how to improve the speed of setting structures of replacing them?

Thanks

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to