{"id":18696544,"url":"https://github.com/swarajkumarsingh/load-balancer","last_synced_at":"2025-10-14T15:39:42.117Z","repository":{"id":198868110,"uuid":"701709764","full_name":"swarajkumarsingh/load-balancer","owner":"swarajkumarsingh","description":"Simple Load Balancer using Golang, which uses Round Robin Algorithm, and distributes connection to mutiple servers  ","archived":false,"fork":false,"pushed_at":"2023-10-07T10:38:22.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T15:39:41.261Z","etag":null,"topics":["algorithm","backend","go","golang","load-balancer","loadbalancer","loadbalancing","round-robin"],"latest_commit_sha":null,"homepage":"https://github.com/swarajkumarsingh/load-balancer","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/swarajkumarsingh.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}},"created_at":"2023-10-07T10:37:34.000Z","updated_at":"2025-02-05T11:10:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"cdddc50a-7a4e-4962-8120-6ad8843358f4","html_url":"https://github.com/swarajkumarsingh/load-balancer","commit_stats":null,"previous_names":["swarajkumarsingh/load-balancer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swarajkumarsingh/load-balancer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarajkumarsingh%2Fload-balancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarajkumarsingh%2Fload-balancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarajkumarsingh%2Fload-balancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarajkumarsingh%2Fload-balancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swarajkumarsingh","download_url":"https://codeload.github.com/swarajkumarsingh/load-balancer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swarajkumarsingh%2Fload-balancer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019345,"owners_count":26086711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["algorithm","backend","go","golang","load-balancer","loadbalancer","loadbalancing","round-robin"],"created_at":"2024-11-07T11:19:27.280Z","updated_at":"2025-10-14T15:39:42.097Z","avatar_url":"https://github.com/swarajkumarsingh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang Round-Robin Load Balancer\n\nThis is a simple round-robin load balancer implemented in Golang. It distributes incoming HTTP requests evenly among a list of backend servers.\n\n## Usage\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/swarajkumarsingh/load-balancer.git\n```\n\n2. Build and run the load balancer:\n```bash\ngo build main.go\n./main\n```\n\n3. Send HTTP requests to the load balancer's endpoint (e.g., http://localhost:8080) to distribute them among your backend servers.\n\n## Configuration\n### You can configure the load balancer by modifying the main.go file. Here are the key points for configuration:\n- Add or remove backend server URLs in the backendServers slice in the main function.\n- You can change the port on which the load balancer listens by modifying the port variable in the main function.\n\n## Dependencies\nThe load balancer uses the following Go standard library packages:\n- net/http: For creating the HTTP server.\n- net/http/httputil: For creating reverse proxies.\n- net/url: For parsing and handling URLs.\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contributing\nFeel free to contribute to this project by opening issues or pull requests. Your contributions are welcome!\n\n## Author\nSwaraj kumar singh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswarajkumarsingh%2Fload-balancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswarajkumarsingh%2Fload-balancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswarajkumarsingh%2Fload-balancer/lists"}