{"adoption": {"forks": 166, "observed_at": "2026-08-28T04:04:13.706615+00:00", "stars": 1280}, "canonical_url": "https://ross.abutalabs.com/products/spscqueue", "card": {"archived": false, "artifact_type": "library", "description": "A bounded single-producer single-consumer wait-free and lock-free queue written in C++11", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["concurrency", "message-queue"], "health_score": 20, "homepage": null, "language": "C++", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["rigtorp/SPSCQueue"], "name": "rigtorp/SPSCQueue", "platform": ["cpp", "cross-platform"], "pushed_at": "2024-01-04T14:24:22+00:00", "repo": "rigtorp/SPSCQueue", "stars": 1280, "tags": ["lock-free", "spsc-queue", "header-only", "wait-free", "single-producer-single-consumer", "cpp11", "algorithms"], "topics": ["queue", "concurrency", "concurrent-data-structure", "lock-free", "spsc-queue", "cpp11", "cpp", "header-only"], "urls": [], "use_cases": ["pass messages between two threads with minimal latency", "implement a lock-free producer-consumer pipeline in C++", "replace boost::lockfree::spsc_queue with a faster alternative", "build a fixed-capacity ring buffer for inter-thread data transfer", "share data between one writer and one reader thread without locks"], "what_it_is": "A header-only C++11 library providing a bounded single-producer single-consumer wait-free and lock-free queue. It is optimized for high-performance inter-thread communication and claims to outperform boost::lockfree::spsc and folly::ProducerConsumerQueue.", "when_to_avoid": ["you need multiple producers or multiple consumers", "you need an unbounded or dynamically growing queue", "you need blocking with condition variables or cross-thread wakeup built in", "you are not programming in C++"], "when_to_choose": ["you have exactly one producer thread and one consumer thread", "you need wait-free, bounded queue semantics with predictable latency", "you want a dependency-free header-only C++11 solution", "throughput and cache efficiency matter more than dynamic sizing"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/spscqueue", "repo": "rigtorp/SPSCQueue", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "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:04:13.706615+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.706615+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:02:38.788678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "97c0738b764c219e6a9b221df712c700782b3b18ad5e4b877818cd6dc20e0b3e", "fetched_at": "2026-08-28T04:04:13.706615+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rigtorp/SPSCQueue"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3810, "days_push": 972, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}