Source: https://seerepo.com/compare/grafana/loki/vs/smallnest/rpcx
Markdown source: https://seerepo.com/compare/grafana/loki/vs/smallnest/rpcx.md
Description: loki and rpcx share 4 technologies: net/http, go-redis, HashiCorp, and Redis. Both are written in Go.

# loki vs rpcx

loki and rpcx share 4 technologies: net/http, go-redis, HashiCorp, and Redis. Both are written in Go.

- [grafana/loki](https://seerepo.com/r/grafana/loki): Like Prometheus, but for logs.
- [smallnest/rpcx](https://seerepo.com/r/smallnest/rpcx): Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!

## What they share and what sets them apart

- In common: net/http, go-redis, HashiCorp, Redis
- Only in loki: Gorilla, github.com/grafana/loki/pkg/push, s3, github.com/thanos-io/objstore, github.com/twmb/franz-go, github.com/twmb/franz-go/pkg/kmsg, etcd, github.com/twmb/franz-go/pkg/kadm, github.com/grafana/gomemcache, github.com/IBM/ibm-cos-sdk-go, zombiezen.com/go/sqlite, github.com/aliyun/aliyun-oss-go-sdk, github.com/Azure/azure-sdk-for-go/sdk/storage/azblob, github.com/baidubce/bce-sdk-go, github.com/joncrlsn/dque, github.com/ncw/swift/v2, github.com/parquet-go/parquet-go, github.com/twmb/franz-go/plugin/kotel, github.com/twmb/franz-go/plugin/kprom, MinIO, AWS S3, github.com/schollz/progressbar/v3, github.com/aliyun/credentials-go, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/prometheus/sigv4, fluent-plugin-multi-format-parser, Fluentd, Logstash, logstash-codec-plain, Prometheus, github.com/go-kit/log, OpenTelemetry, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, github.com/sirupsen/logrus, github.com/moby/moby/v2, github.com/go-logfmt/logfmt, github.com/docker/go-plugins-helpers, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/fluent/fluent-bit-go, github.com/tjhop/slog-gokit, github.com/uber/jaeger-client-go
- Only in rpcx: github.com/julienschmidt/httprouter, github.com/rcrowley/go-metrics

## Side by side

| | loki | rpcx |
|---|---|---|
| Size | 692,352 lines written, 1,463 code files | 15,011 lines written, 84 code files |
| Who writes it | 1% of its commits signed by AI. With Claude Code, Cursor, and GitHub Copilot | 0% of its commits signed by AI |
| Activity | Last push November 15, 2026, 14,085 commits, 29,159 stars | Last push September 3, 2026, 898 commits, 8,318 stars |
| Tests | 1,109 test files. 80.3% of its code files have a test that imports them | 27 test files. 58.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, loki or rpcx?

loki, with 692,352 lines written; rpcx has 15,011.

The proof: [grafana/loki's code at commit 2f152da](https://github.com/grafana/loki/tree/2f152da4481c5f77dbc733677675f65b87d5eb48)

### Which has more GitHub stars, loki or rpcx?

loki, with 29,159 stars; rpcx has 8,318.

The proof: [grafana/loki on GitHub](https://github.com/grafana/loki)

### Which has more tests, loki or rpcx?

loki, with 1,109 test files; rpcx has 27.

The proof: [grafana/loki's code at commit 2f152da](https://github.com/grafana/loki/tree/2f152da4481c5f77dbc733677675f65b87d5eb48)

### Which was updated more recently, loki or rpcx?

loki: its last push was on November 15, 2026, and rpcx's on September 3, 2026.

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

### Which has more commits signed by AI, loki or rpcx?

loki: an AI signed 1% of its commits, with Claude Code, Cursor, and GitHub Copilot.

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

## Sources

- grafana/loki: Read on November 15, 2026, at commit 2f152da (https://github.com/grafana/loki/tree/2f152da4481c5f77dbc733677675f65b87d5eb48)
- smallnest/rpcx: Read on November 17, 2026, at commit 17ccc47 (https://github.com/smallnest/rpcx/tree/17ccc479b5ce02c80a398561c867e8d11b080569)

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