Answers while the events are still arriving

Count events as they arrive with KiviDB: counters, approximate unique counts with HyperLogLog, and time series with ranges and aggregation, all built into the server.

Keep the numbers a dashboard needs up to date as each event comes in: totals, how many distinct users, and a series of measurements over time.

Where KiviDB sits

Events → KiviDB (counters, unique counts, time series) → Dashboards (read while the events arrive)

The right structure for each question

  • How many? INCR and HINCRBY keep exact totals, by day, by page or by any key you choose.
  • How many different? HyperLogLog estimates the number of distinct items in a fixed, small amount of memory, and PFMERGE combines days into weeks.
  • How did it change? Time series store samples with a timestamp and answer ranges with aggregation by bucket.

What KiviDB Cloud adds

  • Replicas and failover On the Pro plan a replica takes over when the primary is lost, and the hostname your application uses stays the same.
  • Durability An append-only log on paid plans, snapshots on demand, and scheduled snapshots you can switch on.
  • Access control A firewall per database, closed until you open it, database users with their own permissions, and private connectivity.

Other use cases

  • Caching: Keep hot data in memory in front of a slower store.
  • Session store: Sessions that every application server can read.
  • Rate limiting: Count and cap requests per user, key or address.

Count it as it happens

Create a free database and send it your first events.