# agentscope-ai-java/idempotency-shield > Express middleware that makes handlers safe to retry: a duplicate request with the same Idempotency-Key gets the cached response replayed instead of re-running the handler. Storage is in-memory or Redis. - Magnitude: 0.0 out of 10 — Steady - Stars: 85 total · +0 stars on 2026-10-02 (UTC), ≈ 0 by evening - Star trust: star growth looks organic - Category: Backend & databases · Language: TypeScript · License: MIT · Created: 2026-09-17 · Last push: 2026-09-17 - GitHub: https://github.com/agentscope-ai-java/idempotency-shield · Page: https://gitnova.dev/en/r/agentscope-ai-java/idempotency-shield ## Useful for - Protect a payment endpoint from double charges when a POST request is retried - Configure RedisStore so idempotency works across multiple app instances - Implement a custom IdempotencyStore backed by Postgres or DynamoDB ## Why it’s here - The repository is 15 days old and already has 85 stars. ## Star trust Star growth looks organic. Star-trust labels are heuristics based on the repository’s behavior, not a check of every stargazer. ## Numbers - Forks: 10 - Issues and pull requests: 0 - Watchers: 0 - Average over the last week: 0 per day - Usual pace: 5 per day ## Stars per day, last 30 days (oldest → newest, today is partial) 2026-10-06 … 2026-11-04: None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None ## Magnitude by day, last 14 days 09-19 4.0, 09-20 3.3, 09-21 1.1, 09-22 0.0, 09-23 0.0, 09-24 0.0, 09-25 0.0, 09-26 0.0, 09-27 0.0, 09-28 0.0, 09-29 0.0, 09-30 0.0, 10-01 0.0, 10-02 0.0 --- Magnitude (0–10) measures how fast and how unusually interest in a repository is growing right now. It is not a quality score. Days are UTC. “So far today” is a fact; “expected by the end of the day” is a forecast. Summaries and use cases are written by an LLM (DeepSeek V4.1 Flash) from the README and may be inaccurate: verify specific claims (benchmarks, speed, hardware) in the repository itself. Data as of 2026-10-02 01:39 UTC, updated every 30 minutes.