{"adoption": {"forks": 71, "observed_at": "2026-08-28T04:03:46.487183+00:00", "stars": 1150}, "canonical_url": "https://ross.abutalabs.com/products/madsim", "card": {"archived": false, "artifact_type": "library", "description": "Magical Deterministic Simulator for distributed systems in Rust.", "domain": ["microservices", "testing", "developer-tools"], "enriched": true, "function": ["testing", "simulation", "mocking", "concurrency"], "health_score": 61, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["madsim-rs/madsim"], "name": "madsim-rs/madsim", "platform": ["rust", "cross-platform"], "pushed_at": "2026-02-16T08:50:34+00:00", "repo": "madsim-rs/madsim", "stars": 1150, "tags": ["deterministic-simulation", "chaos-testing", "async-runtime", "tokio-alternative", "fault-injection"], "topics": ["deterministic", "distributed-systems", "simulator"], "urls": [], "use_cases": ["deterministically test distributed systems in Rust", "reproduce race conditions and hidden bugs reliably", "inject network and node failures into async Rust code", "simulate tokio, tonic, etcd, kafka, and S3 clients in tests", "chaos-test a database or streaming system before deployment"], "what_it_is": "MadSim is a Rust async runtime similar to tokio that enables deterministic simulation testing for distributed systems. It mocks I/O interfaces, eliminates uncertainty, and injects chaos and failures so bugs can be reproduced deterministically.", "when_to_avoid": ["your code depends on crates without madsim-compatible replacements or patches", "you only need conventional integration or end-to-end testing without determinism", "you are not writing Rust async applications"], "when_to_choose": ["you build distributed systems in Rust and want FoundationDB-style deterministic simulation testing", "you need reproducible failure injection and chaos testing for async Rust code", "you want to swap tokio/tonic/etcd-client/rdkafka with drop-in simulated versions"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/madsim", "repo": "madsim-rs/madsim", "role": "main", "score": 62}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "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:03:46.487183+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:46.487183+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:33:41.007160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2ccd7a65505d45079e50689ec2f696779fde79b69ee6379ce85603b803f1f900", "fetched_at": "2026-08-28T04:03:46.487183+00:00", "kind": "readme", "missing": false, "url": "https://github.com/madsim-rs/madsim"}, {"content_hash": "b1e69a7e9232cfdbe30604b0edb0c6e0b64dea410155e11e43e000560519942b", "fetched_at": "2026-08-29T12:38:28.068970+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/madsim"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 67, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1865, "days_push": 198, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 62, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}