{"id":13632306,"url":"https://github.com/rainshowerLabs/blutgang","last_synced_at":"2025-04-18T02:32:28.124Z","repository":{"id":188924319,"uuid":"665677085","full_name":"rainshowerLabs/blutgang","owner":"rainshowerLabs","description":"the wd40 of ethereum load balancers","archived":false,"fork":false,"pushed_at":"2024-07-28T10:50:51.000Z","size":1669,"stargazers_count":354,"open_issues_count":10,"forks_count":28,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-12T18:53:44.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rainshowerLabs.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-12T18:35:34.000Z","updated_at":"2025-04-01T15:21:23.000Z","dependencies_parsed_at":"2023-08-17T14:24:47.319Z","dependency_job_id":"70858b45-f111-4ecc-996d-ba75478aa4f6","html_url":"https://github.com/rainshowerLabs/blutgang","commit_stats":null,"previous_names":["rainshowerlabs/blutgang"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainshowerLabs%2Fblutgang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainshowerLabs%2Fblutgang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainshowerLabs%2Fblutgang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainshowerLabs%2Fblutgang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rainshowerLabs","download_url":"https://codeload.github.com/rainshowerLabs/blutgang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249414252,"owners_count":21267724,"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","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":[],"created_at":"2024-08-01T22:02:59.452Z","updated_at":"2025-04-18T02:32:27.691Z","avatar_url":"https://github.com/rainshowerLabs.png","language":"Rust","funding_links":[],"categories":["Rust","Infrastructure"],"sub_categories":["Load Balancers"],"readme":"# Blutgang - the wd40 of ethereum load balancers\n![blutgang_gm](https://github.com/rainshowerLabs/blutgang/assets/55022497/ec668c7a-5f56-4b26-8386-f112c2f176ce)\n\nJoin the discussion on our [discord](https://discord.gg/92TfQWdjEh), [telegram](https://t.me/rainshower), or [matrix!](https://matrix.to/#/%23rainshower:matrix.org)\n\nBlutgang is a blazing fast, caching, minimalistic load balancer designed with Ethereum's JSON-RPC in mind. Historical RPC queries are cached in a local database, bypassing the need for slow, repeating calls to your node.\n\nFor more info about blutgang and how to use it, please check out the [wiki](https://github.com/rainshowerLabs/blutgang/wiki).\n\n## How to run \n\nFor detailed instructions on how to use blutgang, please read the [wiki](https://github.com/rainshowerLabs/blutgang/wiki).\n\n### Using cargo\n\nTo install blutgang via cargo, run the following command:\n\n```bash\ncargo install blutgang\n```\nOnce done, grab the `example_config.toml` from this repository, modify it to your liking, and start blutgang with it.\n\n### From source\n\nClone the repository, and find the `example_config.toml` file. Edit it to your liking, and run `cargo run --release -- -c example_config.toml`.   \n\nIf you want to use command line arguments instead, please run `cargo run --release -- --help` for more info. Keep in mind that the recommended way to run blutgang is via a config file.\n\n### Max performance\n\nIf you need the absolute maximum performance from blutgang, compile it using the command below:\n\n```bash\nRUSTFLAGS='-C target-cpu=native' cargo build --profile maxperf\n```\n\n### Docker\n\nThe official docker image is available on [dockerhub](https://hub.docker.com/r/makemake1337/blutgang).  \nYou must provide a config file to the docker container, as well as expose the port specified. Example:   \n```bash\ndocker run -v /full/path/to/config.toml:/app/config.toml --network host makemake1337/blutgang\n```\n\n### Nix\n\nUsing Flakes and the [nix-community/ethereum.nix](https://github.com/nix-community/ethereum.nix) overlay:\n\n```bash\nnix run github:nix-community/ethereum.nix#blutgang -- --help\n```\n\n## Benchmarks\n*Benchmarks were performed with a Ryzen 7 2700X, NVME SSD, and default Ubuntu 23.04 kernel. Same RPC endpoints were used*\n\n```bash\ntime sothis --source_rpc http://localhost:3000 --mode call_track --contract_address 0x1c479675ad559DC151F6Ec7ed3FbF8ceE79582B6 --origin_block 17885300 --terminal_block 17892269 --calldata 0x06f13056 --query_interval 20\n```\n![Figure_1](https://github.com/rainshowerLabs/blutgang/assets/55022497/8ce9a690-d2eb-4910-9a5d-807c2bdd4649)\n![Figure_2](https://github.com/rainshowerLabs/blutgang/assets/55022497/50d78e5f-2209-488d-82fc-8018388a82e7)\n\n## Acknowledgements\n\n- [dshackle](https://github.com/emeraldpay/dshackle)\n- [proxyd](https://github.com/ethereum-optimism/optimism/tree/develop/proxyd)\n- [web3-proxy](https://github.com/llamanodes/web3-proxy)\n\nBlutgang is standing on the shoulders of giants. Thank you to all the contributors of the projects above!\n\n## License\n\nBlutgang is licensed under the FSL. Without permission, this means you are allowed to use Blutgang for everything except commercial use cases, such as selling RPC access, and building other load balancers. Internal evaluation and any non-commercial use case is explicitly allowed. Two years after release, that specific version becomes licensed under the Apache-2.0 license.\n\nFor commercial support, which includes deployment scripts, relicensing options, ansible playbooks and more, contact us for a commercial license!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FrainshowerLabs%2Fblutgang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FrainshowerLabs%2Fblutgang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FrainshowerLabs%2Fblutgang/lists"}