WZ_XJTU_JAVA_SPACE

          while(true) {System.out.println("wz.xjtu");}

          NOSQL- Questions

          這篇文章是用英文寫的,由于某種原因,這篇文章可以很直接的說是Anti-MongoDB一個和諧的DB(一)。寫一的時候其實有很多問題,還是不很清楚的。所以有了以下的問題:

          I has some questions about the nosql and the document database solutions because I just touch the nosql solutions these days,
          I tried to understand and find the benefit of the NOSQL solutions (performance and scalability), but I cannot convince myself for the reasons, specially for the complex business related cases,
          After read a lot of the articles and find the CAP, relational and Scalability are the three points for the NOSQL solutions,
          CAP : only can pickup two of the three factors, and the NOSQL solutions pickup the AP, and use the eventually consistency to handle the consistency, now, let's check the RDBMS, if we have a lot of database servers, we also cannot have a good Consistency because of the performance issues, so we can choose the Master/Slave and asynchronize copy to handle the consistency (Similar with Eventually Consistency) which is similar with the NOSQL, so what is the benefit of the NOSQL (specify document database) from the CAP theory?
          No-Relational object : the NOSQL is good at the no-relationship objects, for example, log. but log also can save to the RDBMS without relationship, so for the no-relationship objects, I think the mongo solution and the RDBMS solutions should be have the same performance and scalability. right?
          Relational : in the mongodb.org there is a good example as following,

          the address is embedded into the student which is reasonable and will make the performance better if we need load the address from the student in the UI, but the RDBMS also can do it for the 1-1 relationship, and the scores need ref to the another collection and which is also similar with the RDBMS and also need touch database two times when we load the course which also similar with RDBMS. so what is the benefit.
          Partition and Sharding : RDBMS also provide the solutions (although need change some codes), and RDBMS also can handle them.

          posted on 2010-02-24 10:47 wz.xjtu 閱讀(240) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           

          導(dǎo)航

          <2010年2月>
          31123456
          78910111213
          14151617181920
          21222324252627
          28123456
          78910111213

          統(tǒng)計

          常用鏈接

          留言簿

          隨筆檔案

          搜索

          最新評論

          • 1.?re: Cache之我見
          • 評論內(nèi)容較長,點擊標(biāo)題查看
          • --awp001
          • 2.?re: Cache之我見
          • 評論內(nèi)容較長,點擊標(biāo)題查看
          • --wz.xjtu
          • 3.?re: Cache之我見
          • 在分布式環(huán)境里,多個用戶共用一個Cache,從Cache中獲取對象的時候,如何解決用戶之間的爭搶問題,鎖定嗎?
          • --awp001
          • 4.?re: Cache之我見
          • 目前我的核心任務(wù)是實現(xiàn)一個對象池,減少垃圾收集,樓主能否提供一些建議?
          • --awp001
          • 5.?re: Cache之我見
          • 我這幾天正在研究在系統(tǒng)內(nèi)引入緩存,樓主說的一級緩存 二級緩存 是一個很好的想法。
          • --awp001

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 故城县| 贡觉县| 白朗县| 新巴尔虎左旗| 福安市| 毕节市| 江川县| 荥经县| 阿图什市| 清徐县| 秀山| 竹北市| 韩城市| 常德市| 巴彦县| 广宗县| 松潘县| 饶阳县| 保靖县| 苏尼特右旗| 仁布县| 卢龙县| 张家界市| 尉犁县| 富锦市| 望城县| 富平县| 民和| 兰西县| 赣榆县| 西平县| 德江县| 永善县| 丰顺县| 罗平县| 钟山县| 民县| 浮梁县| 英超| 墨玉县| 十堰市|