The-DevOps-Daily/pg-wire-mock

Implement optional query result caching system

Open

#119 opened on Oct 13, 2025

View on GitHub
 (2 comments) (0 reactions) (1 assignee)JavaScript (15 forks)github user discovery
enhancementhacktoberfest

Repository metrics

Stars
 (26 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Goal: Add configurable caching layer to improve performance for repeated queries.

Features:

  • Cache results based on SQL text and parameters
  • TTL-based cache invalidation
  • Cache hit/miss statistics and monitoring
  • Cache warming for predictable responses
  • Memory and Redis backend support
  • Cache bypass options for testing

Use cases: Load testing, performance optimization, reducing computation overhead.

Contributor guide