---
title: "How LY Corporation uses ClickHouse to observe one of the largest Kafka deployments on earth"
description: "LY Corporation (LINE + Yahoo! Japan) runs a Kafka platform of 200+ brokers serving 25,000+ clients and handling 31M messages/sec at peak, over 1 trillion messages and 2.6 PB of I/O per day."
url: "https://swe.quest/articles/how-ly-corporation-uses-clickhouse-to-observe-one-of-the-largest-kafka-4673da61e0f144c7"
canonical: "https://clickhouse.com/blog/line-yahoo"
source: "ClickHouse"
published: "2026-02-09"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["observability","messaging","analytics","debugging"]
---

# How LY Corporation uses ClickHouse to observe one of the largest Kafka deployments on earth

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-02-09, 6 min read, Case study. Original: [https://clickhouse.com/blog/line-yahoo](https://clickhouse.com/blog/line-yahoo)

## Summary

LY Corporation (LINE + Yahoo! Japan) runs a Kafka platform of 200+ brokers serving 25,000+ clients and handling 31M messages/sec at peak, over 1 trillion messages and 2.6 PB of I/O per day. Its observability stack spans end-to-end latency probes, Async Profiler, eBPF and kernel delay accounting, and disk SMART data. The key layer is a Kafka API request log pipeline: requests are intercepted, serialized with Protocol Buffers, sent through an internal Kafka cluster and batch-ingested into ClickHouse at 7M rows/sec, about 4.1 trillion rows on 24 nodes. SQL queries over these logs confirmed a race condition between Produce and ListOffsets that caused non-monotonic offsets and halted replication, which led to an upstream patch.

Written by swe.quest, not by the author.

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

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Queues & messaging](https://swe.quest/tags/messaging.md) (Backend & APIs)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Debugging](https://swe.quest/tags/debugging.md) (Engineering practices)

## Prerequisites

- Kafka partitions and replication ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- Columnar databases ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

ClickHouse, Apache Kafka, LY Corporation, Async Profiler, eBPF, Protocol Buffers, Redash

## Related posts

- [Scaling our Observability platform beyond 100 Petabytes by embracing wide events and replacing OTel](https://swe.quest/articles/scaling-our-observability-platform-beyond-100-petabytes-by-embracing-wide-c75d29b3bcaf1192.md): ClickHouse · 2025-06-19 · Medium · 26 min read · Observability, Scaling, Cost optimization, Analytics & OLAP, Go
  ClickHouse's internal LogHouse platform grew from 19 PiB to over 100 PB of uncompressed logs (about 500 trillion rows), mostly by replacing the OpenTelemetry pipeline for ClickHouse server telemetry with SysEx.
- [Networking is a black box, we used eBPF to open it](https://swe.quest/articles/networking-is-a-black-box-we-used-ebpf-to-open-it-1c84acda9aefedd8.md): Railway · 2026-02-17 · Medium · 8 min read · Observability, Linux, Networking, Analytics & OLAP, Product engineering
  Railway's Network Flows feature uses eBPF hooks on container packet ingress and egress to show real-time traffic between services as pipes on the project canvas, with click-through access to flow logs and kernel drop codes.
- [Our New Observability Platform for 100B Logs](https://swe.quest/articles/our-new-observability-platform-for-100b-logs-ffdc8340b285c59b.md): Railway · 2023-09-29 · Medium · 7 min read · Observability, Analytics & OLAP, Replication, Scaling
  Railway rebuilt its logging backend on ClickHouse to power Log Explorer, handling about 1 billion new logs per day, 100 billion stored logs and 60 queries/sec at roughly 50ms average latency on a 2-shard/2-replica cluster.
- [Why OpenAI chose ClickHouse for petabyte-scale observability](https://swe.quest/articles/why-openai-chose-clickhouse-for-petabyte-scale-observability-dd57167d0fc8c4cb.md): ClickHouse · 2025-06-30 · Medium · 6 min read · Observability, Performance engineering, Analytics & OLAP, Scaling, Data structures
  OpenAI ingests petabytes of logs daily, growing over 20% monthly, into a ClickHouse cluster of 90 shards with two replicas each, fed by Fluent Bit agents.
- [Monitor SLAs and scale ClickHouse Cloud with clickhousectl and agents](https://swe.quest/articles/monitor-slas-and-scale-clickhouse-cloud-with-clickhousectl-and-agents-941d1a23a934edc8.md): ClickHouse · 2026-06-05 · Medium · 7 min read · Analytics & OLAP, SRE, Capacity planning, AI agents, Observability
  Tagging frontend queries with \`log\_comment\` lets you compute a specific latency SLA, such as p99 under 200 ms, directly from \`system.query\_log\` across replicas.

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)
