Skip to content

garfieldlw/kingshard

 
 

Repository files navigation

kingshard

Original README

link

Overview

kingshard is a high-performance proxy for MySQL powered by Go. Just like other mysql proxies, you can use it to split the read/write sqls. Now it supports basic SQL statements (select, insert, update, replace, delete). The most important feature is the sharding function. Kingshard aims to simplify the sharding solution of MySQL. The Performance of kingshard is about 80% compared to connecting to MySQL directly.

Feature

Based on the functions of the original project, some functions were added or modified:

  • supports connect to MySQL 5.7, 8.0. The version of kingshard and the backend mysql must be consistent.
  • Supports custom snowflake id algorithm. If necessary, you can modify the corresponding file.
  • Use go.uber.org/zap logger to replace the original custom logger.

License

kingshard is under the Apache 2.0 license. See the LICENSE directory for details.

About

A high-performance MySQL proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.6%
  • Yacc 3.2%
  • Other 0.2%