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

  • 相关阅读:
    一个由“ YYYYMMdd ”引发的惨案 !元旦来临前的警惕
    elasticJob 自定义任务参数
    java 生成GUID
    java ArrayList和LinkedList的区别
    Linux下配置python Jupyter远程访问
    《Go并发编程实战》系列二:多线程编程
    《Go并发编程实战》系列一:多进程编程
    《Go并发编程实战》学习基础
    归并排序递归方式和非递归(Java)
    滕讯一面总结
  • 原文地址:https://www.cnblogs.com/lindows/p/14390198.html
Copyright © 2011-2022 走看看