Horizon

Distributed Logging Infrastructure

Horizon is a high-performance, distributed logging infrastructure designed to solve the overhead of traditional ELK stacks. By leveraging ClickHouse’s columnar storage, I created a system that provides sub-second query speeds on millions of logs while maintaining a lightweight footprint that can be self-hosted or scaled as a SaaS.

Role
Founder & Lead Architect
Duration
Ongoing
Company
Horizon
Team
Solo

Technical Deep Dive

I wrote a comprehensive breakdown of the architecture, engineering challenges, and performance optimizations for Horizon.

🎯The Problem

Traditional logging stacks (ELK) are resource-heavy, complex to maintain, and often too expensive for smaller teams or high-volume streams.

💡The Solution

Architected a non-blocking ingestion engine using Fastify and ClickHouse with a batched write strategy to handle massive log volumes with minimal infrastructure overhead.

Tech Stack

FastifyTypeScriptPrismaClickHousePostgreSQLDockerNext.jsClerkTailwind CSS

Key Features

Custom Ingestion Engine with batched writes
Multi-Tenant SaaS Logic (Organizations/Memberships)
Usage Quota System for resource management
Developer SDK (@kisameholmes/horizon-node)
Real-time Analytics Dashboard with Recharts
Native transports for Pino and Winston

My Responsibilities

1

Architected the entire distributed logging system

2

Implemented high-volume ingestion logic with ClickHouse

3

Developed multi-tenant SaaS infrastructure using Clerk and Prisma

4

Built an NPM-distributed SDK for seamless integration

5

Designed and developed the Next.js analytics dashboard

6

DevOps and infrastructure management using Coolify and Docker

Outcome & Impact

Built a production-ready logging engine capable of handling millions of logs with sub-second query latency.

Sub-second query speeds on millions of logs

Non-blocking ingestion API

Low-latency dashboard with live-tailing

Usage-based quota enforcement

Interested in Working Together?

Let's build something amazing for your business.

Start a Conversation