question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Usage with Twemproxy

See original GitHub issue

Is there an example somewhere of using iored with Twemproxy? I’m attempting to do so but connections are not succeeding. On the Twemproxy side, the log is spammed with errors about unsupported client commands.

My connection looks like this:

const options = {
        host            : TWEMPROXY_IP_ADDR,
        port            : TWEMPROXY_PORT,
        connectionName  : `myserver.${uuid.v4()}`,
        keyPrefix       : 'myprefix:',
        enableReadyCheck    : false,    //  cannot send INFO to twemproxy
    };

    redis = new Redis(options);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NuSkoolercommented, Dec 14, 2016

@tuananh Simply removing connectionName does the trick for me - Twemproxy + ioredis working great!

1reaction
NuSkoolercommented, Apr 20, 2016

My apologies – it seems I can simply remove connectionName from options as this is causing CLIENT SETNAME ...

Read more comments on GitHub >

github_iconTop Results From Across the Web

twemproxy/README.md at master - GitHub
Observability via stats exposed on the stats monitoring port. Works with Linux, *BSD, OS X and SmartOS (Solaris). Help. Usage: nutcracker [-? ...
Read more >
Twemproxy Integration | Tanzu Observability Documentation
This integration uses the Twemproxy input plugin for Telegraf to extract metrics from Twemproxy. Note: Install the Telegraf agent on the Twemproxy host....
Read more >
Twemproxy | Redis 4.x Cookbook - Packt Subscription
The purpose of this project is to provide a proxy and data sharding solution for Redis and to reduce the number of client...
Read more >
twemproxy - Reviews, Pros & Cons - StackShare
Who uses twemproxy? Companies. 4 companies reportedly use twemproxy in their tech stacks, including Twitter, trivago, and Avito ...
Read more >
It install and configure twemproxy. - Puppet Forge
It's a puppet module for installing and configuring Twemproxy - memcached proxy ... Usage. Most of the work can be done through main...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found