`

DB Cluster / Replication in Active Record

阅读更多
突然看到了這篇文章,差點沒興奮的大叫出來!!!


I have done some extensive work on active record to allow for databases to be defined in terms of "connection pools" rather than simply one database. Most of the work was completed in connection_specification.rb and is done at this level to be compatible with any backend you choose. Also this patch maintains full compatibiltity with the current paradigm so no changes are necessary to current applications/documentation.

這是一個讓 Active Record 支援 Connection Pool 的技術,使用者可以在 config 裡面這樣寫

development_read_pool: db1, db2, db3
development_write_pool: db4, db5, db6

而這樣使用者就可以使用不同的 read write connection pool了。使用方式跟操作方式,我想等到我已經確定要怎麼玩了再講吧,Anyway,this is a very good starting point。

參考連結
  1. RFourm:Support for DB Clusters/Replication in ActiveRecord
分享到:
评论

相关推荐

    redis-6.0.7-x64-for-windows-bin.zip

    Bug fixes 在 RDB/ROF 加载期间到达时,CONFIG SET 可能会挂起客户端(当处理完另一条同样以 -LOADING error 被拒绝的命令后)。...TLS:支持 cluster/replication,无需 tls-port 网络联机后系统启动 Redis 基准改进

    mogodb作业.pdf

    dbPath: "/usr/local/mongodb/sharded_cluster/wuweixianshardrs01_27018/data/db" journal: enabled: true processManagement: fork: true pidFilePath: "/usr/local/mongodb/sharded_cluster/...

    db2 data replication

    本篇文章将基于《IBM DB2 UDB Data Replication V8 实用指南》这本书的内容,详细介绍DB2 V8的数据复制功能,包括其基本原理、应用场景以及最新特性等。 #### 二、DB2 V8复制解决方案概览 ##### 2.1 IBM复制解决...

    VMware ESXi/vCenter/vRelealize/vSphere Replication 5.5-6-6.5-6.7

    VMware ESXi、vCenter、vRealize和vSphere Replication是VMware公司推出的四个关键产品,它们在虚拟化和云计算领域中起着至关重要的作用。这些产品构成了VMware vSphere套件的核心部分,该套件是业界领先的服务器...

    db2ese_c.lic DB2 V9.7 license linux x86_64

    IBM Homogeneous Replication ESE: "Not licensed" Product name: "DB2 Connect Server" Expiry date: "Expired" Product identifier: "db2consv" Version information: "9.7" Concurrent connect user policy: ...

    acs_db_replication.pdf

    acs_db_replication configuration

    Guide to Scaling Web Databases with MySQL Cluster

    Active / active geographic replication; Online scaling and schema upgrades; 99.999% availability. This Guide explores the technology that enables MySQL Cluster to deliver web-scale performance with ...

    DB2 HADR VS ORACLE RAC

    在Active/Active和Active/Passive模式的比较中,DB2 HADR提供了两种选择来实现Active/Active环境,通过Q-Replication或DPF(取决于客户的具体需求)。虽然Active/Active允许并行处理,但Active/Passive提供了更高的...

    MySQL Group Replication 详细搭建部署过程

    然后,在 db1、db2、db3 上依次安装 group replication 插件mysql> INSTALL PLUGIN group_replication SONAME 'group_replication.so';。 MySQL Group Replication 的工作流程可以分为以下几个步骤: 1. 安装 ...

    go-mysql:带有Go的功能强大的mysql工具集

    去mysql 一个纯的go库,用于处理MySQL网络协议和复制。 要求提交者/维护者 抱歉,我没有足够的时间... "github.com/siddontang/go-mysql/replication" "os" ) // Create a binlog syncer with a unique server id,

    DB2 Integrated Cluster Environment Deployment Guide.rar

    6. **数据复制**:DB2提供了多种数据复制技术,如Q Replication和Peer-to-Peer Replication,用于保持集群中的数据一致性。 7. **安全性与权限**:在集群环境中,安全管理尤为重要。DB2提供了用户认证、授权和审计...

    java软件工程师笔试题及答案-MyLearningNotes:因为开始记笔记并“公开”它永远不会晚

    hdfs://hadoop-cluster/user/hive/warehouse/hive_schema.db/table 655.2 M 1.9 G hdfs://hadoop-cluster/user/hive/warehouse/hive_schema.db/table [size] [disk space consumed] 655.2 M * 3 (replication factor...

    Oracle Advanced Replication Management

    ### Oracle Advanced Replication Management #### 概述 Oracle Advanced Replication Management是一种强大的工具集,用于管理、监控和优化Oracle数据库中的复制环境。该技术旨在帮助企业级应用实现数据复制的...

    PacificA: Replication in Log-Based Distributed Storage Systems

    Large-scale distributed storage systems have gained popularity for storing and processing ever ... Replication mechanisms are often key to achieving high availability and high throughput in such systems.

    Percona-XtraDB-Cluster

    Percona XtraDB Cluster is a database clustering solution for MySQL. It ensures high availability, prevents downtime and data loss, and provides linear scalability for a growing environment. Features ...

    MySQL5.6-Replicate架构图(高清)

    官方文档:http://dev.mysql.com/doc/refman/5.6/en/replication-gtids.html在这篇文档里,我们可以知道GTID(全局事务 ID) 的官方定义是:GTID实际上是由UUID+TID组成的,其中UUID是一个MySQL实例的唯一标识,TID...

    Concurrency Controls in Data Replication

    GigaSpaces 的 In-Memory Data Grid (IMDG) 7.1 是一种分布式内存计算平台,主要用于处理大规模数据集。IMDG 使用分区式存储和复制策略来支持数据的高可用性和弹性伸缩。在并发控制方面,它通过实现一致性哈希算法、...

    MySQL Cluster NDB 7.3 and MySQL Cluster NDB 7.4 官方说明翻译

    MySQL Cluster Replication 可能指的是在集群中的数据复制机制,确保数据在多个节点间同步。这种复制是自动的,可以在节点故障时提供快速恢复,保持数据的高可用性。 **18.7 MySQL Cluster 发行需知** MySQL ...

Global site tag (gtag.js) - Google Analytics