Git Product home page Git Product logo

typhos's Introduction

Logo Typhos

Fast, load-balancing, front-end proxy for microservices

Build Status Coverage Status

It's basically a proxy...

Typhos aims to be a fast, lightweight HTTP proxy. It aims to provide two primary features:

  1. Route HTTP requests to the right server

  2. Provide load balancing

The problem with normal reverse-proxy setups is that it's difficult or impossible to implement load balancing on a per-server basis.

The problem with load balancers is that they usually don't do routing.

So Typhos was born.

Configuration

Typhos is almost entirely configured via a simple HTTP based API. This allows configuration to be changed without restarting the server. This is useful in environments where services are provisioned and shut down dynamically.

/list

Returns a list of all active paths and servers

/add?path={routing_path}&server={server_url}

Adds a server to the proxy. If the routing path does not exist it will be created.

/new?path={routing_path}&server={server_url}

Same as /add but checks for duplicates.

/remove?path={routing_path}&server={server_url}

Removes a server from a routing path.

FAQ

  1. What's with the name?

    I wanted to call it Hydra because it handles lots of connections (you know, many heads) but there are already several projects that use that name. Googling around for "many headed monster" I found Typhon - Hydra's father. But there is already a project on npm called Typhon. So Typhos, which is an alternate name/spelling for Typhon.

  2. What's with the logo?

    Snake heads - Typhos has hundreds of snake heads. Also it's abstract enough to not look like snake heads which is good because I have a phobia of snakes.

typhos's People

Contributors

slebetman avatar

Watchers

James Cloos 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.