{"repo":"Julien-R44/bentocache","free":true,"listed":false,"github":"https://github.com/Julien-R44/bentocache","clone":"git clone https://github.com/Julien-R44/bentocache.git","description":"🍱 Bentocache is a robust multi-tier caching library for Node.js applications","language":"TypeScript","stars":660,"topics":["cache","caching","multi-tier","mysql","postgresql","redis","sqlite","upstash","nodejs"],"license":"MIT","category":"databases-storage","readme_excerpt":"Bentocache is a robust multi-tier caching solution for Node.js applications Features - 🗄️ Multi-tier caching - 🔄 Synchronization of local cache via Bus - 🚀 Many drivers (Redis, Upstash, In-memory, Postgres, Sqlite and others) - 🛡️ Grace period and timeouts. Serve stale data when the store is dead or slow - 🤓 SWR-like caching strategy - 🗂️ Namespaces. Group your keys by categories. - 🏷️ Tagging. Easy invalidations. - 🛑 Cache stampede protection. - 🏷️ Named caches - 📖 Well documented + handy JSDoc annotations - 📊 Events. Useful for monitoring and metrics - 🧭 OpenTelemetry instrumentation package for distributed tracing - 📝 Easy Prometheus integration and ready-to-use Grafana dashboard - 🧩 Easily extendable with your own driver See documentation at bentocache.dev Why Bentocache ? There are already caching libraries for Node: keyv , cache-manager , or unstorage . However, I think that we could rather consider these libraries as bridges that allow different stores to be used via a unified API, rather than true caching solutions as such. Not to knock them, on the contrary, they have their use cases and cool. Some are even \"marketed\" as such and are still very handy for simple caching system. Bentocache, on the other hand, is a full-featured caching solution . We indeed have this notion of unified access to differents drivers, but in addition to that, we have a ton of features that will allow you to do robust caching. Quick presentation Bentocache is a caching solution","default_branch":null,"files":null,"tree":[],"storefront":"/r/Julien-R44","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Julien-R44/bentocache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}