# viccon/sturdyc

A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performant

Repository: https://github.com/viccon/sturdyc
Canonical: https://ross.abutalabs.com/products/sturdyc
Language: Go
License: MIT
License Family: permissive
Topics: cache, go, golang, performance, concurrency
Last push: 2025-04-04T21:02:59+00:00

## Health v2 (maintenance only)
Score: 33/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 14, release rhythm 40, longevity 62
- inputs: {"age_days": 879, "days_push": 516, "days_rel": 516, "gap_med": 20.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1280, forks 34 (observed 2026-08-28T04:04:13.755648+00:00)

## What it is
sturdyc is a Go caching library focused on protecting I/O-heavy applications from cache stampedes through request coalescing, asynchronous refreshes, and inflight tracking. It provides non-blocking reads and sharded writes with fine-grained control over data freshness.

## Use cases
- prevent cache stampedes in high-throughput services
- reduce load on databases and external APIs
- cache expensive function calls with async refresh
- coalesce duplicate concurrent requests for the same key
- add in-memory caching in front of distributed caches
- lower P95 latency for data-heavy endpoints

## When to choose
- you build Go services with heavy I/O to databases, caches, or external APIs
- you need stampede protection and request coalescing out of the box
- you want granular control over cache freshness and background refreshes

## When to avoid
- you need a distributed cache itself (sturdyc is an in-process layer, not a Redis/Memcached replacement)
- your application is not written in Go
- you only need simple key-value caching without concurrency features

## Facets
- artifact type: library
- maturity: active
- function: caching, concurrency, middleware
- domain: backend, performance, developer-tools, microservices
- platform: go, cross-platform
- tags: cache-stampede, request-coalescing, in-memory-cache, high-throughput, io-optimization

## Member repositories
- viccon/sturdyc (main) score 33

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.755648+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:02:39.460893+00:00, confidence not recorded.
  - readme: https://github.com/viccon/sturdyc (fetched 2026-08-28T04:04:13.755648+00:00, sha 5f5de5f4b7b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
