<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Bryan

      BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
      37 Posts :: 3 Stories :: 24 Comments :: 0 Trackbacks
    we have one autonomy application which is used to synchronize the data between two databases and we try to load several thousand of objects into java heap(200000-300000)
    and store in autonomy resultlist and we found It experiences bad performance . 
    It takes about 8 hours for our autonomy application to find the object changes and if this number
    of object changes get increase, the query gets slower and slower.

    In the beginning we think It is GC issue, then I try https://github.com/OpenHFT/Chronicle-Map and store a lot of objects off heap , and after several times of testing , the autonomy
    query is faster when objects are saved to chronicle map but the problem still exists when we load object from direct memory to java heap. then I try another library  
    Jhuge 
    https://github.com/eobermuhlner/jhuge ,and It is the same thing. And for several days, we could not find what exactly caused the problem.

    And with more testing with chronicle map and jhuge, I start to understand It is perhaps due to the autonomy resultlist performance ,so I decompile the autonomy api and found
    It always check the document added to handle the duplicates and this degrades the performance, as if we put lots of objects in resultlist, each new added document will have
    to compare with the existing collection objects(hashcode equal).
     
    So when putting a lot of documents in autonomy ResultList,It is one problem. we can use java arraylist to store the ResultDocument and It can solve the problem.
    posted on 2015-01-04 21:34 Life is no respector of any genius. 閱讀(245) 評論(0)  編輯  收藏 所屬分類: Java
    主站蜘蛛池模板: 日韩一级片免费观看| 四虎成人免费观看在线网址 | 亚洲日本中文字幕一区二区三区| 亚洲精品无码mv在线观看网站| 亚洲国产精品综合久久2007 | 中国一级特黄高清免费的大片中国一级黄色片 | 日韩中文无码有码免费视频 | 亚洲日韩欧洲乱码AV夜夜摸| 亚洲一卡2卡3卡4卡乱码 在线| 久久久久久毛片免费看| 永久在线毛片免费观看| 亚洲黄色免费电影| 国产精品内射视频免费| 国产最新凸凹视频免费| 亚洲影视自拍揄拍愉拍| 免费无码肉片在线观看| 亚洲第一精品电影网| 在线成人精品国产区免费| 亚洲?V无码成人精品区日韩 | 亚洲精品日韩专区silk| 希望影院高清免费观看视频| 亚洲精品无码精品mV在线观看| a毛片在线免费观看| 亚洲精品老司机在线观看| 亚洲日本一线产区和二线产区对比| 麻豆精品成人免费国产片| 亚洲香蕉成人AV网站在线观看 | a级大片免费观看| 亚洲日本视频在线观看| 在线观看免费a∨网站| 日本视频免费观看| 亚洲AV日韩精品一区二区三区 | 亚洲国产精品久久久久婷婷软件 | 国产一区二区三区免费观在线| 色拍自拍亚洲综合图区| 免费人成在线观看网站| 精品亚洲成A人无码成A在线观看| 最新黄色免费网站| 亚洲日本国产精华液| 日韩a级毛片免费观看| 国产麻豆一精品一AV一免费 |