Industry solutions: ad and media tech

VeloDB for ad and media tech

Your advertisers refresh a dashboard and judge you by what loads. When creative copies sit in a search engine, and performance data sits in an OLAP store, every advertiser query joins across two systems and your customer waits. VeloDB, the real-time analytics and search database from the creators of Apache Doris, serves customer-facing reporting, content search, and log analytics in one engine, proven at a Billion-row scale.

Advertising platforms: Serve advertiser-facing reporting in real time: creative and keyword search beside campaign performance aggregation on trillion-row tables, across programmatic, CTV, and retail media.
Gaming and live operations: Player telemetry, funnels, and live-ops dashboards on a unified lakehouse, from patch-day monitoring to ad hoc analysis across hundreds of projects.
Streaming and content libraries: Full-text catalog search across artists, tracks, titles, and metadata, running next to audience segmentation on one copy of the data.
AI media applications: Petabyte-scale log analytics for AI products, and hybrid vector and text retrieval for recommendation and agent context.

Submit your inquiries here, and our team will get back to you

CREATIVE AND KEYWORDS AD EVENTS ONE ENGINE 300M 4,000+ NEW ROWS/DAY QUERY TEMPLATES 5 MIN FRESH
1.4B EVENTS QUERY 20s UNDER 2s PATCH DOWNLOAD INSTALL LOGIN
SEARCHANALYTICS697.7 GB195.4 GB
COLD TIER AFTER 7 DAYS 70% LOWER STORAGE COST RATIO 5:1 1B LOG RECORDS IN 2S 10 GB/S

Customer Stories

Trillion-scale ad data
Kwai
64% to 90% lower latency
3M rows/s
peak write per node
Under 5%
slow queries, was 35%

Kwai, the short-video and live-streaming platform behind Kling AI, runs a TikTok-scale ads business for more than 400 million daily users. Creative data lived in Elasticsearch and performance data in ClickHouse, joined through external tables. One engine now serves full-text search and aggregation on trillion-row tables.

Read the story
Game data platform
NetEase Games
15M queries/day
6 → 1
systems consolidated
Under 2s
player funnel, was 20s

The data team behind Naraka: Bladepoint, Where Winds Meet, and Knives Out ran Hive, Spark, Trino, Elasticsearch, HBase, and ClickHouse behind one platform. It consolidated onto a Doris and Iceberg lakehouse, cut the stack to one engine, and made ingested data queryable within seconds.

Read the story
Music content library
Tencent Music
80% lower operating cost
4x
faster writes
72% less
storage than Elasticsearch

Tencent Music (NYSE: TME) ran content library search on Elasticsearch beside a separate OLAP layer, storing the same data twice. Inverted indexes now serve artist, track, and text search from the same tables as the analytics, and full ingestion dropped from more than 10 hours to under 3.

Read the story
AI platform observability
MiniMax
1B logs in 2s
10 GB/s
write throughput
70% lower
storage cost

MiniMax, the AI company behind Talkie, a top-five free entertainment app in the US, outgrew a Loki-based logging stack where regex queries scanned entire datasets and spiked compute. Its Doris-based platform now serves petabyte-scale log search at over 99.9% availability.

Read the story

Powering real-time data for 10,000+ teams

KwaiNetEase GamesTencent MusicMiniMaxByteDanceKwaiNetEase GamesTencent MusicMiniMaxByteDance

Challenges working with real-time media data

01

Latency is the Symptom of Complexity

Ad and media platforms sell reporting to their own customers: campaign metrics, audience insight, catalog analytics. When working with multi-modal media assets and metrics, multiple systems are typically needed to handle the search and analytic requests, resulting in latency that is felt by the end user.

Kwai's slow query rate reached 35% at 1.4 seconds average latency before unifying its ad stack. Read their story
02

Every new workload adds another system

Batch processing, ad hoc queries, real-time lookups, and analytics each get their own engine, and each engine brings its own pipelines, its own specialists, and its own on-call rotation. Data crosses several systems before an analyst can query it.

NetEase Games maintained 6 specialized systems behind one platform Read their story , and MiniMax's logging stack alone ran 6 components. Read their story
03

Cost climbs faster than the revenue the analytics generate

At platform scale the bills arrive from every direction: search indexes inflate storage, full data writes stretch past 10 hours, and full-text scans spike compute at query time. The analytics product gets more expensive to run exactly as it succeeds.

Tencent Music held 697.7 GB of daily data in Elasticsearch that now takes 195.4 GB, while full writes ran more than 10 hours. Read their story

Why VeloDB for ad and media tech

Search + Analytics

One copy of the data for search and aggregation

Inverted indexes serve full-text queries next to SQL aggregations, so creative search, catalog lookup, and performance analytics run on the same tables. Apache Doris 4.0 added BM25 relevance scoring, and 4.1 adds a search() function with Elasticsearch-compatible DSL. Kwai cut query latency 64% to 90% after moving both sides of its ad stack onto one engine, and improved storage efficiency roughly 60% against Elasticsearch.

ONE SQL PASS AD EVENTS 1 COPY INVERTED INDEX SEARCH BM25 GROUP BY CAMPAIGN 300M KWAI, NEW ROWS/DAY
READERS DASHBOARDS IN-APP INTERNAL ONE NODE POINT LOOKUPS 30K 30,000 QPS PER NODE
Concurrency

Sub-second Latency Through Traffic Peaks

Sub-second latency holds at thousands of concurrent queries, and point lookups reach 30,000 QPS per node. Advertiser dashboards, in-app reporting, and internal analysis share one engine through traffic peaks. Kwai keeps its slow query rate under 5% across 4,000+ query templates. Tencent Music runs search and analytics in separate resource groups on one cluster, which took its alert volume from more than 20 a day to single digits a month.

Unified

Add workloads without adding systems

Point lookups, complex joins, high-concurrency aggregations, and log search run in one engine, and the next use case is a new table, not a new database. VeloDB also queries Iceberg, Hudi, and Paimon tables in place, which is how NetEase Games consolidated its 6-system stack into a lakehouse serving 15 million queries a day. That team reports 99%+ compatibility in production converting its existing Trino, Presto, Hive, PostgreSQL, and ClickHouse SQL, so consolidating did not mean rewriting the analytics.

SIX SYSTEMS ONE ENGINE OPEN TABLES Batch ETL Ad hoc SQL Log search Key value OLAP Lake query VeloDB Iceberg Hudi Paimon 99%+ SQL COMPAT NETEASE GAMES REPORTS, MIGRATING EXISTING SQL
COLUMNAR + ZSTD RAW STORAGE TENCENT MUSIC BEFORE 697.7 GB AFTER 195.4 GB ~72% LESS STORAGE
Efficiency

Storage and throughput costs that hold as volumes grow

Columnar storage with ZSTD compression cuts the search-engine storage overhead: Tencent Music now holds in 195 GB what Elasticsearch stored in 698 GB, taking operating costs down 80%. MiniMax compresses logs 5:1 and tiers anything older than 7 days out to object storage, for 70% lower storage cost. Merge-on-write ingestion sustains heavy writes while the data stays queryable.

Workloads ad and media tech teams run with VeloDB

Ad performance analytics
  • Creative and keyword search beside performance aggregation on trillion-row tables
  • Real-time advertiser-facing reports: impressions, clicks, and cost as campaigns run
  • 300 million new rows a day across roughly 700 core fields and 4,000+ query templates at Kwai
  • Data freshness within 5 minutes at trillion-row scale

Kwai serves every external advertiser and e-commerce seller on its platform from one engine, with write throughput up 3x and unified observability cutting troubleshooting time 80%. Read here

Kwai
Game telemetry and live operations
  • Player behavior, telemetry, and real-time lookups across hundreds of internal projects
  • Lakehouse queries on Iceberg tables in place, with Doris as the acceleration layer
  • Bitmap-based funnel and unique-player analysis on billion-record datasets

When a game ships an update, NetEase Games tracks the funnel from patch download to login across 1.4 billion records. That query dropped from 20 seconds to under 2, with peak memory down from 54 GB to 4.2 GB, on a platform running 20+ Doris clusters across hundreds of nodes. Read here

NetEase Games
Content library search and analytics
  • Artist, track, and text search served by inverted indexes on updatable tables
  • Tag-based audience segmentation with sub-second response across billions of records
  • Resource isolation between search and analytics workloads on one cluster

Tencent Music removed its separate Elasticsearch layer, cutting operating costs 80% and full ingestion from more than 10 hours to under 3. Queries that took minutes with LIKE matching now return in seconds. Read here

Tencent Music
AI apps and platform observability
  • Real-time log ingestion through Kafka, Routine Load, and Stream Load
  • Full-text and regex queries served by inverted indexes on petabyte-scale data
  • Tiered storage with hot and cold separation for long retention at low cost
  • Hybrid vector and text retrieval for content recommendation and agent context

MiniMax queries 1 billion log records within 2 seconds while writing at 10 GB/s, on one platform serving every business line at over 99.9% availability. Read here ByteDance serves 1 billion 768-dimension vectors from roughly 500 GB of memory on a single server, at about 400 ms p95 for hybrid retrieval.

MiniMax
FAQ

Frequently asked questions

What is VeloDB?

VeloDB is a real-time analytics and search database from the creators of Apache Doris. One engine handles point lookups, complex joins, high-concurrency aggregations, full-text search, and vector search on data that changes by the second.

What is the best database for real-time ad analytics?

Ad analytics needs full-text search over creative and keyword data next to aggregations over performance metrics, under heavy writes and constant advertiser queries. VeloDB serves both from one engine. Kwai runs trillion-row ad tables this way, ingesting 300 million new rows a day at write peaks of 3 million rows per second per node. Query latency fell 64% to 90% against its previous Elasticsearch and ClickHouse stack.

Can VeloDB replace Elasticsearch for search and analytics?

Yes. Inverted indexes serve full-text search from the same tables as SQL analytics, so teams keep one copy of the data. Tencent Music cut operating costs 80% and improved write performance 4x after removing its Elasticsearch layer, holding in 195.4 GB what Elasticsearch stored in 697.7 GB. Apache Doris 4.0 added BM25 relevance scoring, and 4.1 adds a search() function with Elasticsearch-compatible DSL.

Is there an alternative to Loki or Elasticsearch for log analytics?

Yes. VeloDB serves log search and log analytics from one engine, with inverted indexes handling full-text and regex queries. MiniMax moved off Grafana Loki after regex scans kept spiking compute. It now queries 1 billion log records within 2 seconds and writes at 10 GB/s at over 99.9% availability, with 5:1 compression and tiered storage cutting storage cost 70%.

Can VeloDB consolidate a multi-system data platform?

Yes. One engine covers point lookups, complex joins, high-concurrency aggregations, and log search, and it reads Iceberg, Hudi, and Paimon tables in place. NetEase Games consolidated Hive, Spark, Trino, Elasticsearch, HBase, and ClickHouse onto a VeloDB and Iceberg lakehouse, serving 200+ projects and 15 million queries a day on petabyte-scale storage. The team ran the move in two phases, replacing the real-time engines first and the batch layer second.

How hard is it to migrate off Presto, ClickHouse, or Elasticsearch?

The SQL usually ports, and most of the effort goes into validating it. NetEase Games reports 99%+ compatibility in production converting Trino, Presto, Hive, PostgreSQL, and ClickHouse SQL dialects, and mapped its Trino resource limits onto VeloDB workload groups. Teams moving from Elasticsearch map Keyword fields to non-tokenized inverted indexes and Text fields to tokenized ones. Kwai and Tencent Music both ran parallel pipelines to validate consistency before cutting over, then decommissioned their old clusters.

Get Started

One database for real-time analytics, search, and AI retrieval

Start with one workload, grow without adding systems.

Managed cloud  ·  BYOC  ·  On-premises

Need help? Contact us!