marco icon indicating copy to clipboard operation
marco copied to clipboard

An API driven load balancer.

Marco

An API driver load balancer for modern day application infrastructure.

Diagram

Balancers and backends

Balancer

  • Roundrobin - We are using https://github.com/mailgun/oxy under the hood for Round Robin balancing.

Drivers

  • Demo - https://github.com/nickschuch/marco-demo
  • AWS ECS - https://github.com/nickschuch/marco-ecs
  • Docker - https://github.com/nickschuch/marco-docker

Usage

Binary

$ marco
INFO[0000] Balancing connections on port 80             
INFO[0000] Receiving backend data on port 81 

Docker

$ docker run -d --name=marco -p 0.0.0.0:80:80 nickschuch/marco
INFO[0000] Balancing connections on port 80             
INFO[0000] Receiving backend data on port 81 

Libraries

  • https://github.com/nickschuch/marco-lib - Used for backend services to leverage for consistent code when pushing to Marco.