GithubHelp home page GithubHelp logo

brnsampson / mcrouter-cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roblox/mcrouter-cookbook

0.0 1.0 0.0 122 KB

A cookbook to install & configure mcrouter

License: Apache License 2.0

Ruby 98.77% HTML 1.23%

mcrouter-cookbook's Introduction

mcrouter

Build Status Coverage Status

Install mcrouter and its dependencies, and provide mechanisms to configure and start mcrouter.

This cookbook can, optionally, install a copy of memcached to use locally. This can be disabled by setting node['mcrouter']['local_memcached'] to false.

Requirements

Cookbooks

  • apt cookbook
  • yum cookbook
  • yum-epel cookbook
  • memcached cookbook
  • magic cookbook
  • magic_shell cookbook
  • systemd cookbook

Platforms

The following platforms are supported and tested with Test Kitchen:

  • Ubuntu 16.04
  • CentOS 7.2
  • CentOS 7.3

Chef

  • Chef 12.7+

Usage

  • Include mcrouter::default in your node’s run list.

If you wish to customize any of the configuration for mcrouter, you will want to edit the two attributes used to populate the config file and the CLI arguments passed to mcrouter on service start:

  • node['mcrouter']['cli_opts']
    • Do not overwrite this completely; the values specified already are required, instead, either:
      • supply updated values for these in addition to your new options
      • specify your particular CLI option: set['mcrouter']['cli_opts']['async-dir']
  • node['mcrouter']['config'] - See configuration options at mcrouter wiki.
  • node['mcrouter']['install_type'] - Set to 'package' to install from pre-compiled binaries

Attributes

  • node['mcrouter']['install_dir'] - Installation path of mcrouter

  • node['mcrouter']['user'] - User that mcrouter will run as

  • node['mcrouter']['version-branch'] - The latest release branch from Mcrouter repo.

  • node['mcrouter']['double_conversion_commit_hash'] - Double conversion commit hash to be checked out from double-conversion library. This is also hard coded in mcrouter build scripts.

  • node['mcrouter']['folly_commit_hash'] - Folly commit hash to be checkout out. This comes from mcrouter release branch

  • node['mcrouter']['wangle_commit_hash'] - Wangle commit hash to be checkout out. This comes from mcrouter release branch

  • node['mcrouter']['local_memcached'] - Enable a local installation of memcache. true by default.

  • node['memcached']['port'] - Configure memcached port. This are overrides of memcached cookbook

  • node['memcached']['udp_port'] - Configure memcached udp port. This are overrides of memcached cookbook

  • node['mcrouter']['cli_opts'] - Collection of of hashes that will be passed to mcrouter on start. You can see the whole list here

  • node['mcrouter']['config'] - This will become mcrouter configuration file. You can read more at Config Files on mcrouter wiki

Authors

Author:: EverTrue, Inc. ([email protected])

mcrouter-cookbook's People

Contributors

brnsampson avatar cthayer avatar eherot avatar jeffbyrnes avatar mitch-roblox avatar

Watchers

 avatar

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.