dongzl / dbpack

A db proxy for distributed transaction, read write splitting and sharding! it can be deployed as a sidecar in a pod.

Home Page:https://cectc.github.io/dbpack-doc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DBPack

LICENSE codecov

dbpack.svg

DBPack means a database cluster tool pack. It can be deployed as a sidecar in a pod, it shields complex basic logic, so that business development does not need to rely on a specific SDK, simplifying the development process and improving development efficiency.

Feature

  • support MYSQL protocol
  • simple and easy distributed transaction solution
  • support read write splitting,supports custom SQL routing via Hint
  • deployed as a sidecar,support any language
  • more features on the road

Requirements

  • Go 1.17 or higher
  • MYSQL (5.7+)

Contribution Guide

Architecture

architecture

  • Listener: responsible for parsing the SQL protocol.
  • Executor: responsible for forwarding SQL requests to the backend physical DB.
  • Filter: responsible for metrics statistics, SQL interception, encryption and decryption of sensitive information, etc.
  • ConnectionFilter: process the intercepted SQL on the connection.

WeChat group

To enter the WeChat discussion group, please scan the QR code below and reply with the code "join the group".

image-20220427091848831

License

DBPack is licensed under the Apache License, Version 2.0.

About

A db proxy for distributed transaction, read write splitting and sharding! it can be deployed as a sidecar in a pod.

https://cectc.github.io/dbpack-doc/

License:Apache License 2.0


Languages

Language:Go 99.2%Language:Makefile 0.7%Language:Shell 0.1%Language:Dockerfile 0.0%