Menu

Self-hosted product analytics in Go: 25+ analysis models on a ClickHouse/Doris dual engine
📰

Self-hosted product analytics in Go: 25+ analysis models on a ClickHouse/Doris dual engine

DEV Community: go·GoWind Dev·about 2 hours ago
#XkWMcSLS
#devtogo#devto#dev#analytics#doris
Long article (569 words) — no AI summary yet.
Reading 0:00
15s threshold

Part 9 of the GoWind series . Product analytics tools are usually SaaS — you ship your users' behavior to someone else's cloud and query it back. For plenty of teams that's fine. For the rest — regulated industries, games with strict user-data rules, government-adjacent deployments, or anyone who just wants the raw events in their own database — GoWind UBA is a multi-tenant, self-hosted user behavior analytics platform: Go + Vue 3 + a ClickHouse/Doris dual OLAP engine, MIT-licensed, v1.0.0 released.

The pipeline is a classic streaming warehouse

On the write path, the analytics core never touches ingestion:

Client SDK → Collector (ingestion BFF) → Kafka → OLAP engine (Doris Routine Load / ClickHouse)

Enter fullscreen mode

Exit fullscreen mode

The Collector is a stateless BFF — auth, field validation, forwarding — so it scales horizontally while Kafka absorbs bursts. The OLAP engine consumes via Routine Load; PostgreSQL holds business/config entities on the read side.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.