Skip to content

Files

Latest commit

b62abd2 · Feb 7, 2025

History

History

en-us

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 29, 2022
Aug 15, 2022
Jul 18, 2022
Jul 18, 2022
Aug 9, 2022
Aug 8, 2022
Feb 7, 2025
Aug 2, 2022
Jul 18, 2022
Aug 8, 2022
Jul 18, 2022
Jul 11, 2022
Jul 20, 2022
Jul 18, 2022
Aug 21, 2022
Dec 23, 2022
Aug 1, 2022

DBPack

中文 | English

image-20220427091848831

It is a database proxy that aims to solve the distributed transaction problems during business development, which provides solutions for read && write splitting, database and table sharding. Through the mesh-based deployment method, DBPack shields complex basic logic, so that business development does not need to rely on a specific SDK, which simplifies the development process and improves development efficiency.

Features

  • support MYSQL protocol.
  • event driven distributed transaction solution inspired by kubernetes.
  • support read && write splitting, customized SQL route through Hint
  • support audit log, support sql tracing.
  • sharding: support query on sharded table, support order by,support limit.
  • sharding: support insert、delete、update on sharded table
  • can be deployed as a sidecar, so that any programming language can use it to handle distributed transaction
  • more features on the road

Prerequisites

  • Go >= 1.17
  • MYSQL >= 5.7

Architecture

architecture

  • Listener:parse SQL protocol
  • Executor:forward SQL request to actual DB server
  • Filter:quota statistics, SQL interception, sensitive information encryption and decryption, etc
  • ConnectionFilter:handle SQL interception on the DB connection

Discussion Group

Please scan below OR code through WeChat and reply "join group".

image-20220427091848831