kingshard VS tidb

Compare kingshard vs tidb and see what are their differences.


A high-performance MySQL proxy (by flike)


TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try free: (by pingcap)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
kingshard tidb
0 10
6,017 31,319
- 1.5%
0.0 10.0
11 months ago 1 day ago
Go Go
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of kingshard. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning kingshard yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of tidb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-14.
  • Insights for any repository on Github
    3 projects | | 14 May 2022
    As the database supporter for, I also use this to get many insights for TiDB itself, see
  • TiDB - open source distributed HTAP database compatible with the MySQL protocol
    1 project | | 3 May 2022
  • An open-source, MySQL compatible, NewSQL database that supports HTAP workloads
    1 project | | 31 Jan 2022
  • Comparing Nginx Performance in Bare Metal and Virtual Environments
    1 project | | 29 Oct 2021
    I do agree with you in that regard, however, that's also a dangerous line of thinking.

    There are attempts to provide horizontal scalability for RDBMSes in a transparent way, like TiDB (which is compatible with the MySQL 5.7 drivers), however, the list of functionality that's sacrificed to achieve easily extensible clusters is a long one:

    There are other technologies, like MongoDB, which sometimes are more successful at a clustered configuration, however most of the traditional RDBMSes work best in a leader-follower type of replication scenario, because even those aforementioned systems oftentimes have data consistency issues that may eventually pop up.

    Essentially, my argument is that the lack of good horizontally scalable databases or other data storage solutions is easily explainable by the fact that the problem itself isn't solvable in any easy way, apart from adopting eventual consistency, which is probably going to create more problems than it will solve in case of any pre-existing code that makes assumptions about what ways it'll be able to access data and operate on it:

    To that end, i'd perhaps like to suggest an alternative: use a single vertically scalable RDBMS instance when possible, with a hot standby if you have the resources for that. Let the architecture around it be horizontally scalable instead, and let it deal with the complexities of balancing the load and dealing with backpressure - introduce a message queue if you must, maybe even an in-memory one for simplicity's sake, or consider an event based architecture where "what needs to be done" is encapsulated within a data structure that can be passed around and applied whenever possible. In my eyes, such solutions can in many cases be better than losing the many benefits of having a single source of truth.

    Alternatively, consider sharding as a possibility, or, alternatively, do some domain driven design, figure out where to draw some boundaries and split your service into multiple ones that cover the domain with which you need to work with. Then you have one DB for sales, one for account management, one for reports and so on, all separated by something as simple as REST interfaces and with rate limits or any of the other mechanisms.

    If, however, neither of those two groups of approaches don't seem to be suitable for the loads that you're dealing with, then you probably have a team of very smart people and a large amount of resources to figure out what will work best.

    To sum up, if there are no good solutions in the space, perhaps that's because the problems themselves haven't been solved yet. Thus, sooner or later, they'll need to be sidestepped and their impact mitigated in whatever capacity is possible.

  • Question regarding computing industry
    1 project | | 20 Jun 2021
    My knowledge is still quite limited because I never worked on the internals of distributed databases (I've only used and deployed them as an intern) but I have taken Advanced Databases CZ4031 in NTU and Parallel and Distributed Algorithms CS4231 in NUS which helped me get some basic understanding so you can consider taking those if you are interested. If you want to see how an open source database looks like, I would recommend TiDB because their documentation is quite good.
  • Oceanbase, yet another open source HTAP database
    3 projects | | 31 May 2021
    Another Chinese database seems to be doing a better job at this front:
  • TiDB Cloud Now in Public Preview
    1 project | | 28 May 2021
    TiDB is the leading open-source, MySQL compatible, distributed NewSQL database in the industry that supports hybrid transactional and analytical processing (HTAP), which allows businesses to run real-time analytical queries. It also features horizontal scalability, strong consistency, and high availability.
  • Can I anyone give me a proper Database black up solution
    2 projects | | 23 May 2021
    TiDB ( wraps around MySql, and implements consensus algorithms to parallelize SQL.
  • TiGraph: 8,700x Computing Performance Achieved by Combining Graphs + the RDBMS Syntax
    1 project | | 5 Apr 2021
    The three hackers on the TiGraph team are all top developers in the TiDB community:
  • Gopher Gold #16 - Wed Oct 21 2020
    14 projects | | 21 Oct 2020
    pingcap/tidb (Go): TiDB is an open source distributed HTAP database compatible with the MySQL protocol

What are some alternatives?

When comparing kingshard and tidb you can also consider the following projects:

vitess - Vitess is a database clustering system for horizontal scaling of MySQL.

cockroach - CockroachDB - the open source, cloud-native distributed SQL database.

go-mysql-elasticsearch - Sync MySQL data into elasticsearch

InfluxDB - Scalable datastore for metrics, events, and real-time analytics

go-mysql - a powerful mysql toolset with Go

dgraph - Native GraphQL Database with graph backend

oceanbase - OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.

migrate - Database migrations. CLI and Golang library.

etcd - Distributed reliable key-value store for the most critical data of a distributed system

jaeger - CNCF Jaeger, a Distributed Tracing Platform

go-memdb - Golang in-memory database built on immutable radix trees