{"id":24494793,"url":"https://github.com/thisisnotjustin/balencigo","last_synced_at":"2026-02-09T04:03:22.566Z","repository":{"id":269390205,"uuid":"907266397","full_name":"ThisIsNotJustin/balencigo","owner":"ThisIsNotJustin","description":"Lightweight and scalable loadbalancer written in Go with a focus on concurrency","archived":false,"fork":false,"pushed_at":"2025-01-08T23:20:23.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T01:47:02.913Z","etag":null,"topics":["go","software-engineering"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThisIsNotJustin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-23T07:47:33.000Z","updated_at":"2025-01-16T01:01:05.000Z","dependencies_parsed_at":"2025-03-20T00:00:30.271Z","dependency_job_id":null,"html_url":"https://github.com/ThisIsNotJustin/balencigo","commit_stats":null,"previous_names":["thisisnotjustin/balencigo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThisIsNotJustin/balencigo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsNotJustin%2Fbalencigo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsNotJustin%2Fbalencigo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsNotJustin%2Fbalencigo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsNotJustin%2Fbalencigo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThisIsNotJustin","download_url":"https://codeload.github.com/ThisIsNotJustin/balencigo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIsNotJustin%2Fbalencigo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29255952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T03:07:45.136Z","status":"ssl_error","status_checked_at":"2026-02-09T03:07:24.123Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["go","software-engineering"],"created_at":"2025-01-21T20:17:15.305Z","updated_at":"2026-02-09T04:03:20.980Z","avatar_url":"https://github.com/ThisIsNotJustin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BalenciGo\n\nBalenciGo is a lightweight, scalable load balancer written in Go.\n\n## Features\n- Round-Robin Load Balancing: Distributes incoming requests evenly across available servers.\n- Health Checks: Coninuously monitors server health to avoid routing to inactive or failing servers.\n- Concurrency: Built keeping synchronization for thread-safe operations in mind by utilizing a mutex.\n\n## Getting Started\n### Prerequisites\n- Go\n- Internet Connection (for testing functionality)\n\n## Installation\nClone the repository:\n```bash\ngit clone https://github.com/ThisIsNotJustin/balencigo.git\n```\nRun the project:\n```bash\ngo run main.go\n```\n\n## Example Usage\nBy default BalenciGo routes requests to the following demo servers\n- GitHub\n- DuckDuckGo\n- Kagi\n\n## Testing\nTo test the load balancer, visit http://localhost:8080 in the browser. \nRequests will then be forwarded to the configured servers in a round-robin cycle.\n\n## Configuration\nEdit the addresses array in main.go to specify the server URLs:\n```go\naddresses := []string {\n    \"https://github.com\",\n\t\"https://duckduckgo.com\",\n\t\"https://kagi.com\",\n}\n```\n\nEdit the time interval of the health checks by editing the following\n```go\nserver.StartHealthCheck(10*time.Second, ctx)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisnotjustin%2Fbalencigo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisisnotjustin%2Fbalencigo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisisnotjustin%2Fbalencigo/lists"}