First, let me tell you how I'm using Redis connection in my NodeJS application: I'm re-using one connection throughout the app using a singleton class. class RD
node-redis refactored its API in v4 to support Promises. For some reason, they also decided to change the signature of most commands, which now don't obey any a
const express = require("express"); const redis = require("redis"); const app = express(); const client = redis.createClient({ url: "redis://admin123@ec2-35-