WZ_XJTU_JAVA_SPACE

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

          NOSQL- Questions

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

          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 閱讀(244) 評(píng)論(0)  編輯  收藏


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


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

          導(dǎo)航

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

          統(tǒng)計(jì)

          常用鏈接

          留言簿

          隨筆檔案

          搜索

          最新評(píng)論

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

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 伊吾县| 三门县| 武山县| 达拉特旗| 灵石县| 永清县| 新化县| 五河县| 库尔勒市| 屏南县| 安义县| 开化县| 普陀区| 民丰县| 南开区| 日喀则市| 庄浪县| 手机| 剑河县| 大冶市| 棋牌| 安塞县| 弋阳县| 清苑县| 三穗县| 石楼县| 福贡县| 鱼台县| 武功县| 永嘉县| 布拖县| 女性| 邵武市| 资中县| 泽库县| 墨竹工卡县| 资溪县| 五常市| 南召县| 凌海市| 梅河口市|