{"id":36457069,"url":"https://github.com/luizbafilho/fusis","last_synced_at":"2026-01-22T00:03:21.197Z","repository":{"id":49557210,"uuid":"51706930","full_name":"luizbafilho/fusis","owner":"luizbafilho","description":"Fusis Balancer is a dynamic and distributed TCP/UDP Load Balancer","archived":false,"fork":false,"pushed_at":"2018-03-03T16:27:10.000Z","size":25489,"stargazers_count":125,"open_issues_count":4,"forks_count":18,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-01-15T07:25:13.569Z","etag":null,"topics":["balancer","bgp","golang","ipvs"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luizbafilho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-14T18:19:52.000Z","updated_at":"2025-01-31T16:57:47.000Z","dependencies_parsed_at":"2022-08-27T11:12:45.084Z","dependency_job_id":null,"html_url":"https://github.com/luizbafilho/fusis","commit_stats":null,"previous_names":["luizbafilho/janus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luizbafilho/fusis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizbafilho%2Ffusis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizbafilho%2Ffusis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizbafilho%2Ffusis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizbafilho%2Ffusis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizbafilho","download_url":"https://codeload.github.com/luizbafilho/fusis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizbafilho%2Ffusis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28647492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["balancer","bgp","golang","ipvs"],"created_at":"2026-01-11T23:05:12.616Z","updated_at":"2026-01-22T00:03:21.192Z","avatar_url":"https://github.com/luizbafilho.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fusis Balancer  [![Build Status](https://travis-ci.org/luizbafilho/fusis.svg?branch=master)](https://travis-ci.org/luizbafilho/fusis) [![Go Report Card](https://goreportcard.com/badge/github.com/luizbafilho/fusis)](https://goreportcard.com/report/github.com/luizbafilho/fusis) [![codecov](https://codecov.io/gh/luizbafilho/fusis/branch/master/graph/badge.svg)](https://codecov.io/gh/luizbafilho/fusis)\n======\n\nFusis Balancer is a software [Layer 4](https://en.wikipedia.org/wiki/Transport_layer) Load Balancer powered by Linux's [IPVS](http://www.linuxvirtualserver.org/). It is a control plane for IPVS and adds distribution, fault tolerance, self-configuration and a nice JSON API to it.\n\n## Why?\nIPVS is hard. Fusis is an abstraction to make it easier to deal with IPVS and make its way to production without problems.\n\nThe goal of this project is to provide a friendly way to use IPVS.\n\n## Fault Tolerance\nTo make sure Fusis does not become a Single Point of Failure in your infrastructure, the Fusis can operate in two modes: `Failover` or `Distributed` modes.\n\n### Failover\nIn this mode, there is always one single instance balancing the traffic, and `N` others working as secondary instances. Once the Primary is down, a secondary instance becomes the primary and starts balancing the load.\n\n### Distribute\nIn this mode, all instances balance the traffic. To distribute the traffic to every instance, we need to make use of `ECMP`, so, the router can distribute the traffic equally. Fusis integrates out of the box with BGP without any external dependencies. With a basic configuration, you can peer with your BGP infrastructure and have a distributed load balancer.\n\n```TOML\n[bgp]\nas = 100\nrouter-id = \"192.168.151.182\"\n\n  [[bgp.neighbors]]\n  address = \"192.168.151.178\"\n  peer-as = 100\n```\n\n## State\nThis project it is under heavy development, it is not usable yet, but you can **Star** :star: the project and follow the updates.\n\n## Dependencies\n* Linux kernel \u003e= 2.6.10 or with IPVS module installed\n* [libnl 3.X](https://www.infradead.org/~tgr/libnl/)\n\n## Quick Start\nWIP\n\n## Documentation\n\n[View documentation →](http://luizbafilho.github.io/fusis/)\n\n## Developing\n\n### VM setup with Vagrant\n1. Install [Vagrant](https://www.vagrantup.com)\n\n2. Build the VM\n```bash\nvagrant up\n```\nWatch the message at the end of vagrant provision process.\nIt will provide you with the user, password and where the project code is.\n\n3. Login\n```bash\nvagrant ssh\n```\n\n### Linux setup\n1. Install **Go 1.6** or later\n\n2. Install libnl-3 (Debian based: `apt-get install libnl-3-dev libnl-genl-3-dev`)\n\n3. Get this project into $GOPATH:\n  ``` bash\n  go get -v github.com/luizbafilho/fusis\n  ```\n\n### Running the project\n\nNow that you have IPVS and fusis installed, run the project:\n\n``` bash\n# Remember, fusis binary is at $GOPATH/bin/fusis, add it to your $PATH\nsudo fusis balancer --bootstrap\n```\nYou should see something like:\n`[GIN-debug] Listening and serving HTTP on :8000`\n\nFrom another host, send a HTTP request to the API querying for available services available:\n``` bash\ncurl -i {IP OF FUSIS HOST}:8000/services\n```\nSo you should get:\n```\nHTTP/1.1 200 OK\nContent-Type: application/json; charset=utf-8\nDate: Thu, 07 Apr 2016 21:23:18 GMT\nContent-Length: 3\n\n[]\n```\n\nJust for testing purposes, lets add a route to a fake IPv4 by running this on the fusis host:\n\n``` bash\nsudo ipvsadm -A -t 10.0.0.1:80 -s rr\n```\n\nThen, make another request:\n\n``` bash\ncurl -i {FUSIS_HOST_IPV4}:8000/services\n```\n\nYou will get that same route you just created as a response:\n```\nHTTP/1.1 200 OK\nContent-Type: application/json; charset=utf-8\nDate: Thu, 07 Apr 2016 22:08:42 GMT\nContent-Length: 94\n\n[{\"Name\":\"\",\"Host\":\"10.0.0.1\",\"Port\":80,\"Protocol\":\"tcp\",\"Scheduler\":\"rr\",\"Destinations\":[]}]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizbafilho%2Ffusis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizbafilho%2Ffusis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizbafilho%2Ffusis/lists"}