Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

Twemproxy

  • All Blogs
  • Tech Blog
  • Twemproxy
  • March 5, 2021 by
    Administrator

    Twemproxy (pronounced “two-em-proxy”), aka nutcracker is a fast and lightweight proxy for memcached and redis protocol. It was primarily built to reduce the connection count on the backend caching servers.

    Build

    To build nutcracker from distribution tarball:

    $ ./configure
    $ make
    $ sudo make install
    To build nutcracker from distribution tarball in debug mode:

    $ CFLAGS=”-ggdb3 -O0″ ./configure –enable-debug=full
    $ make
    $ sudo make install
    To build nutcracker from source with debug logs enabled and assertions disabled:

    $ git clone [email protected]:twitter/twemproxy.git
    $ cd twemproxy
    $ autoreconf -fvi
    $ ./configure –enable-debug=log
    $ make
    $ src/nutcracker -h
    Features

    Fast.
    Lightweight.
    Maintains persistent server connections.
    Keeps connection count on the backend caching servers low.
    Enables pipelining of requests and responses.
    Supports proxying to multiple servers.
    Supports multiple server pools simultaneously.
    Shard data automatically across multiple servers.
    Implements the complete memcached ascii and redis protocol.
    Easy configuration of server pools through a YAML file.
    Supports multiple hashing modes including consistent hashing and distribution.
    Can be configured to disable nodes on failures.
    Observability through stats exposed on stats monitoring port.

    Join us and make your company a better place.

    in Tech Blog
    Guacamole with MySQL on Ubuntu

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)