ce-net demos
ce-net / Demos / Advanced / Sharded search

Sharded search.

One leader per shard, rebalanced live. A query fans out to the leader of every shard and the merged top 10 comes back. Then we kill every instance on one machine while the query loop keeps running.

Loading the recorded run…

Shard map

Latency and recall, every second

Before, during, after

Latency histogram

Grey: before the kill. Amber: while shards were short. Counts are queries per bucket, upper bound in ms.

The machine we lost

A key without the query right

Adding a machine

The new machine starts one host. No config names machines: the rebalancer sees its heartbeat and moves replicas onto it.

Every instance

Identities