Source: https://seerepo.com/compare/dgraph-io/dgraph/vs/etcd-io/etcd
Markdown source: https://seerepo.com/compare/dgraph-io/dgraph/vs/etcd-io/etcd.md
Description: dgraph and etcd share 8 technologies: net/http, github.com/golang-jwt/jwt/v5, OpenTelemetry, go.opentelemetry.io/otel, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, go.opentelemetry.io/otel/sdk, go.uber.org/zap, and Prometheus. Both are written in Go.

# dgraph vs etcd

dgraph and etcd share 8 technologies: net/http, github.com/golang-jwt/jwt/v5, OpenTelemetry, go.opentelemetry.io/otel, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, go.opentelemetry.io/otel/sdk, go.uber.org/zap, and Prometheus. Both are written in Go.

- [dgraph-io/dgraph](https://seerepo.com/r/dgraph-io/dgraph): high-performance graph database for real-time use cases
- [etcd-io/etcd](https://seerepo.com/r/etcd-io/etcd): Distributed reliable key-value store for the most critical data of a distributed system

## What they share and what sets them apart

- In common: net/http, github.com/golang-jwt/jwt/v5, OpenTelemetry, go.opentelemetry.io/otel, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, go.opentelemetry.io/otel/sdk, go.uber.org/zap, Prometheus
- Only in dgraph: Dgraph, MySQL, MCP, Kafka, github.com/go-jose/go-jose/v4, mcp-go, github.com/golang/glog, go.opencensus.io, Docker, go.opentelemetry.io/otel/exporters/otlp/otlptrace, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
- Only in etcd: go.etcd.io/etcd/api/v3, etcd, github.com/olekukonko/tablewriter, github.com/cheggaaa/pb/v3, github.com/coreos/go-systemd/v22, github.com/prometheus/client_model, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, gopkg.in/natefinch/lumberjack.v2

## Side by side

| | dgraph | etcd |
|---|---|---|
| Size | 268,878 lines written, 315 code files | 203,445 lines written, 512 code files |
| Who writes it | 0.6% of its commits signed by AI. With Claude Code | 0% of its commits signed by AI. With GitHub Copilot and Claude Code |
| Activity | Last push November 3, 2026, 6,323 commits, 21,822 stars | Last push November 5, 2026, 15,934 commits, 52,462 stars |
| Tests | 306 test files. 55.9% of its code files have a test that imports them | 521 test files. 69.7% 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, dgraph or etcd?

dgraph, with 268,878 lines written; etcd has 203,445.

The proof: [dgraph-io/dgraph's code at commit c587cba](https://github.com/dgraph-io/dgraph/tree/c587cba75f60445125459b46b4d81757a73384aa)

### Which has more GitHub stars, dgraph or etcd?

etcd, with 52,462 stars; dgraph has 21,822.

The proof: [etcd-io/etcd on GitHub](https://github.com/etcd-io/etcd)

### Which has more tests, dgraph or etcd?

etcd, with 521 test files; dgraph has 306.

The proof: [etcd-io/etcd's code at commit cda871c](https://github.com/etcd-io/etcd/tree/cda871cc952195664ebec450b77709c12f2d2a88)

### Which was updated more recently, dgraph or etcd?

etcd: its last push was on November 5, 2026, and dgraph's on November 3, 2026.

The proof: [etcd-io/etcd's commits on GitHub](https://github.com/etcd-io/etcd/commits)

### Which has more commits signed by AI, dgraph or etcd?

dgraph: an AI signed 0.6% of its commits, with Claude Code.

The proof: [the commits each tool signed in dgraph-io/dgraph](https://seerepo.com/r/dgraph-io/dgraph/ai)

## Sources

- dgraph-io/dgraph: Read on November 5, 2026, at commit c587cba (https://github.com/dgraph-io/dgraph/tree/c587cba75f60445125459b46b4d81757a73384aa)
- etcd-io/etcd: Read on November 5, 2026, at commit cda871c (https://github.com/etcd-io/etcd/tree/cda871cc952195664ebec450b77709c12f2d2a88)

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