Code Monkey home page Code Monkey logo

wx-cache-proxy's Introduction

wx-cache-proxy

wx-cache-proxy是多进程,基于中心化的代理,后端支持多种缓存(redis, pika,memcache)

环境要求

  • Linux操作系统 (内核大于等于4.6)
  • gcc版本在4.8.5以上
  • 安装必要的软件包 automake libtool autoreconf curl curl-devel

安装

yum -y install automake  libtool autoreconf aclocal
git clone https://github.com/tal-tech/wx-cache-proxy.git
cd wx-cache-proxy
./configure --prefix=/data/wx-cache-proxy
make -j 4
make install

启动

/data/wx-cache-proxy/sbin/wx-cache-proxy -d -c /data/wx-cache-proxy/conf/proxy.yml -o /data/wx-cache-proxy/log/proxy.log -n 4 -e /data/wx-cache-proxy/conf/etcd.conf -L /data/wx-cache-proxy/conf/trace.conf

启动参数说明

  • -d 守护程序方式运行
  • -c wx-cache-proxy主配置文件
  • -o wx-cache-proxy主日志
  • -e etcd配置文件
  • -L 请求在proxy追踪日志

trace.conf

{
     "dept_id": "部门id",
     "app_name": "业务名称",
     "log_filename": "/path/to/log",
     "room": "机房",
     "slow_threshold":1
}

wx-cache-proxy's People

Contributors

taek007 avatar

Stargazers

eonezhang avatar  avatar CHIN avatar

Watchers

黑夜路人 avatar James Cloos avatar  avatar  avatar Elodie Rodriguez avatar Jinchao avatar wsforever avatar  avatar  avatar 沧海 avatar  avatar

Forkers

heartshare

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.