Golconde:基于队列的PostgreSQL复制解决方案

Python

Golconde (gŏl-kŏn"də) is a queue based replication solution for PostgreSQL written in Python 2.6. It is designed to be loosely coupled and rely upon existing enterprise messaging systems that have STOMP protocol support. Designed to scale easily and with multi-data center implementations in mind, the application and message queues for distribution live outside of the database. By decoupling Golconde from PostgreSQL it is differentiated from existing replication solutions, moving the workload from the database tier, where CPU, RAM and IO overhead can be very expensive, to a commodity layer where the operational cost for performing the data distribution work is much less expensive. In a typical Golconde target database, the PostgreSQL operational overhead is similar to the canonical database write workload. The preferred method of operation is to use one of the Golconde client classes, currently available for PHP and Python. The Golconde client classes allow you

详细介绍

Golconde是一个用Python 2.6编写的、基于队列的PostgreSQL复制解决方案。它旨在实现松散耦合,并依赖于支持STOMP协议的现有企业消息系统。这种设计理念使其能够轻松扩展,并支持多数据中心部署。

该解决方案的核心特点在于将应用程序和用于数据分发的消息队列置于数据库之外。通过将Golconde与PostgreSQL解耦,它与传统的复制解决方案有所不同,将工作负载从数据库层转移到通用层。在数据库层,CPU、RAM和I/O开销可能非常昂贵,而转移到通用层后,执行数据分发工作的运营成本大大降低。

Golconde的这种架构优势在于:

  • 松散耦合: 减少了对特定数据库实现的强依赖,提高了系统的灵活性和可维护性。
  • 可扩展性: 消息队列的引入使得数据分发可以独立于数据库进行扩展,轻松应对高并发和大数据量的场景。
  • 成本效益: 将计算密集型的数据分发任务从昂贵的数据库服务器转移到更经济的通用服务器,显著降低了硬件和运营成本。
  • 多数据中心支持: 设计时考虑了多数据中心部署,使得数据在不同地理位置之间的同步和复制变得更加高效和可靠。

总而言之,Golconde为需要高效、可扩展且经济的PostgreSQL数据复制方案的企业提供了一个有吸引力的选择,尤其适用于那些已经在使用STOMP兼容消息系统的环境。

📦

确认下载

资源名称

消耗积分