<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. 閱讀(243) 評論(0)  編輯  收藏 所屬分類: Java
    主站蜘蛛池模板: 亚洲国产综合人成综合网站| 国产成人A在线观看视频免费| 又粗又硬又黄又爽的免费视频| 男人的天堂亚洲一区二区三区 | 99ee6热久久免费精品6| 日韩亚洲一区二区三区| 亚洲美国产亚洲AV| 国产小视频在线观看免费| 亚洲AV无码不卡无码| 看亚洲a级一级毛片| 免费看男女下面日出水视频| 日韩毛片免费一二三| 美女视频黄的全免费视频网站| 五月天婷亚洲天综合网精品偷| 美女视频黄频a免费大全视频| 亚洲国产一级在线观看 | 亚洲一区二区观看播放| 青青操免费在线观看| 日韩a级毛片免费视频| 亚洲高清资源在线观看| 黄页免费的网站勿入免费直接进入| 中文无码亚洲精品字幕| 9420免费高清在线视频| 国产亚洲综合成人91精品| 久久久久久AV无码免费网站| 久久久久无码专区亚洲av| 永久免费av无码入口国语片| 亚洲区日韩区无码区| 国产成人亚洲综合在线| 亚洲乱码中文字幕综合| 91精品国产免费久久国语麻豆| 国产亚洲成AV人片在线观黄桃| 4444www免费看| 国产精品亚洲一区二区三区在线观看| 亚洲日韩在线观看| 四虎影视永久在线精品免费| 久久亚洲国产视频| 日本19禁啪啪无遮挡免费动图| 99精品免费视频| 亚洲AV日韩AV永久无码色欲| 女人被男人桶得好爽免费视频|