Real ClickHouse
Your queries run on ClickHouse servers, unmodified, over the native protocol. The tools and drivers you already use keep working.
Connect with the client you already have. ClickHamlet starts your servers on the first query, splits reads from writes, and stops everything when you are done.
$ clickhouse client --host cloud.clickhamlet.com \
--user acme --password ••••••
Warnings:
* Tenant created with name: acme
* Open your dashboard to keep this tenant:
https://cloud.clickhamlet.com/dashboard/iRnD…
:) CREATE TABLE events (id UInt64, at DateTime)
ENGINE = MergeTree ORDER BY id writer
:) INSERT INTO events
SELECT number, now() FROM numbers(1000000) writer
:) SELECT count() FROM events reader
1000000A router in front of your tenant reads every query and sends it where it belongs. A controller starts the servers it needs and stops them once they are idle.
Point any ClickHouse client at cloud.clickhamlet.com with a name and a password. An unknown name becomes your tenant, protected by that password. No sign-up form.
Your first query starts your backends. Writes, DDL and metadata go to the writer; reads go to a reader that mounts the same tables straight from storage.
Backends that see no queries stop on their own. Writers drain merges and inserts first, so nothing is lost. The next query starts them again.
Your queries run on ClickHouse servers, unmodified, over the native protocol. The tools and drivers you already use keep working.
Readers and writers stop after a few idle minutes. An idle database runs no servers at all.
Heavy dashboards do not compete with ingestion: readers and the writer are separate servers, routed per query.
Readers attach the writer's tables from storage on demand. New data shows up in seconds, without replication.
Each tenant gets its own backends and its own storage. Tables can only live there, enforced by ClickHouse's own grants.
Choose how long backends stay idle, keep a writer warm, or send reads to the writer. Changes apply within seconds.
There is no form to fill in. The first connection with a new name creates your tenant, and the password you use becomes its password.
clickhouse client --host cloud.clickhamlet.com --user <name> --password <password>curl https://clickhouse.com/ | shYes. ClickHamlet is a router in front of ordinary ClickHouse servers. It is built on ClickHouse's own code to parse your queries and speak its protocol, then relays each query to your backends untouched.
A few seconds when your backends are stopped, while a server starts. After that, queries run at ClickHouse speed. If you need the writer always ready, keep it running from your dashboard.
Every login shows your dashboard link. Opening it once claims the tenant. Tenants nobody claims within 2 days are deleted, with their data, and the name becomes free again.
Each tenant has a single user, so users, roles and grants are managed for you. Temporary tables, transactions and SYSTEM statements are not available, and tables use the MergeTree family.
ClickHamlet is in early preview. Try it, break it, and tell us what you need.