Source: https://seerepo.com/compare/apache/shardingsphere/vs/infiniflow/ragflow
Markdown source: https://seerepo.com/compare/apache/shardingsphere/vs/infiniflow/ragflow.md
Description: shardingsphere and ragflow share 4 technologies: Postgres, MySQL, Redis, and OpenTelemetry. shardingsphere is written in Java and ragflow in Go.

# shardingsphere vs ragflow

shardingsphere and ragflow share 4 technologies: Postgres, MySQL, Redis, and OpenTelemetry. shardingsphere is written in Java and ragflow in Go.

- [apache/shardingsphere](https://seerepo.com/r/apache/shardingsphere): Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow): RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

## What they share and what sets them apart

- In common: Postgres, MySQL, Redis, OpenTelemetry
- Only in shardingsphere: ClickHouse, com.mysql:mysql-connector-j, curator-recipes, H2 Database, jakarta.jms-api, jedis, MariaDB, mssql-jdbc, org.apache.commons:commons-pool2, PostgreSQL, com.github.ben-manes.caffeine:caffeine, etcd, org.apache.zookeeper:zookeeper, com.zaxxer:HikariCP, JetBrains, polyglot, tomcat-embed-core, jakarta.persistence-api, org.apache.commons:commons-csv, org.freemarker:freemarker, jakarta.validation-api, commons-logging, io.opentelemetry:opentelemetry-exporter-otlp, jul-to-slf4j, Prometheus, ch.qos.logback:logback-classic, org.slf4j:slf4j-api, io.opentelemetry:opentelemetry-sdk
- Only in ragflow: net/http, Gin, go-redis, mysql-connector-python, pgx, pq, s3, AWS S3, Google, MCP, AIOHTTP, werkzeug, React, React Router, OpenAI, github.com/aws/aws-sdk-go-v2/credentials, golang.org/x/oauth2, github.com/golang-jwt/jwt/v5, Model Context Protocol, github.com/yuin/goldmark, github.com/ledongthuc/pdf, github.com/gomarkdown/markdown, github.com/emersion/go-message, golang.org/x/image, reportlab, go.uber.org/zap, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, go.opentelemetry.io/otel/trace, github.com/aws/aws-sdk-go-v2/service/sts, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, github.com/Azure/azure-sdk-for-go/sdk/azcore, qrcode, Tailwind CSS, classnames, class-variance-authority, tailwind-merge, next-themes, React Hook Form, xyflow, Radix UI, lexical, tanstack, @monaco-editor/react, react-syntax-highlighter, sonner, react-force-graph-2d, react-day-picker, react-copy-to-clipboard, recharts, @floating-ui/react, cmdk, D3, embla-carousel-react, Mermaid, react-dropzone, react-resizable-panels, Lucide, Ant Design, @lexical/markdown, dompurify, react-markdown, react-pdf-highlighter, rehype-katex, rehype-raw, unist-util-visit-parents, xlsx, papaparse, remark-gfm, rehype-sanitize, remark-breaks, remark-math, Zod, @hookform/resolvers, Ajv, ajv-formats

## Side by side

| | shardingsphere | ragflow |
|---|---|---|
| Size | 841,860 lines written, 5,280 code files | 1,294,372 lines written, 2,843 code files |
| Who writes it | 0.1% of its commits signed by AI. With Claude Code and GitHub Copilot | 2.1% of its commits signed by AI. With Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, Gemini CLI, and Factory |
| Activity | Last push November 5, 2026, 47,227 commits, 20,817 stars | Last push November 4, 2026, 10,792 commits, 93,494 stars |
| Tests | 4,621 test files. 75.3% of its code files have a test that imports them | 1,962 test files. 50.8% 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, shardingsphere or ragflow?

ragflow, with 1,294,372 lines written; shardingsphere has 841,860.

The proof: [infiniflow/ragflow's code at commit 8cab68a](https://github.com/infiniflow/ragflow/tree/8cab68a9a3b083da95abb2ea0789b0a5623defaf)

### Which has more GitHub stars, shardingsphere or ragflow?

ragflow, with 93,494 stars; shardingsphere has 20,817.

The proof: [infiniflow/ragflow on GitHub](https://github.com/infiniflow/ragflow)

### Which has more tests, shardingsphere or ragflow?

shardingsphere, with 4,621 test files; ragflow has 1,962.

The proof: [apache/shardingsphere's code at commit a6dfa0c](https://github.com/apache/shardingsphere/tree/a6dfa0c1f63a79ac2b4c81289139ff15c8d902fa)

### Which was updated more recently, shardingsphere or ragflow?

shardingsphere: its last push was on November 5, 2026, and ragflow's on November 4, 2026.

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

### Which has more commits signed by AI, shardingsphere or ragflow?

ragflow: an AI signed 2.1% of its commits, with Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, Gemini CLI, and Factory; in shardingsphere, 0.1%.

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

## Sources

- apache/shardingsphere: Read on November 5, 2026, at commit a6dfa0c (https://github.com/apache/shardingsphere/tree/a6dfa0c1f63a79ac2b4c81289139ff15c8d902fa)
- infiniflow/ragflow: Read on November 4, 2026, at commit 8cab68a (https://github.com/infiniflow/ragflow/tree/8cab68a9a3b083da95abb2ea0789b0a5623defaf)

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