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


          只有注冊(cè)用戶(hù)登錄后才能發(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è)用戶(hù)共用一個(gè)Cache,從Cache中獲取對(duì)象的時(shí)候,如何解決用戶(hù)之間的爭(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)論排行榜

          主站蜘蛛池模板: 萨嘎县| 桑日县| 葵青区| 台山市| 白银市| 余庆县| 延长县| 南川市| 象州县| 万载县| 政和县| 拉萨市| 浦北县| 洛浦县| 利津县| 南陵县| 泾川县| 新野县| 灵台县| 行唐县| 舞钢市| 彭州市| 依兰县| 始兴县| 时尚| 南丰县| 陕西省| 察隅县| 墨竹工卡县| 双峰县| 平湖市| 石泉县| 芒康县| 酒泉市| 新兴县| 宁安市| 桑日县| 嘉祥县| 怀远县| 哈巴河县| 潮州市|