🚀
Thiicket
  • Quick Start
  • Supported Commands
  • Memory Limits and Eviction Policies
  • Regions and Connecting
Powered by GitBook
On this page
  • Using TLS
  • NodeJS

Was this helpful?

Regions and Connecting

PreviousMemory Limits and Eviction Policies

Last updated 4 years ago

Was this helpful?

To connect, point your existing application or client to one of several hostnames below and ensure your client is setup to authenticate using your API key as the password

$ redis-cli -h xyz.connect.thiicket.com
xyz.connect.thiicket.com:6379> AUTH 6ac806cc-adce-465a-b5f7-25d6748c2368
OK
xyz.connect.thiicket.com:6379> 

Region

Hostname

Automatic

connect.thiicket.com

Ashburn, Virginia (US East)

iad.region.thiicket.com

Need lower latency or a closer region? where you want our next region to be

Service

Port

Standard

6379

TLS (Recommended)

6380

Currently TLS is not supported on automatic routing (connect.thiicket.com), to make use of TLS please connect directly to your target region

Using TLS

NodeJS

const redis = require("redis");

const client = redis.createClient("rediss://iad.region.thiicket.com:6380", {
    auth_pass: "INSERT YOUR API KEY HERE"
});

client.set("A", "B", (err, res) => {
    if (err != null) console.log(err)
    console.log(res);

    client.get("A", (err, res) => {
        if (err != null) console.log(err)
        console.log(res);
        process.exit(0);
    })
});
$ node index.js 
OK
B
Quick Start
Let us know