WZ_XJTU_JAVA_SPACE

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

          NOSQL- Questions

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

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

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 贵州省| 正镶白旗| 乡城县| 长丰县| 伊春市| 乌苏市| 通城县| 安岳县| 土默特左旗| 衡南县| 灌阳县| 会宁县| 栾川县| 阳江市| 巫山县| 开原市| 永和县| 南投县| 磴口县| 临漳县| 辽宁省| 静宁县| 吉隆县| 安西县| 方城县| 休宁县| 彭水| 凭祥市| 怀宁县| 通海县| 塔河县| 永顺县| 华池县| 盖州市| 潜江市| 千阳县| 乌恰县| 木兰县| 郸城县| 竹山县| 河池市|