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.
What they share and what sets them apart
dgraph-io
dgraph
high-performance graph database for real-time use cases
Go21.8kRead on November 5, 2026, at commit c587cbaWhat is dgraph built with?Only in dgraph
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
etcd-io
etcd
Distributed reliable key-value store for the most critical data of a distributed system
Go52.5kRead on November 5, 2026, at commit cda871cWhat is etcd built with?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
dgraphetcd
SizeLines written by people and agents, without generated ones; code files, without tests.
dgraph268,878 lines written315 code files
etcd203,445 lines written512 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
dgraph0.6% of its commits signed by AIWith Claude Code
etcd0% of its commits signed by AIWith GitHub Copilot and Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
dgraphLast push November 3, 20266,323 commits21,822 stars
etcdLast push November 5, 202615,934 commits52,462 stars
TestsThe files that test the code, and the share of code files a test imports.
dgraph306 test files55.9% of its code files have a test that imports them
etcd521 test files69.7% of its code files have a test that imports them
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
Which has more GitHub stars, dgraph or etcd?
etcd, with 52,462 stars; dgraph has 21,822.
The proof: etcd-io/etcd on GitHub
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
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
Which has more commits signed by AI, dgraph or etcd?
dgraph: an AI signed 0.6% of its commits, with Claude Code.
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

