Ivo Tijan
Ivo Tijan
Jul 23, 2017 · 1 min read

Yes, all your points are totally valid. For the sake of simplicity I copied a pseudo code. This is the real code:

const options = {
"host": config.get("redis.host"),
"port": config.get("redis.port"),
"password": config.get("redis.password")
};

const client = redis.createClient(options);

Redis DB is actually on a virtual machine on a different PC — actually it’s in a different country and I’m connecting to it through VPN.

    Ivo Tijan

    Written by

    Ivo Tijan