Try “car wash”, “subscription box”, “Austin” · Esc to close

Trifle

Open-source time-series analytics library that aggregates counters instead of events.

Developer tool / API SaaS & software Show HN · launch post · ▲ 49

Visit site

trifle.io

What it does

Trifle is an open-source time-series analytics library that stores pre-aggregated counters instead of raw events. It works with databases already in use—PostgreSQL, MySQL, or others—rather than requiring a separate time-series database. Data flows in through a single API call that specifies a key, timestamp, and nested values. Trifle automatically rolls up these values into time buckets during write, making the data instantly queryable at any resolution. The library supports Ruby, Elixir, and Go. A companion dashboarding tool, Trifle App, reads from the same database to create visual dashboards, alerts, and scheduled digests.

Who it is for

Trifle targets teams tracking business metrics—order counts, revenue, hierarchical data by country or channel—without wanting to operate separate infrastructure. The case study mentions usage at 80M+ daily calculations and 900M+ events tracked daily. It appeals to founders building applications where metrics need to be queryable at multiple time resolutions but where deploying Prometheus, InfluxDB, or TimescaleDB adds operational burden.

Pricing

The site does not show prices. Trifle Stats (the core library) is open-source. Trifle App offers cloud or self-hosted dashboards and automation, but pricing is not displayed.

How it stands out

The core design choice—pre-aggregating into buckets at write time—differs from the event-first approach of tools like StatsD or PostHog. Trifle avoids the need for a specialized backend or time-series database; it uses existing infrastructure. The comparison table on the homepage shows deliberate tradeoffs: Trifle trades the ability to add breakdowns retroactively for simpler storage and instant queryability. Nested paths let users group metrics hierarchically without defining separate keys.

What a founder should check

First, verify the switching costs. Trifle requires schema design upfront—deciding which counters and breakdowns to track—whereas event-first systems allow retroactive analysis. A rival would need to understand whether users find this inflexible or liberating.

Second, examine the moat around aggregation at write time. Competitors like materialized views in PostgreSQL or continuous aggregates in TimescaleDB offer similar benefits. A founder should test whether Trifle's library abstraction provides enough convenience to justify adoption versus raw SQL.

Third, check pricing pressure from open-source alternatives and hosted solutions. StatsD is free and widely deployed. PostHog bundles analytics with product metrics. Trifle's dashboard tool (Trifle App) is where revenue likely comes from—validate demand for that layer separately from the library.

Thinking of building something like this?

Every launch here is a competitor to somebody's idea. If yours is close, check it against the market before you build: the Full Check names the rivals, the prices and the gaps.

Check an idea like this

More developer tool / api launches

All

Wispbit

Linter that enforces codebase standards with AI coding agents.

Developer tool / API SaaS & softwareShow HN ▲ 31

OnlyJPG

Private browser-based converter for any image format to JPG.

Developer tool / API SaaS & softwareShow HN ▲ 64

Duck-UI

Browser-based SQL IDE for DuckDB running entirely in WebAssembly.

Developer tool / API SaaS & softwareShow HN ▲ 213

Checked ideas in SaaS & software