rpcpool.solana_rpc_haproxy
Solana RPC Haproxy
This is a guide for setting up HAproxy in front of a Solana RPC node. HAproxy will manage basic HTTP requests.
Requirements
- Ansible version 2.8 or higher
Role Variables
haproxy_log_level
: The level of logging for HAproxy.haproxy_certificate_path
: The location of a certificate for SSL. By default, a self-signed certificate is included.haproxy_lb_maxconn
: The maximum number of connections the load balancer can handle, default is 3000.haproxy_rpc_maxconn
: The maximum number of RPC connections passed to the Solana RPC software, default is 1000.haproxy_rpc_maxconn_pubsub
: The maximum number of pubsub connections passed to the Solana RPC software, default is 500.haproxy_major_version
: The major version of HAproxy to install, default is 2.2.haproxy_minor_version
: The minor version of HAproxy to install, default is 10.haproxy_checksum
: Checksum for the HAproxy installation package (sha256sum).
For advanced settings, customize the haproxy.cfg
file. A helpful resource for tailoring HAproxy for API use can be found here.
Example Playbook
- hosts: rpc_nodes
roles:
- { role: rpcpool.solana_rpc_haproxy }
License
MIT License
Author Information
This role was created by rpcpool. Contributions, suggestions, and improvements are always welcome.
Installa
ansible-galaxy install rpcpool.solana_rpc_haproxy
Licenza
mit
Download
94
Proprietario
Providers of Solana RPC services