Source: https://seerepo.com/compare/hyperledger/fabric/vs/pingcap/tidb
Markdown source: https://seerepo.com/compare/hyperledger/fabric/vs/pingcap/tidb.md
Description: fabric and tidb share 3 technologies: Gorilla, go.uber.org/zap, and Prometheus. Both are written in Go.

# fabric vs tidb

fabric and tidb share 3 technologies: Gorilla, go.uber.org/zap, and Prometheus. Both are written in Go.

- [hyperledger/fabric](https://seerepo.com/r/hyperledger/fabric): Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
- [pingcap/tidb](https://seerepo.com/r/pingcap/tidb): TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

## What they share and what sets them apart

- In common: Gorilla, go.uber.org/zap, Prometheus
- Only in fabric: github.com/syndtr/goleveldb, go.etcd.io/etcd/server/v3, go.etcd.io/etcd/client/pkg/v3, VictoriaMetrics, github.com/go-kit/kit, pb, github.com/moby/moby/client, github.com/moby/moby/api
- Only in tidb: net/http, s3, TiDB, github.com/pingcap/kvproto, github.com/tikv/client-go/v2, github.com/tikv/pd/client, etcd, MySQL, github.com/pingcap/badger, github.com/cockroachdb/pebble, github.com/aws/aws-sdk-go-v2/feature/s3/manager, Dgraph, github.com/Azure/azure-sdk-for-go/sdk/storage/azblob, github.com/coocood/freecache, github.com/jellydator/ttlcache/v3, github.com/ks3sdklib/aws-sdk-go, Google, github.com/cheggaaa/pb/v3, github.com/cheynewallace/tabby, github.com/jedib0t/go-pretty/v6, github.com/vbauerster/mpb/v7, github.com/aliyun/credentials-go, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/go-ldap/ldap/v3, github.com/lestrrat-go/jwx/v2, openai-go, github.com/joho/sqltocsv, github.com/qri-io/jsonschema, github.com/pingcap/log, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/aws/aws-sdk-go-v2/service/cloudwatch, github.com/aws/aws-sdk-go-v2/service/ec2, github.com/aws/aws-sdk-go-v2/service/sts, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common

## Side by side

| | fabric | tidb |
|---|---|---|
| Size | 371,990 lines written, 709 code files | 1,761,592 lines written, 1,554 code files |
| Who writes it | 0% of its commits signed by AI. With Claude Code | 0% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 5, 2026, 9,984 commits, 16,764 stars | Last push November 13, 2026, 27,982 commits, 40,734 stars |
| Tests | 775 test files. 89.6% of its code files have a test that imports them | 2,918 test files. 90.3% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, fabric or tidb?

tidb, with 1,761,592 lines written; fabric has 371,990.

The proof: [pingcap/tidb's code at commit 7a158c6](https://github.com/pingcap/tidb/tree/7a158c6afbea79d5f8da9cddb6e594bb1c7bfdae)

### Which has more GitHub stars, fabric or tidb?

tidb, with 40,734 stars; fabric has 16,764.

The proof: [pingcap/tidb on GitHub](https://github.com/pingcap/tidb)

### Which has more tests, fabric or tidb?

tidb, with 2,918 test files; fabric has 775.

The proof: [pingcap/tidb's code at commit 7a158c6](https://github.com/pingcap/tidb/tree/7a158c6afbea79d5f8da9cddb6e594bb1c7bfdae)

### Which was updated more recently, fabric or tidb?

tidb: its last push was on November 13, 2026, and fabric's on November 5, 2026.

The proof: [pingcap/tidb's commits on GitHub](https://github.com/pingcap/tidb/commits)

## Sources

- hyperledger/fabric: Read on November 7, 2026, at commit 13ef9e5 (https://github.com/hyperledger/fabric/tree/13ef9e5ee59466b152c8fe65b3a095234de671f7)
- pingcap/tidb: Read on November 13, 2026, at commit 7a158c6 (https://github.com/pingcap/tidb/tree/7a158c6afbea79d5f8da9cddb6e594bb1c7bfdae)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
