Platform Architecture Overview
This document outlines the transition from an Elasticsearch-based observability platform to a ClickHouse-based architecture for a crypto exchange application. The goal is to improve performance, reduce costs, and enable advanced analytics by leveraging ClickHouse's capabilities.
Target Architecture
The proposed architecture includes:
- Crypto Exchange Apps: Applications such as Trading Service, Wallet Service, Risk Service, User Service, API Gateway, Background Workers.
- OTEL SDK (OpenTelemetry): Auto-instruments various components like HTTP, DB, Kafka, Redis without requiring any changes to the application code.
- OTEL Collector: Processes and exports data using ClickHouse exporter.
- ClickHouse Cluster: Stores logs, traces, metrics, and business data in a single cluster for seamless integration.
- Grafana: Provides dashboards, trace viewer, log explorer, and alerts.
- LibreChat + LLM (Language Model): Enables AI queries over logs in plain English.
What Changes vs Current Stack
| Component | Before | After |
|---|---|---|
| OTEL SDK | Same | Same — zero changes |
| OTEL Collector | Same | Same — only exporter config changes |
| Storage |
Read the full article at DEV Community
Want to create content about this topic? Use Nemati AI tools to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



