---
title: "How Picnic uses ClickHouse for real-time analytics across 20+ fulfillment centers and 1 million unique stores"
description: "Picnic runs a self-service real-time insights platform on ClickHouse Cloud that turns operational events from 20+ automated fulfillment centers into Grafana dashboards for warehouse teams."
url: "https://swe.quest/articles/how-picnic-uses-clickhouse-for-real-time-analytics-across-20-fulfillment-c29feccc1589938e"
canonical: "https://clickhouse.com/blog/picnic-real-time-analytics"
source: "ClickHouse"
published: "2026-01-16"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["analytics","data-pipelines","observability","identity-auth"]
---

# How Picnic uses ClickHouse for real-time analytics across 20+ fulfillment centers and 1 million unique stores

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-01-16, 7 min read, Case study. Original: [https://clickhouse.com/blog/picnic-real-time-analytics](https://clickhouse.com/blog/picnic-real-time-analytics)

## Summary

Picnic runs a self-service real-time insights platform on ClickHouse Cloud that turns operational events from 20+ automated fulfillment centers into Grafana dashboards for warehouse teams. Events from Java services and mobile apps flow over RabbitMQ and Kafka into a custom Java ingestion service. Materialized views parse the raw string payloads on insert, and refreshable materialized views handle heavier aggregates. Analysts define dbt models through GitHub pull requests with automated checks. Migrating from TimescaleDB cut operational complexity and drove sharp growth in dbt models, and GDPR access control was built from getClientHTTPHeader, Keycloak-backed Grafana identity and row-level policies.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)

## Prerequisites

- SQL ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- Kafka basics ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- materialized views

## Keywords

ClickHouse, Picnic, dbt, Grafana, TimescaleDB, Kafka, RabbitMQ, Keycloak

## Related posts

- [Appcues delivers personalized customer engagement with ClickHouse Cloud](https://swe.quest/articles/appcues-delivers-personalized-customer-engagement-with-clickhouse-cloud-70117f941c9e140c.md): ClickHouse · 2026-06-18 · Medium · 8 min read · Analytics & OLAP, Databases, Performance engineering, Cost optimization
  Appcues moved its customer-facing product analytics and segmentation from Snowflake plus Airflow rollups to ClickHouse Cloud, covering 1.31 PB of data and over 1 billion user profiles.
- [Front-end observability at scale: How OpenReplay captures billions of daily events in real time with ClickHouse](https://swe.quest/articles/front-end-observability-at-scale-how-openreplay-captures-billions-of-daily-b210d948927bb0e9.md): ClickHouse · 2026-10-21 · Easy · 8 min read · Analytics & OLAP, Observability, Data pipelines, PostgreSQL, Scaling
  OpenReplay, a self-hosted session replay and product analytics platform, moved behavioral event storage from Postgres to ClickHouse.
- [“Just OLAP it”: How Ramp rebuilt its analytics platform on ClickHouse Cloud](https://swe.quest/articles/just-olap-it-how-ramp-rebuilt-its-analytics-platform-on-clickhouse-cloud-36298842faab88cc.md): ClickHouse · 2026-01-20 · Medium · 5 min read · Analytics & OLAP, Event-driven architecture, Data pipelines, PostgreSQL, Queues & messaging
  Ramp moved customer-facing spend analytics off its Postgres monolith after enterprise customers' reports on a single card-transactions table began taking 40+ seconds, and now serves them in milliseconds from ClickHouse Cloud.
- [Why Flock Safety turned to ClickHouse for real-time vehicle traffic analytics](https://swe.quest/articles/why-flock-safety-turned-to-clickhouse-for-real-time-vehicle-traffic-analytics-f35b2dcb28006f8a.md): ClickHouse · 2025-04-29 · Medium · 5 min read · Analytics & OLAP, Data pipelines, Cloud platforms
  Flock Safety replaced a once-daily Redshift, DBT, Prefect and QuickSight SPICE pipeline with ClickHouse Cloud.
- [How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster](https://swe.quest/articles/how-clickhouse-cloud-enabled-launchdarkly-to-build-and-ship-features-faster-0e4ac03aed14f7e6.md): ClickHouse · 2026-01-22 · Medium · 10 min read · Analytics & OLAP, Data pipelines, Observability, Multi-tenancy, Cloud platforms
  LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
