zoukankan      html  css  js  c++  java
  • db RethinkDB

    s

    RethinkDB 已倒闭。

     

    如何安装RethinkDB

    https://www.rethinkdb.com/docs/start-on-startup/

    Install RethinkDB on CentOS

    https://www.rethinkdb.com/docs/install/centos/

    https://download.rethinkdb.com/dist/rethinkdb-2.3.6.tgz

    http://download.rethinkdb.com/centos/7/x86_64/rethinkdb-2.3.6.x86_64.rpm

    RethinkDB和MongoDB的对比

    https://www.rethinkdb.com/docs/comparison-tables/

     

     

    Development

     RethinkDBMongoDB
    PlatformsLinux, OS X, WindowsLinux, OS X, Windows, Solaris
    Data modelJSON documentsBSON documents
    Data accessUnified chainable dynamic query languageDynamic rich query language
    JavaScript integrationV8 engineSpidermonkey/V8 engine
    Access languagesJSON protocol
    3 official libraries
    Many community supported libraries
    BSON protocol
    13 official libraries
    Many community supported libraries
    Index typesPrimary key
    Compound
    Secondary
    Geospatial
    Arbitrarily computed
    Unique (unsharded only)
    Compound
    Secondary
    Geospatial
    Sparse
    Cloud deploymentAWS, dotCloud, Compose.ioMany cloud platforms

     

    Administration

     RethinkDBMongoDB
    CLI toolsReQL admin commandsJavaScript interactive shell
    UI toolsWeb-based admin UISimple HTTP interface
    FailoverAuto primary re-electionReplica-sets with auto primary re-election
    Backuprethinkdb-dump mongodump or snapshotting

     

    Scaling

     RethinkDBMongoDB
    ShardingGuided range-based sharding
    (supervised/guided/advised/trained)
    Automatic range-based sharding
    ReplicationSync and async replicationReplica-sets with log-shipping
    Multi datacenterServer grouping via tags with per-group replication and write acknowledgementsSupports different options for multi DC
    Map-reduceMultiple map-reduce functions
    Executing ReQL or JavaScript operations
    JavaScript-based map-reduce
    PerformanceNo published resultsNo official results
    ConcurrencyEvent-based and coroutines
    Asynchronous block-level MVCC
    Threading
    Read-write locks

     

    Architecture

     RethinkDBMongoDB
    Consistency modelImmediate/strong consistency with support for out of date readsImmediate/strong consistency with support for reading from replicas
    AtomicityDocument levelDocument level
    DurabilityDurableDurable only with journaling enabled
    Storage engineLog-structured B-tree serialization
    with incremental, fully concurrent garbage compactor
    Memory mapped files
    Query distribution engineTransparent routing, distributed and parallelizedTransparent routing requires additional mongos processes
    Caching engineCustom per-table configurable B-tree aware cachingOS-level memory mapped files LRU

     

     

    end

  • 相关阅读:
    poj 2155 Matrix
    iOS之Prefix.pch
    多用派发队列,少用同步锁
    SenTestingKit.framework的报错!
    xcode4的环境变量,Build Settings参数,workspace及联编设置
    xcode4中build Settings常见参数解析
    XCode环境变量及路径设置
    Xcode添加静态库以及编译选项配置常见问题
    基于第三方微信授权登录的iOS代码分析
    理解iOS 8中的Self Sizing Cells和Dynamic Type
  • 原文地址:https://www.cnblogs.com/lindows/p/14390198.html
Copyright © 2011-2022 走看看