{"library":"node-caching-mysql-connector-with-redis","type":"library","category":null,"description":"Node.js library that integrates MySQL with Redis caching for automatic query caching, auto key generation, auto cache invalidation, and transparent fallback during Redis outages. Version 2.8.0. Uses mysql2 connection pool with automatic reconnection, redis ioredis with exponential backoff, and supports transactions, pagination, bulk inserts, and query timeouts. Differentiators: zero-config setup via environment variables, production-grade resilience tested against 18 chaos scenarios (Redis/MySQL kills, network partitions, thundering herd), cluster-safe cache invalidation using SCAN, and TypeScript type definitions included. The library degrades gracefully: reads return empty arrays and writes proceed without caching when Redis is down; no unhandled errors or crashes. Suitable for e-commerce, multi-tenant SaaS, real-time apps, and bulk operations.","language":"javascript","status":"active","version":"2.8.0","tags":["javascript","mysql","redis","cache","caching","database","mysql2","connection-pool","query-cache","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install node-caching-mysql-connector-with-redis","imports":["const { getCacheQuery } = require('node-caching-mysql-connector-with-redis')","const { QuaryCache } = require('node-caching-mysql-connector-with-redis')","const { withTransaction } = require('node-caching-mysql-connector-with-redis')","const { isRedisConnected } = require('node-caching-mysql-connector-with-redis')","const { getCacheQueryPagination } = require('node-caching-mysql-connector-with-redis')"]},{"cmd":"yarn add node-caching-mysql-connector-with-redis","imports":[]},{"cmd":"pnpm add node-caching-mysql-connector-with-redis","imports":[]}],"homepage":"https://github.com/hayatialikeles/NODE-CACHING-MYSQL-CONNECTOR-WITH-REDIS#readme","github":"https://github.com/hayatialikeles/NODE-CACHING-MYSQL-CONNECTOR-WITH-REDIS","docs":null,"changelog":null,"pypi":null,"npm":"node-caching-mysql-connector-with-redis","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}