awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
flike avatar

flike/kingshard

0
View on GitHub↗
6,414 estrellas·1,218 forks·Go·3 vistas

Kingshard

Kingshard is a MySQL database proxy and sharding middleware that routes SQL traffic between clients and multiple database nodes. It functions as a load balancer, read-write splitter, and SQL query firewall to manage how data is accessed and distributed across a database infrastructure.

The system implements data sharding using hash, range, or date strategies to split tables across multiple nodes. It enables read-write splitting by directing data modification requests to a master node while distributing read-only queries across a pool of slave replicas.

The proxy provides traffic management through backend connection pooling and query routing, including the ability to direct queries to specific nodes via manual comments. Security is handled through client IP access control and the filtering of forbidden SQL patterns via a blacklist.

The project supports packaging as a container image for consistent deployment.

Features

  • MySQL Database Sharding - Distributes data across multiple MySQL nodes using hash or range strategies to increase storage capacity and throughput.
  • MySQL Proxy Middleware - Provides a high-performance proxy layer designed specifically to route SQL traffic for MySQL database clusters.
  • Data Range Distribution - Allocates data to specific nodes based on predefined key ranges to maintain logical data ordering.
  • Data Sharding - Splits table data across multiple nodes using hash or range keys to improve system scalability.
  • Connection Pool Managers - Manages database connection lifecycles and pool settings to optimize resource utilization and maintain system stability.
  • Connection Limit Managers - Enforces maximum concurrent connection limits per backend server to prevent node saturation.
  • Database Node Administration - Provides administrative commands to add or remove master and slave nodes and toggle their operational availability.
  • Database Node Health Tracking - Tracks the online and offline status of backend nodes to dynamically exclude unhealthy instances from the routing pool.
  • Query Routing - Directs SQL statements to specific database nodes based on shard locations and manual overrides.
  • Connection Pooling - Manages a pool of reusable database connections to optimize concurrency and prevent backend node saturation.
  • Read-Write Splitting - Separates database traffic by routing write operations to the master and read requests to replicas.
  • Replica Load Balancers - Distributes read requests across multiple MySQL replicas to ensure balanced resource utilization and high availability.
  • Read Load Balancers - Distributes read-only queries across a pool of slave replicas to prevent performance bottlenecks.
  • Sharding Middleware - Implements a proxy layer that abstracts data distribution and routes queries between applications and database shards.
  • Hash-Based Data Distribution - Distributes database records across nodes using hashing algorithms to ensure a balanced load and storage.
  • Shard Routing - Routes data operations to specific shards or multiple nodes based on defined query conditions.
  • Blacklist Filtering - Implements a blacklist system to block dangerous or inefficient SQL patterns from executing on the backend.
  • Manual Routing Overrides - Provides the ability to override automatic sharding logic by specifying the target node via SQL comments.
  • Proxy Configuration Management - Allows switching database states between online and offline and updating configuration values during runtime.
  • Session-Node Affinity - Ensures all operations within a single session target one specific node to maintain database transaction integrity.
  • IP Address Filters - Secures database access by validating client connection requests against a whitelist of allowed IP addresses.
  • Request Access Restrictions - Validates incoming requests via client IP allowlists and filters for forbidden SQL patterns to authorize database access.
  • SQL Blacklists - Blocks dangerous or inefficient SQL statements using a blacklist to prevent them from executing on the backend.
  • SQL Firewalls - Inspects and filters SQL queries using IP whitelists and pattern blacklists to prevent unauthorized or dangerous operations.
  • SQL Traffic Filtering - Restricts database access via IP whitelists and blocks dangerous SQL statements using a blacklist.
  • IP Access Restrictions - Restricts database connections using an IP access control list to secure the environment from unauthorized clients.
  • Database Tools - High-performance MySQL proxy.
  • Database Utilities - High-performance MySQL database proxy written in Go.
  • Database Tools - High-performance MySQL proxy.

Historial de estrellas

Gráfico del historial de estrellas de flike/kingshardGráfico del historial de estrellas de flike/kingshard

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace flike/kingshard?

Kingshard is a MySQL database proxy and sharding middleware that routes SQL traffic between clients and multiple database nodes. It functions as a load balancer, read-write splitter, and SQL query firewall to manage how data is accessed and distributed across a database infrastructure.

¿Cuáles son las características principales de flike/kingshard?

Las características principales de flike/kingshard son: MySQL Database Sharding, MySQL Proxy Middleware, Data Range Distribution, Data Sharding, Connection Pool Managers, Connection Limit Managers, Database Node Administration, Database Node Health Tracking.

¿Qué alternativas de código abierto existen para flike/kingshard?

Las alternativas de código abierto para flike/kingshard incluyen: qihoo360/atlas — Atlas is a MySQL database proxy and middleware system designed to manage traffic between clients and database… pgdogdev/pgdog — pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable… youtube/vitess — Vitess is a distributed MySQL orchestrator and clustering system designed for horizontal database scaling. It… go-xorm/xorm — xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries… sysown/proxysql — ProxySQL is a database proxy designed to route and balance traffic between applications and MySQL or PostgreSQL… pgbouncer/pgbouncer — PgBouncer is a lightweight middleware proxy server and connection pooler for PostgreSQL. It acts as a database…

Alternativas open-source a Kingshard

Proyectos open-source similares, clasificados según cuántas características comparten con Kingshard.
  • qihoo360/atlasAvatar de Qihoo360

    Qihoo360/Atlas

    4,629Ver en GitHub↗

    Atlas is a MySQL database proxy and middleware system designed to manage traffic between clients and database clusters. It functions as a high-availability database gateway and sharding middleware, providing a fault-tolerant entry point for routing, load balancing, and managing database connections. The project differentiates itself through a combination of read-write splitting, which directs queries to primary or replica servers, and data sharding to distribute information across multiple backend instances. It utilizes a connection pooler to reduce the overhead of establishing new sessions a

    C
    Ver en GitHub↗4,629
  • pgdogdev/pgdogAvatar de pgdogdev

    pgdogdev/pgdog

    3,361Ver en GitHub↗

    pgdog is a PostgreSQL sharding proxy, distributed SQL router, and connection pooler. It is designed to enable horizontal data distribution by splitting tables and indices across multiple independent servers to scale storage and processing capacity. The project distinguishes itself through online resharding capabilities, using logical replication to move data between shards without application downtime. It supports multiple routing strategies, including hash, list, and range-based query routing, and manages distributed atomic transactions using a two-phase commit process to ensure consistency

    Rustload-balancerpoolerpostgresql
    Ver en GitHub↗3,361
  • youtube/vitessAvatar de youtube

    youtube/vitess

    21,032Ver en GitHub↗

    Vitess is a distributed MySQL orchestrator and clustering system designed for horizontal database scaling. It functions as sharding middleware that distributes data and load across multiple MySQL instances to handle growth beyond the capacity of a single machine. The system provides a proxy layer that abstracts data distribution, allowing applications to query a cluster as a single logical database without knowing the physical location of the data. This is achieved through a routing mechanism that intercepts queries and directs them to the appropriate shards based on keyspace mappings. The p

    Go
    Ver en GitHub↗21,032
  • go-xorm/xormAvatar de go-xorm

    go-xorm/xorm

    6,628Ver en GitHub↗

    xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries and maps database rows back into native objects, providing a multi-dialect database driver that supports MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and TiDB. The project features a read-write splitting manager that routes modification requests to a primary database and read requests to replicas. It includes a database schema synchronizer to automatically align table structures and indexes with application data models, as well as a fluent SQL query builder for constructing co

    Gogolangmssqlmysql
    Ver en GitHub↗6,628
  • Ver las 30 alternativas a Kingshard→