Source: https://seerepo.com/compare/crowdsecurity/crowdsec/vs/pingcap/tidb
Markdown source: https://seerepo.com/compare/crowdsecurity/crowdsec/vs/pingcap/tidb.md
Description: crowdsec and tidb share 9 technologies: s3, MySQL, github.com/aws/aws-sdk-go-v2/feature/s3/manager, github.com/jedib0t/go-pretty/v6, Prometheus, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/prometheus/client_model, and github.com/prometheus/common. Both are written in Go.

# crowdsec vs tidb

crowdsec and tidb share 9 technologies: s3, MySQL, github.com/aws/aws-sdk-go-v2/feature/s3/manager, github.com/jedib0t/go-pretty/v6, Prometheus, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/prometheus/client_model, and github.com/prometheus/common. Both are written in Go.

- [crowdsecurity/crowdsec](https://seerepo.com/r/crowdsecurity/crowdsec): Open-source IDS/IPS, WAF and bot detection for Linux, Windows, Docker and Kubernetes, with a crowdsourced blocklist of malicious IPs.
- [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: s3, MySQL, github.com/aws/aws-sdk-go-v2/feature/s3/manager, github.com/jedib0t/go-pretty/v6, Prometheus, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/prometheus/client_model, github.com/prometheus/common
- Only in crowdsec: Gin, go-sqlite3, kafka-go, pgx, github.com/bluele/gcache, github.com/aws/aws-sdk-go-v2/service/kinesis, github.com/aws/aws-sdk-go-v2/service/sqs, SQLite, Postgres, k8s.io/apiserver, github.com/AlecAivazis/survey/v2, entgo.io/ent, github.com/golang-jwt/jwt/v4, github.com/beevik/etree, validate, github.com/getkin/kin-openapi, github.com/santhosh-tekuri/jsonschema/v6, github.com/sirupsen/logrus, github.com/hashicorp/go-hclog, github.com/moby/moby/client, github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs, github.com/moby/moby/api, gopkg.in/natefinch/lumberjack.v2
- Only in tidb: net/http, Gorilla, TiDB, etcd, github.com/cockroachdb/pebble, go.etcd.io/etcd/api/v3, go.etcd.io/etcd/server/v3, Dgraph, github.com/Azure/azure-sdk-for-go/sdk/storage/azblob, github.com/jellydator/ttlcache/v3, go.etcd.io/etcd/client/pkg/v3, Google, github.com/cheggaaa/pb/v3, gorm.io/gorm, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/go-ldap/ldap/v3, golang.org/x/oauth2, openai-go, go.uber.org/zap, go.opencensus.io, 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/grafana/pyroscope-go, github.com/prometheus/prometheus, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common

## Side by side

| | crowdsec | tidb |
|---|---|---|
| Size | 136,939 lines written, 588 code files | 1,752,108 lines written, 1,549 code files |
| Who writes it | 0.2% of its commits signed by AI. With Claude Code and GitHub Copilot | 0% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 6, 2026, 2,773 commits, 15,498 stars | Last push November 6, 2026, 27,911 commits, 40,711 stars |
| Tests | 238 test files. 57.5% of its code files have a test that imports them | 2,905 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, crowdsec or tidb?

tidb, with 1,752,108 lines written; crowdsec has 136,939.

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

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

tidb, with 40,711 stars; crowdsec has 15,498.

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

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

tidb, with 2,905 test files; crowdsec has 238.

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

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

Both got their last push on November 6, 2026.

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

### Which has more commits signed by AI, crowdsec or tidb?

crowdsec: an AI signed 0.2% of its commits, with Claude Code and GitHub Copilot.

## Sources

- crowdsecurity/crowdsec: Read on November 8, 2026, at commit 849c7a2 (https://github.com/crowdsecurity/crowdsec/tree/849c7a28d0bde8c0d3bb45c33041014c69e7e771)
- pingcap/tidb: Read on November 6, 2026, at commit a5a597d (https://github.com/pingcap/tidb/tree/a5a597dfb7921e43a43065f197d064b2af92d85e)

## 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.
