Giter Site home page Giter Site logo

balance's People

Contributors

bboreham avatar dlespiau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bboreham

balance's Issues

Live view of pending requests

It'd be nice to have a live view to debug/understand things.

A few notes:

  • live may be not very interesting for low trafic services
  • View of the requests in the last n minutes (30s, 1m, 5m)
  • A small websocket protocol to update values live

img_20180621_173515

Decide what to do with logging

We want support to support logging, but as balance is a library, we should allow users to provide their own logging object we can use.

Write a stats Algorithm object

It's be nice to be able to gather statistics to observe decisions made by the load balancing algorithms. This could be done by introducing objects implementing the LoadBlancer and AffinityLoadBlancer interfaces and that would gather stats and call the real algorithm implementation.

Basic e2e tests

We need some start on e2e tests. A basic one could be:

  1. deploy proxy + service on a minikube cluster
  2. send some traffic
  3. collect metrics and check things look right.

Provide a load balancer that uses the Kubernetes service DNS/VIP

We could provide a LoadBalancer object that just uses the Kubernetes DNS/VIP so we can write generic code that just get an endpoint whether we use a fancy algorithm or just the default Service mechanism.

That's also the first step to be able to switch algorithms live, but that's another story.

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.