sequelize-redis-cache - Small fluent interface for caching sequelize database query results in redis more easily

  •        127

Small fluent interface for caching sequelize database query results in redis more easily. Simply put, this is a wrapper around sequelize retrieval methods that will automatically check in the configured redis instance for a value (based on a hash of the query and model name), then retrieve from the database and persist in redis if not found. It is promise based, so it will resemble sequelize for the most part, and be co/koa friendly. This library does not handle automatic invalidation of caches, since it currently does not handle inserts/updates/deletes/etc. I'd be in favor of someone submitting a patch to accommodate that, although I think that would be a significant undertaking.

https://github.com/rfink/sequelize-redis-cache

Dependencies:

bluebird : 3.4.1
circular-json : 0.3.0

Tags
Implementation
License
Platform

   




Related Projects

graphql-sequelize - GraphQL & Relay for MySQL & Postgres via Sequelize

  •    Javascript

graphql-sequelize assumes you have graphql and sequelize installed. A helper for resolving graphql queries targeted at Sequelize models or associations. Please take a look at the tests to best get an idea of implementation.

Sequelize - An easy-to-use multi SQL dialect ORM for Node.js

  •    Javascript

Sequelize is a promise-based Node.js ORM for Postgres, MySQL, SQLite and Microsoft SQL Server. It features solid transaction support, relations, read replication and more.

sequelize-auto - Automatically generate bare sequelize models from your database.

  •    Javascript

Automatically generate models for SequelizeJS via the command line.You will need to install the correct dialect binding globally before using sequelize-auto.

Redisson - Redis based In-Memory Data Grid for Java

  •    Java

Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Executor service, Tomcat Session Manager, Scheduler service, JCache API) on top of Redis server. Rich Redis client.


JetCache - Java cache abstraction which provides consistent use for various caching solutions

  •    Java

JetCache is a Java cache abstraction which provides consistent use for various caching solutions. Presently it support Redis and Alibaba Tair and Caffeine cache as embedded cache.

ledge - An RFC compliant and ESI capable HTTP cache for Nginx / OpenResty, backed by Redis

  •    Lua

An RFC compliant and ESI capable HTTP cache for Nginx / OpenResty, backed by Redis. Ledge can be utilised as a fast, robust and scalable alternative to Squid / Varnish etc, either installed standalone or integrated into an existing Nginx server or load balancer.

mongoose-redis-cache - Cache your Mongoose MongoDB query results with Redis

  •    CoffeeScript

Sorry guys that I haven't been around to maintain this project! This project has not been actively maintained and I'm terribly sorry for that. Check out the test example for more information.

redis-cache - MyBatis Redis Cache adapter

  •    Java

Redis support for MyBatis Cache

readthis - :newspaper: Pooled active support compliant caching with redis

  •    Ruby

Readthis is a Redis backed cache client for Ruby. It is a drop in replacement for any ActiveSupport compliant cache and can also be used for session storage. Above all Readthis emphasizes performance, simplicity, and explicitness. For new projects there isn't any reason to stick with Memcached. Redis is as fast, if not faster in many scenarios, and is far more likely to be used elsewhere in the stack. See this blog post for more details.

Go Redis - Type-safe Redis client for Golang

  •    Go

Redis client for Golang. It supports Publish /Subscribe. Transactions. Pipeline and TxPipeline. Scripting. Timeouts. Redis Sentinel. Redis Cluster. Cluster of Redis Servers without using cluster mode and Redis Sentinel. Ring. Instrumentation. Cache friendly. Rate limiting. Distributed Locks.

cli - The Sequelize CLI

  •    Javascript

Sequelize CLI is always looking for contributions. You can help us with fixing bugs, reporting bugs or improving documentation.CLI v3 fully supports Sequelize v3. Support for Sequelize v4 is still experimental.

egg-sequelize - Sequelize for Egg.js

  •    Javascript

Sequelize plugin for Egg.js. NOTE: This plugin just for integrate Sequelize into Egg.js, more documentation please visit http://sequelizejs.com.

node-cache-manager - Cache module for Node.JS

  •    Javascript

A cache module for nodejs that allows easy wrapping of functions in cache, tiered caches, and a consistent interface. See the Express.js cache-manager example app to see how to use node-cache-manager in your applications.

django-redis - Full featured redis cache backend for Django.

  •    Python

Full featured redis cache backend for Django.

django-redis-cache - A Redis cache backend for django

  •    Python

Docs can be found at http://django-redis-cache.readthedocs.org/en/latest/. including zlib, bzip2, or a custom implementation.

django-redis - Full featured redis cache backend for Django.

  •    Python

Full featured redis cache backend for Django. Run python setup.py install to install, or place django_redis on your Python path.

tomcat-redis-session-manager - Redis-backed non-sticky session store for Apache Tomcat

  •    Java

Sessions are stored into Redis immediately upon creation for use by other servers. Sessions are loaded as requested directly from Redis (but subsequent requests for the session during the same request context will return a ThreadLocal cache rather than hitting Redis multiple times.) In order to prevent collisions (and lost writes) as much as possible, session data is only updated in Redis if the session has been modified. The manager relies on the native expiration capability of Redis to expire keys for automatic session expiration to avoid the overhead of constantly searching the entire list of sessions for expired sessions.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.