New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deepstream/cache-redis

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepstream/cache-redis

Redis cache connector for deepstream.io

  • 2.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

deepstream.io-cache-redis npm version

deepstream cache connector for redis

This connector uses the npm redis package. Please have a look there for detailed options.

Basic Setup

plugins:
  cache:
    name: redis
    options:
      host: ${REDIS_HOST}
      port: ${REDIS_PORT}
      db: ${REDIS_DB_INDEX} // optional
      ttl: 86400 // optional time to live in seconds
var Deepstream = require( 'deepstream.io' ),
    RedisCacheConnector = require( 'deepstream.io-cache-redis' ),
    server = new Deepstream();

server.set( 'cache', new RedisCacheConnector( {
  port: 6379,
  host: 'localhost'
}));

server.start();

Basic Setup with TLS support

If you need to establish the redis connection via tls, set the tls option:

plugins:
  cache:
    name: redis
    options:
      host: ${REDIS_HOST}
      port: ${REDIS_PORT}
      db: ${REDIS_DB_INDEX} // optional
      ttl: 86400 // optional time to live in seconds
      tls: {}

FAQs

Package last updated on 24 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc