{"adoption": {"forks": 707, "observed_at": "2026-08-28T04:07:18.474369+00:00", "stars": 2761}, "canonical_url": "https://ross.abutalabs.com/products/zebra", "card": {"archived": false, "artifact_type": "library", "description": "美团点评集团统一使用的MySQL数据库访问层的中间件。主要提供对业务开发透明、读写分库、分库分表能力，并提供了端到端SQL监控的集成方案。", "domain": ["databases", "backend", "developer-tools", "monitoring"], "enriched": true, "function": ["database", "database-driver", "monitoring", "routing", "middleware"], "health_score": 20, "homepage": null, "language": "Java", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["Meituan-Dianping/Zebra"], "name": "Meituan-Dianping/Zebra", "platform": ["jvm", "cross-platform"], "pushed_at": "2022-12-08T00:53:32+00:00", "repo": "Meituan-Dianping/Zebra", "stars": 2761, "tags": ["mysql", "read-write-splitting", "database-sharding", "jdbc", "mybatis", "dynamic-datasource", "sql-monitoring", "cat"], "topics": ["mysql", "dynamic-datasource", "read-write-separation", "zebra", "database-sharding", "mybatis"], "urls": [], "use_cases": ["shard mysql tables transparently for a java application", "add read-write splitting to a mysql-backed service", "scale a mysql database across multiple shards without changing business code", "monitor sql queries end to end with cat", "manage multiple dynamic datasources in a spring/mybatis app", "migrate a single-database app to a sharded setup"], "what_it_is": "Zebra is Meituan-Dianping's JDBC-based database access layer middleware for MySQL, providing transparent read-write splitting and database/table sharding. It includes centralized configuration management, multi-datasource support, async requests, and end-to-end SQL monitoring integration with the CAT platform.", "when_to_avoid": ["you use postgresql or a non-jvm stack", "you want a proxy-based sharding solution rather than a client library", "you need a project with frequent recent releases"], "when_to_choose": ["you run mysql on the jvm and need sharding or read-write splitting with minimal code changes", "you want integrated sql monitoring and centralized config management", "you use mybatis and want async dao extensions"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/zebra", "repo": "Meituan-Dianping/Zebra", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:18.474369+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:18:43.869914+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d8409a7b37bca682cac12be72a46f7b5aec817d2554f5986cb07a545244ece19", "fetched_at": "2026-08-28T04:07:18.474369+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Meituan-Dianping/Zebra"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3666, "days_push": 1365, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}