"Compiling and packaging" twemproxy-0.4.0-2.el7.centos.src.rpm

Source: Internet
Author: User

Twemproxy, also known as Netcracker, is a high-performance protocol router (proxy server) that can be used in Memcached/redis clusters to support data fragmentation.

Take a lap in foreign countries do not find anyone to the RPM package, it is estimated that everyone is waiting for Redis 3.0 cluster bar. So studied, and wrote a spec file. The compiled installation has a version requirement for autoconf and M4, so this SRPM package works only on CentOS 7 and cannot be used directly on CENTOS6 unless the upgrade depends on the package.

The boot script is not included because it is not familiar with the Systemd boot script for CentOS 7.

You can use the following method to manually start or join the/etc/rc.local implementation of the boot

/usr/sbin/nutcracker-c/etc/twemproxy/nutcracker.yml-d

Package Contents

#rpm-QPL Twemproxy-0.4.0-2.el7.centos.x86_64.rpm/etc/twemproxy/etc/twemproxy/nutcracker.yml/usr/sbin/nutcracker /usr/share/man/man8/nutcracker.8.gz


Here's an introduction from Oschina

Twemproxy is a fast single-threaded agent that supports Memcached the ASCII protocol and the updated Redis protocol. It is all written in C and is licensed using Apache 2.0 license. The project can work on Linux and cannot be compiled on OSX because it relies on the Epoll API.

Characteristics:

    • Fast speed

    • Lightweight

    • Maintaining a persistent server connection

    • Keeps connection count on the backend caching servers low.

    • Enable requests and responses for pipelines

    • Support for proxies to multiple servers

    • Supports multiple server pools at the same time

    • Multiple servers automatically share data

    • The complete memcached ASCII and REDIS protocol is implemented.

    • Server pool configuration is simple, with a YAML file

    • Supports multiple hashing modes including consistent hashing and distribution.

    • Configurable to disable a node on failure

    • Observability through stats exposed on stats monitoring port.

    • Support for Linux, *BSD, OS X and Solaris (Smartos)


MD5 value

AEF8D577A88820372E781D251DA71DBA twemproxy-0.4.0-2.el7.centos.src.rpm


Reference documents

Https://github.com/twitter/twemproxy

Http://www.oschina.net/p/twemproxy



This article is from the "Focus on Linux Operations" blog, please be sure to keep this source http://purplegrape.blog.51cto.com/1330104/1589679

"Compiling and packaging" twemproxy-0.4.0-2.el7.centos.src.rpm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.