ChloeDB
Command center

The console is part of the server

Open any chloedb-server's address to watch a cluster, take a slow query apart, build queries and tune ranking. Nothing else to install, on a laptop or in the cloud.

Served at /

Compiled into the server. No second service, plugin or licence tier, and it works offline.

One server or a cluster

The same views on a laptop's file and on a sharded cluster in the cloud.

Every click is an API call

It reads the same API as any client, and does only what its key allows.

Operate

Is the fleet serving? The answer comes first.

Health against the SLO, every shard on one map, and what changed before it went wrong.

localhost:7700/#/home
Home: a cluster of 3 shards × 3 copies in production with searches slow, p99 823 ms against a 250 ms SLO, where it is happening and the problems worst first

Whether every shard serves reads and takes writes, and the numbers behind it.

localhost:7700/#/cluster
Cluster: 3 shards of 3 copies on three nodes in three zones, each copy's latency, and the alerts firing on them

Every shard and copy on one canvas. Draft a change by dragging, and apply its plan.

localhost:7700/#/performance
Performance: p99 rising from 10 ms to 598 ms at 18:25, the statement behind it, and latency and failures by cause

Latency, failures by cause and queries by kind, compared with the window before.

localhost:7700/#/timeline
Timeline: an hour of searches, failures, alerts, copies restarted for an upgrade, a primary handed over, people's changes and notes on one time axis

Alerts, failovers, rollouts and people's changes on one time axis.

localhost:7700/#/logs
Logs: every server's lines kept in ChloeDB, by level, shard and server, with the slow-query warnings of an incident

Every server's logs, kept in ChloeDB and searched from one bar.

localhost:7700/#/alerts
Alerts: three warnings firing, then every rule with its scope, owner and state

What is firing first, then every rule, backtested before you save it.

Diagnose

Take a slow query apart

Flame graphs for any query on any server, and which shard a search waited for.

localhost:7700/#/profile
Profiler: a hybrid search's time, CPU and rows over 3 shards, and its steps as a flame chart with each shard's call

Every step of a query as a flame chart, with each shard's call.

localhost:7700/#/profile
A CPU profile: a search run in a loop by four callers for 5 s on one shard, its runs and median, and the flame graph of every thread

Sample every thread for a few seconds; memory is profiled the same way.

localhost:7700/#/querypath
Query path: twenty runs of a query over three shards, each shard's times and the last to answer

Run a search 10 to 100 times and see which shard it waited for.

localhost:7700/#/tables
Tables and storage: six tables with their size, writes and reads a minute, skew, hot shards and stale copies

Which table grows, which shard is skewed or hot, which copy is stale.

Build and tune

Write queries, and tune what people see

A workbench and a query builder for SQL, and labs for ranking and search.

localhost:7700/#/sql
SQL workbench: revenue by brand from a join of orders and products, drawn as a bar chart

Completion, plans and charts. Read-only on production until someone allows writes.

localhost:7700/#/builder
Query builder: a search for waterproof jackets in stages, the SQL it writes and the rows it found

Drag words, filters and boosts into stages; the SQL is written as you build.

localhost:7700/#/relevance
Relevance lab: BM25 against a weighted hybrid for waterproof hiking boots, every row graded by Claude, and where each row moved

Two rankings side by side. Grade rows, or let Claude grade them, and keep the winner.

localhost:7700/#/schema
Schema: products, orders, customers, reviews, an edge table and a crawled table, drawn with their links

Tables drawn with their links. Design a new one by dragging types into it.

localhost:7700/#/graph
Graph explorer: hiking boots and the products bought with them, from an edge table, coloured by brand

Walk edges, rank by PageRank and find paths, with the SQL for each step.

localhost:7700/#/autocomplete
Autocomplete: a brand completed as it is typed, each keystroke's latency, and how it reads the table

Completions with typos, timed keystroke by keystroke.

New in November

An agent on call, and a cluster rehearsed

Claude investigates alerts and proposes fixes, a Simulator predicts what other shapes would hold, and apps add their own views.

localhost:7700/#/oncall
On-call agent: a p99 alert investigated in 12 steps, its evidence and likely cause, a nightly report's scans, and a limit on that report waiting for an admin

It reads health, alerts, queries and logs, then proposes a limit, a cancel or a silence. Nothing changes until an admin approves. How it works

localhost:7700/#/simulator
Simulator: a test run on 3 shards × 3 copies graded 90 of 100, what the cluster holds within its SLO, what fills first and what it costs

A test mix at a rising rate: what the cluster holds within its SLO, what fills first, and what another shape would hold and cost.

localhost:7700/#/slices
Slices: 477,995 places in 1,775 tiles, and eight devices that answered 70% of their searches themselves

Which tiles devices fetched, and how many searches they answered themselves. Search on the device

localhost:7700/#/app/crawler
Crawler: a new crawl, a finished crawl of a bookshop site, and the cluster's shards

An app beside the cluster: give it a site, and it makes a table and adds shards as the table grows. The crawler

Change

Change the cluster safely

Rollouts pick a published version and restart one copy at a time behind health gates. Autoscaling rules read as sentences. Cloud setup prices and creates a cluster on EKS or DigitalOcean. All clusters puts every cluster you reach on one page, and Follow keeps one a moment behind another.

localhost:7700/#/rollout
Rollouts: an upgrade by hand half done, 7 copies on the new image and 2 primaries still on the old one, and the steps to finish it

What the others ship for this

Elasticsearch and OpenSearch leave the console to a second product, Kibana or OpenSearch Dashboards. Milvus has Attu as a separate service.

Open it on your laptop in a minute

The demo fills a database with sample products and serves it.

chloedb-server --demo 20000 --db products.chloedb
open http://localhost:7700/