Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. chproxy

chproxy

MITGov1.30.0

An HTTP proxy and load balancer for ClickHouse databases with caching, rate limiting, and security features.

Visit WebsiteGitHubGitHub
1.5k stars276 forks0 contributors

What is chproxy?

Chproxy is an open-source HTTP proxy and load balancer specifically designed for ClickHouse databases. It acts as an intermediary layer between applications and ClickHouse clusters, providing essential production features like load balancing, caching, and security controls. The project solves the challenge of managing and securing ClickHouse deployments at scale.

Target Audience

Database administrators, DevOps engineers, and developers who manage ClickHouse clusters in production environments and need to improve reliability, security, and performance.

Value Proposition

Developers choose Chproxy because it provides a lightweight, specialized solution for ClickHouse that's easier to deploy and manage than general-purpose proxies. Its tight integration with ClickHouse's HTTP protocol and focus on database-specific features make it more efficient than alternatives.

Overview

Open-Source ClickHouse http proxy and load balancer

Use Cases

Best For

  • Load balancing queries across ClickHouse cluster replicas
  • Caching frequent query results to reduce database load
  • Implementing rate limiting for ClickHouse API access
  • Adding authentication and authorization layers to ClickHouse
  • Monitoring and logging all ClickHouse queries centrally
  • Securing ClickHouse deployments with TLS termination

Not Ideal For

  • Teams managing multi-database environments where ClickHouse is just one component
  • Projects requiring real-time data streaming or WebSocket support beyond HTTP
  • Organizations needing a fully managed proxy service with enterprise support SLAs
  • Environments where extensive plugin ecosystems or dynamic routing are essential

Pros & Cons

Pros

ClickHouse-Specific Optimization

Designed exclusively for ClickHouse's HTTP interface, ensuring full compatibility and efficient query handling, as emphasized in the philosophy of maintaining native compatibility.

Production-Ready Feature Set

Bundles essential features like load balancing, response caching, and rate limiting out of the box, reducing the need for additional tools in ClickHouse deployments.

Enhanced Security Layers

Provides authentication, authorization, and TLS termination, securing ClickHouse access without modifying the database itself, as highlighted in the key features.

Comprehensive Query Monitoring

Logs all queries for auditing and debugging, which is crucial for compliance and performance tuning in production environments.

Cons

Niche Scope Limitation

Only supports ClickHouse, making it ineffective for projects using other databases or requiring a unified proxy for multiple data sources.

Configuration Complexity

Requires manual setup via configuration files, which can be error-prone and time-consuming for large or dynamic clusters, without a built-in UI for management.

Ecosystem Dependency

Tightly coupled to ClickHouse's development; updates or changes in ClickHouse might necessitate timely Chproxy updates, posing maintenance risks.

Frequently Asked Questions

Quick Stats

Stars1,464
Forks276
Contributors0
Open Issues54
Last commit1 month ago
CreatedSince 2017

Tags

#http-proxy#proxy#high-availability#database-proxy#database-security#rate-limiting#clickhouse#go#query-caching#load-balancer

Built With

G
Go

Links & Resources

Website

Included in

Go169.1k
Auto-fetched 1 day ago

Related Projects

vitessvitess

Vitess is a database clustering system for horizontal scaling of MySQL.

Stars21,006
Forks2,346
Last commit2 days ago
PgwebPgweb

Cross-platform client for PostgreSQL databases

Stars9,372
Forks841
Last commit5 days ago
go-mysqlgo-mysql

a powerful mysql toolset with Go

Stars4,950
Forks1,060
Last commit11 days ago
prestprest

PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new

Stars4,550
Forks308
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub