Coder Social home page Coder Social logo

mantis-rxcontrol's Introduction

mantis-rxcontrol

Build Status Version OSS Lifecycle License

Design

PID

Clutch

Clutch is an autoscaling domain specific implementation for scaling stateless systems. Initially Clutch was designed to autoscale Mantis Kafka source jobs

Metric

Metric is an enum contained within the Clutch class allowing various systems to map their resource measurements into something Clutch understands.

Event

A pair of Metric and Double representing a measurement taken from the target system. For example new Event(Metric.CPU, 78.2) represents a measurement of 78.2% CPU usage. The Clutch systems will operate on an Observable<Event> stream.

ClutchConfigurator

The ClutchConfigurator class within the com.netflix.control.clutch namespace is responsible for consuming an Observable<Event> and producing an appropriate ClutchConfiguration instance for the taget system. Currently the configurator performs the following tasks;

  • Determines the appropriate metric for autoscaling from the set CPU, Memory, Network.
  • Determines the actual range of resource usage and autoscales using those as min/max.

In the near future this class will also be responsible for;

  • Adjusting configuration based on lag/drops.
  • Adjusting configuration based on oscillation.

Clutch

Clutch contained within the com.netflix.control.Clutch namespace is a wrapper around a PID controller containing domain specific knowledge / implementations for the task of autoscaling stateless systems. This class is currently responsible for;

  • Instantiating a ClutchConfigurator.
  • Attaching a ControlLoop which executes the autoscaling.

mantis-rxcontrol's People

Contributors

calvin681 avatar codyrioux avatar jeffchao avatar rpalcolea avatar rspieldenner 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.