Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

38.7 KB
Raw Blame

Quickwit, ClickHouse, and Grafana Loki: Real User Experiences 2025

Research collected April 2026. Covers production reports, engineering blog case studies, community discussions, and benchmark analyses from 2024–2026.

Search queries used:

  1. quickwit production experience 2025 S3 native search
  2. quickwit vs elasticsearch comparison 2025
  3. clickhouse full text search production 2025
  4. clickhouse replacing elasticsearch log analytics 2025
  5. grafana loki vs elasticsearch production 2025
  6. loki scaling issues production 2025
  7. quickwit clustering architecture review 2025
  8. clickhouse log analytics durability 2025
  9. "replaced elasticsearch with" clickhouse OR loki OR quickwit 2025
  10. S3 native search engine production deployment 2025

Data Points

# Quote/Summary Source Product Date
1 Mezmo migrated from Elasticsearch to Quickwit in production, handling multi-petabyte telemetry data across thousands of customers, reducing search costs by 90% while maintaining the same user-facing experience in Mezmo's UI and APIs. Mezmo Blog Quickwit 2025
2 Mezmo used a parallel deployment model: Quickwit ran alongside Elasticsearch, allowing the team to run PoC, shift traffic incrementally, monitor performance, and fall back easily if needed. Post cut-over, Quickwit became the primary search backend. Mezmo Blog Quickwit 2025
3 Datadog acquired Quickwit on January 10, 2025, citing the need to boost real-time observability with open-source log management capabilities and provide sub-second queries over hundreds of millions of logs. Datadog Blog Quickwit Jan 2025
4 Quickwit co-founder confirmed the project will remain open-source under Apache License 2.0: "Quickwit will soon release a new version under the Apache License 2.0 to ensure the open-source community can continue on." Quickwit Blog / HN Quickwit Jan 2025
5 Quickwit decouples compute and storage, executing searches directly on object storage (S3, GCS, Azure Blob) with sub-second latency on massive datasets through vectorized processing, SIMD instructions, and an optimized file format that minimizes I/O. Mezmo Learn / Quickwit Docs Quickwit 2025
6 Quickwit 0.8 achieves indexing at 1 PB/day and enables searching through 50 PB of data, positioning it for the largest observability deployments. Quickwit Blog Quickwit 2024–2025
7 From a cold start (nothing in cache), a search request on Quickwit on S3 always takes longer than 4x S3's latency, approximately 150ms minimum. Cold starts are around 300ms slower than warm starts. Quickwit Lambda Blog Quickwit 2024
8 S3 latency variance is a real production challenge: "Despite small request sizes for term queries, latency can range from 15 milliseconds to a few hundreds, with P90 indicating 10% of queries exceed 165ms. It was painful to stabilize the 90th percentiles as S3 latency variations were significant." Quickwit Benchmarking Blog Quickwit 2024
9 Quickwit's hotcache mechanism allows opening a split on Amazon S3 in ~60ms. A small hot-start bundle enables turbo start in 70ms straight from S3. With hotcache in memory, a single searcher can respond to a basic search query on 23 TB under a second. Quickwit Architecture Docs Quickwit 2025
10 Caching the hotcache (6.45GB in one benchmark) shows significant improvements: Q1's P90 latency becomes sub-second at 800ms with a single searcher; across all queries, initial reduction of 2–4 seconds with one searcher, then tending to 300–800ms as searcher count increases. Quickwit Benchmarking Blog Quickwit 2024
11 Quickwit uses PostgreSQL as its metastore in clustered mode. A documented production issue involved metastore failures with AWS RDS Aurora, resulting in connection pool timeout (PoolTimedOut) failures requiring configuration tuning. Quickwit GitHub Issue #4321 Quickwit 2024
12 For heavy workloads, Quickwit recommends PostgreSQL metastore. For most use cases, a PostgreSQL instance with 4GB RAM and 1 core is sufficient; AWS RDS managed service recommends the t4g.medium instance type. Quickwit Cluster Sizing Docs Quickwit 2025
13 Quickwit cluster has 5 main components: Indexers, Searchers, Control Plane, Metastore, and Janitor. Each component has different resource requirements and can scale independently. Quickwit Architecture Docs Quickwit 2025
14 Quickwit uses Chitchat (an OSS Scuttlebutt implementation) to form clusters. Any node receiving a query acts as root, gets index metadata from metastore, distributes split workload among cluster nodes via Rendezvous hashing, then merges and returns aggregated results. Quickwit Architecture Docs Quickwit 2025
15 Rendezvous hashing in Quickwit defines a node/split affinity function with excellent stability properties when nodes join or leave the cluster, enabling efficient caching across the stateless searcher pool. Quickwit Architecture Docs Quickwit 2025
16 Quickwit is not designed for real-time document updates or deletions. It is optimized for append-only workloads like logs, traces, and events. This simplifies architecture and improves performance but limits use cases requiring mutable data. Atatus Comparison Guide Quickwit 2025
17 Quickwit does not have built-in machine learning capabilities, while Elasticsearch does. It also lacks fuzzy search, scoring, and complex query features available in Elasticsearch. Mezmo/Atatus Comparison Quickwit 2025
18 Quickwit is optimized for low QPS over massive datasets, not high QPS on limited data. "As opposed to traditional search technologies designed for high QPS on limited volumes of data, Quickwit is optimized for search on raw data where QPS remains low but volume is limitless." Quickwit Docs Overview Quickwit 2025
19 Tantivy (Quickwit's underlying search library) is approximately 2x faster than Lucene in search latency benchmarks. Overall indexing throughput increased by ~40% in Tantivy 0.22 using the GitHub dataset benchmark. Tantivy GitHub Quickwit / Tantivy 2024
20 Kalvad migrated to Quickwit and achieved 10x TCO reduction for log management while maintaining acceptable search performance. Quickwit Stories Quickwit 2024–2025
21 Elasticsearch community has 75,560 GitHub stars vs Quickwit's 10,587 — a 7.1x difference — reflecting the significantly larger Elasticsearch ecosystem, tooling, and community support. OpenAlternative Comparison Quickwit 2025
22 S3 Express was significant for Quickwit small queries but "on larger queries, using S3 Express with Quickwit does not make much of a difference." The improvement is latency-bound for small I/O, not throughput-bound for larger scans. Quickwit S3 Express Blog Quickwit 2024
23 Quickwit's security features are limited in open source, while Elasticsearch offers extensive security and compliance features. This is a blocker for enterprises with strict RBAC and compliance requirements. Mezmo Comparison Quickwit 2025
24 Quickwit 0.7 announced Elasticsearch API compatibility and 30% performance gains, allowing existing Elasticsearch tooling and agents to send data to Quickwit without modification. Quickwit Blog Quickwit 2024
25 Cloudquery built their own full-text search engine with ClickHouse, choosing it for its ability to handle analytics at scale with SQL familiarity while getting acceptable search performance for their specific workload. CloudQuery Blog ClickHouse 2025
26 Contentsquare migrated all 14 Elasticsearch clusters (each with 30 nodes of m5.4xlarge) to ClickHouse over 6 months. Result: 11x cheaper infrastructure costs and 10x performance improvement at P99. Zero regression during migration. ClickHouse Blog ClickHouse 2022–2025
27 Contentsquare was able to extend query history from 1 month to 3 months and bumped retention period to 13 months — a direct benefit of ClickHouse's dramatically lower storage cost per GB. ClickHouse Blog ClickHouse 2025
28 Trip.com built a 50 PB logging solution with ClickHouse after migrating from Elasticsearch. Query speed is 4 to 30x faster, with P90 under 300ms and P99 under 1.5s. ClickHouse Blog ClickHouse 2025
29 Trip.com's Elasticsearch cluster at 4 PB experienced: high load causing request rejections, write delays, slow queries; daily migration of 200 TB from hot to cold nodes causing performance degradation; shard allocation challenges; and large queries causing OOM exceptions. ClickHouse Blog ClickHouse 2024–2025
30 Trip.com had to customize Kibana since it doesn't support non-Elasticsearch backends, creating new data panels: chhistogram, chhits, chpercentiles, chranges, chstats, chtable, chterms, chuniq. This is a significant engineering cost of ES-to-ClickHouse migrations. ClickHouse Blog ClickHouse 2025
31 As trip.com's platform grew toward 30 PB, they faced new challenges: single ClickHouse clusters at this scale are hard to manage, and at the time there was no ClickHouse-Keeper or SharedMergeTree, leading to ZooKeeper performance issues and DDL timeout exceptions. ClickHouse Blog ClickHouse 2025
32 Didi migrated from Elasticsearch to ClickHouse for their log storage system, achieving 30%+ hardware cost reduction and 4x query speed improvement. Post-migration cluster exceeded 400 physical nodes with peak write traffic of 40 GB/s, supporting ~15M queries/day at peak QPS of ~200. ClickHouse Blog ClickHouse 2024–2025
33 Logalarm SIEM (v2.5) migrated from Elasticsearch to ClickHouse in Aug 2025. Key driver: Elasticsearch's shard-based architecture sometimes led to replica inconsistencies — "unacceptable for a SIEM platform where every log event matters." Medium / Logalarm Devs ClickHouse Aug 2025
34 Logalarm SIEM achieved 70–85% less storage usage with ClickHouse's columnar storage and advanced compression compared to Elasticsearch. Medium / Logalarm Devs ClickHouse Aug 2025
35 Logalarm migration to ClickHouse: "Instead of shard rebalancing headaches, ClickHouse coordinates seamlessly with ZooKeeper for replication, schema management, and failover, making cluster operations more predictable and less error-prone." Medium / Logalarm Devs ClickHouse Aug 2025
36 Logalarm noted elimination of "JVM tuning or garbage collection pauses" as a key operational benefit of switching from Elasticsearch (JVM-based) to ClickHouse (C++-based). Medium / Logalarm Devs ClickHouse Aug 2025
37 ClickHouse with ZSTD compression commonly achieves 5–10x compression of raw log data, making it 10–30x more storage-efficient for log data compared to Elasticsearch. OneUptime Blog ClickHouse 2025
38 Elasticsearch took 4 days to load ~30 billion rows (out of 100B), while ClickHouse loaded the full 100 billion row dataset in less than 1 day — a dramatic write throughput difference for bulk ingestion. ClickHouse Billion Row Matchup ClickHouse 2024–2025
39 ClickHouse's write throughput is architecturally higher than Elasticsearch per node of equivalent spec. ClickHouse writes data directly to disk, omitting the redo log stage, and realizes high write throughput by batching writes on the client side. Tasrie IT / ClickHouse Comparison ClickHouse 2025
40 ClickHouse Full-Text Search reached GA in early 2026 (available in v26.2+). A beta customer (Ryft.io) reported 96% reduction in granules scanned and 7x improvement in query latency versus queries without the text index. ClickHouse Blog – Full-text Search GA ClickHouse 2025–2026
41 ClickHouse full-text search delivers 7–10x faster queries versus traditional approaches for cold queries and even more for hot queries, with up to 96% reduction in granules scanned on qualified workloads. ClickHouse Blog – FTS Inside ClickHouse 2026
42 ClickHouse text search implements an inverted index similar to Lucene, storing token-to-row-number mappings. Text indexes deliver "no false positives" with deterministic row-level information, unlike bloom filter based approaches. ClickHouse Docs – Text Indexes ClickHouse 2026
43 ClickHouse ported full-text search to object storage environments with targeted optimizations, enabling strong performance when indexes reside in S3/GCS rather than local NVMe. ClickHouse Blog – FTS Object Storage ClickHouse 2025–2026
44 ClickHouse provides in-built sharding and replication without external dependency. Earlier versions depended on ZooKeeper; recent versions replaced it with ClickHouse Keeper, a Raft-based coordination service. ClickHouse Docs ClickHouse 2025
45 In production, some ClickHouse tables can enter Read-Only mode due to crashes, ZooKeeper unavailability, or slowness. Recovery requires increasing thresholds or setting the force_restore_data flag and restarting ClickHouse. Altinity KB ClickHouse 2025
46 Replication lag in ClickHouse can cause read inconsistencies and eventually cluster instability. Typical root causes include ZooKeeper issues, network problems, or resource bottlenecks (CPU/disk). OneUptime Blog ClickHouse 2025
47 SharedMergeTree (ClickHouse Cloud's table engine) uses asynchronous leaderless replication and clickhouse-keeper for coordination. As of July 2025, all existing ClickHouse Cloud services were migrated to SharedMergeTree, with shared S3 storage as the foundation. ClickHouse Blog – SharedMergeTree ClickHouse July 2025
48 ClickHouse Cloud in 2025 introduced compute-compute separation: multiple compute replicas access the same shared storage concurrently, enabling independent scaling without data duplication — similar to Quickwit's stateless searcher model. ClickHouse Blog – Stateless Compute ClickHouse 2025
49 ClickHouse Cloud launched manual horizontal scaling to GA in 2025, supporting workloads up to 20 replicas for increased parallelization. ClickHouse 2025 Roundup ClickHouse 2025
50 SharedCatalog (GA July 2025) is a centralized metadata coordination system that fundamentally changed how ClickHouse Cloud manages database and table metadata at scale. ClickHouse 2025 Roundup ClickHouse July 2025
51 ClickStack (ClickHouse + HyperDX + OpenTelemetry) launched May 2025. Teams at scale including Netflix and Anthropic were already using ClickHouse as the foundation for their observability systems before the official stack launch. ClickHouse Blog – ClickStack ClickHouse May 2025
52 ClickStack 2025 year-in-review noted: "In 2025, it became clear that volume alone was no longer the primary challenge in observability, with high cardinality emerging as the more fundamental constraint." ClickHouse Blog – ClickStack Year Review ClickHouse 2025
53 December 2025: ClickStack delivered the biggest performance leap of the year — fully integrated Materialized Views. Users can create Incremental Materialized Views directly in ClickHouse and ClickStack's query layer automatically selects the most efficient view per query. ClickHouse Blog – ClickStack Dec 2025 ClickHouse Dec 2025
54 ClickHouse does not replace Elasticsearch for use cases requiring full-text search across unstructured, highly variable text. "For structured log analytics, ClickHouse wins. For free-text document search, Elasticsearch is still the better choice." — this caveat predates the GA of ClickHouse FTS. OneUptime Blog ClickHouse 2025
55 ClickHouse requires careful insert batching in production. Row-by-row inserts cause excessive small parts and merge overhead. Teams migrating from Elasticsearch must rethink their ingestion pipeline for batch writes. TapData Blog ClickHouse 2025
56 ClickHouse schema design requires investment: "ensure all data about entities are in a single shard, utilize distributed_group_by_no_merge = 1 to reduce network I/O." Schema decisions are harder to change post-migration than in Elasticsearch. BigData Boutique ClickHouse 2025
57 Kwai (Chinese tech giant) migrated from ClickHouse + Elasticsearch to Apache Doris for trillion-scale ad analytics, showing that ClickHouse itself eventually becomes a migration source at extreme scale/complexity. Medium / VeloDB ClickHouse Mar 2026
58 Better Stack leverages ClickHouse for lightning-fast log search and handling high-volume telemetry data as the core of their commercial logging product. Better Stack Community ClickHouse 2025
59 Uber and Cloudflare shifted to ClickHouse for log analytics, with Cloudflare's ClickHouse case study being one of the most referenced large-scale production deployments. ClickHouse Blog / Cloudflare Blog ClickHouse 2021–2025
60 Grafana Loki's fundamental difference: indexes only metadata (labels), not log content. This reduces storage costs dramatically but makes arbitrary full-text search 1000x slower than Elasticsearch for "needle in haystack" queries. SigNoz Blog – Loki vs ES Loki 2025
61 "Loki provides very poor performance for 'needle in the haystack' queries that search for some unique word or phrase over large volumes of logs, because it needs to read, unpack and then scan all the log messages for the given word or phrase." ITNEXT Article Loki 2025
62 Loki never builds an inverted index of log content. A query for "OutOfMemoryError" does a distributed grep across matching chunks, trading CPU on query time for massive storage savings. Plural.sh Blog Loki 2025
63 Arquivei replaced Elasticsearch with Grafana Loki, documenting their journey of adopting a new logging solution for cost and operational simplicity. They cited Loki's Grafana integration and storage efficiency as the main drivers. Medium / Engenharia Arquivei Loki 2024–2025
64 High cardinality is the number one killer of Loki performance: "If the number of unique label combinations grows unbounded, you have a label cardinality problem — someone may have added a dynamic label like request_id or user_id." Dev.to Production Loki Loki 2025
65 Ingester OOM is a documented and recurring Loki production issue: "More chunks correlate with memory usage, and if chunks grow faster than flushes, ingesters will OOM." The WAL process can cause the node to get stuck and fail to rejoin the ring. Grafana Loki GitHub Issues #5267, #11619, #11474 Loki 2025
66 Loki 3.5.1 on AKS has a zone-aware replication autoscaling bug: scaling down doesn't properly remove the ingester from the ring, requiring manual intervention to resolve. Grafana Loki GitHub Issue #17822 Loki 2025
67 Loki write pods have been documented to not scale down properly, with local disk space becoming full. The ruler's embedded query engine is single-threaded, meaning rules are not split, sharded, or accelerated like regular queries — creating bottlenecks. Grafana Loki GitHub Issues Loki 2024–2025
68 Production Loki deployment processing 1.16 TB/day (34,000 lines/second) runs in distributed mode on EKS. Key insight: each Loki component has a different bottleneck (CPU, memory, I/O, or network) requiring independent scaling decisions. Dev.to Production Loki Loki 2025
69 Loki's ruler embedded query engine is single-threaded. Rules are not split, sharded, or otherwise accelerated like regular Loki queries, which can create bottlenecks in production scaling scenarios at high alert rule counts. Grafana Loki Docs – Scalability Loki 2025
70 Loki January 2025 Community Call focused on best practices for scaling Loki components to meet production demands when running in microservices mode. Partitioning by role (ingester, distributor, querier) is recommended over monolithic deployments. Grafana Community Forum Loki Jan 2025
71 Increasing Loki stream limits to accommodate high cardinality labels "can result in Loki flushing extremely high numbers of small files which will make for extremely poor query performance." The tradeoff is between memory usage and query efficiency. OneUptime Blog – Loki Label Cardinality Loki 2025
72 Loki 3.0 introduced bloom filters as experimental feature. Loki 3.1 enhanced query performance with bloom filters. Loki 3.3 extended bloom filters to structured metadata. As of Loki 3.4, bloom filters remain experimental with ongoing fixes. Grafana Labs Blog Loki 2024–2025
73 Loki 3.0 introduced pattern match filter operators for LogQL that are "10x faster than using regex." Native OpenTelemetry support was also added. Grafana Labs Blog – Loki 3.0 Loki Apr 2024
74 Loki 3.4 introduces standardized storage and unified telemetry (InfoQ, Mar 2025). TSDB (introduced in Loki 2.8) is the recommended schema for all new Loki deployments, storing indexes alongside chunks in object storage. InfoQ – Loki v3.4 Loki Mar 2025
75 TSDB Dynamic Query Sharding in Loki aims for 300–600 MB of data per query shard, based on experience operating many Loki clusters. This is a heuristic-based approach tuned from real production data. Grafana Loki Docs – TSDB Loki 2025
76 Loki's query language (LogQL) is designed for label-based filtering, not multi-dimensional aggregations. "Elasticsearch's Query DSL enables advanced aggregations, correlations, and anomaly detection" that Loki cannot match. SigNoz Blog – Loki vs ES Loki 2025
77 Loki is an ideal fit for large Kubernetes clusters where log volume is high and retention is long, integrating naturally with Grafana for correlating metrics and logs. However, for security logs, compliance, and full-text search, Elasticsearch remains superior. KubeBlogs Loki 2025
78 ELK Stack requires coordinating three separate components (Elasticsearch, Logstash, Kibana) each with its own operational model. Elasticsearch clusters require careful planning around node roles, shard allocation, replication, and storage classes — significantly more complex than Loki's architecture. Wallarm Blog Loki 2025
79 Grafana Labs transitioned core projects (Grafana, Loki, Tempo) to AGPLv3, creating a legal hurdle for enterprises concerned with protecting proprietary modifications. Enterprise features (security, governance, auth) require a paid Grafana Enterprise license. Sirius Open Source Blog Loki 2025
80 Grafana Cloud Pro includes 50 GB of logs, 50 GB of traces, and 10K active series before usage-based billing starts. Enterprise starts at $25,000/year custom commitment. Full SRE cost for self-hosting Loki: $150K–$300K+/year. Grafana Pricing Loki 2025
81 GitHub issue documents Loki simple-scalable mode query performance: "No Query-Splitting: Loki query performance very slow or timing out in simple-scalable mode" — indicating query splitting configuration is essential for production query reliability. Grafana Loki GitHub Issue #19134 Loki 2025
82 Recommended Loki caching in production: Memcached deployed as separate components (memcached_frontend and memcached_chunks), using memcached:1.6.32-alpine as of Feb 2025. Index caching is not required for TSDB format (a simplification over BoltDB-shipper). Grafana Loki Docs – Caching Loki 2025
83 Amazon S3 Vectors reached GA on December 2, 2025, providing native vector storage at cloud scale. In the first 4 months of preview: 250,000+ vector indexes created, 40B+ vectors ingested, 1B+ queries performed. AWS Blog AWS S3 Dec 2025
84 S3 Vectors GA supports up to 2B vectors per index (40x increase from 50M in preview) and 20T vectors per bucket. Frequent query latency: 100ms or less. Infrequent query latency: under 1 second. AWS Blog – S3 Vectors GA AWS S3 Dec 2025
85 S3 Vectors available in 14 AWS Regions at GA (up from 5 in preview). Positions native object storage as increasingly capable for search workloads — validating the S3-native architecture direction Quickwit pioneered for log search. AWS Blog – S3 Vectors GA AWS S3 Dec 2025
86 mpathic migrated from Elasticsearch to ClickHouse Cloud and built better ML workflows. The migration enabled SQL-based analytics over their corpus with lower operational overhead than maintaining Elasticsearch clusters. ClickHouse Blog – mpathic ClickHouse 2025
87 Poizon (Dewu) rebuilt their data platform with ClickHouse Enterprise Edition for observability, achieving high-performance analytics over their production log and metrics data. ClickHouse Blog – Poizon ClickHouse 2025
88 A community engineer reported transforming observability with Quickwit: "How Quickwit Transformed Our Observability Game and Saved Us Big Bucks" — citing storage cost savings as the primary driver for choosing Quickwit over Elasticsearch. Medium – Noble Varghese Quickwit 2024–2025
89 GreptimeDB benchmark: GreptimeDB achieved 120,000 log lines/second ingestion — 3x faster than Elasticsearch — demonstrating the headroom that columnar/purpose-built log stores have over Elasticsearch for write throughput. Medium – GreptimeDB ClickHouse/ES 2025
90 The Road to Loki 4.0 (June 2025 Community Call): Grafana is working toward major architectural improvements in Loki 4.0. Signaling continued investment in Loki as a production-grade platform despite current limitations. Nicole Van Der Hoeven Blog Loki Jun 2025

Key Themes by Product

Quickwit

  • Strengths: 90% cost reduction vs Elasticsearch for log/trace workloads; true S3-native stateless architecture; Rust efficiency; OpenTelemetry native; ES API compatible
  • Weaknesses: Cold query latency (S3 round-trips); no ML/fuzzy/scoring; append-only only; PostgreSQL metastore as SPOF risk; low QPS ceiling; community much smaller than ES
  • Risk: Datadog acquisition (Jan 2025) — future open-source commitment uncertain despite Apache 2.0 pledge

ClickHouse

  • Strengths: 4–30x query speed vs ES; 5–11x cheaper infrastructure; full SQL; native replication; now has GA full-text search; SharedMergeTree on S3 in cloud
  • Weaknesses: Requires batched inserts; schema decisions hard to change; ZooKeeper/Keeper complexity at scale; requires Kibana customization or HyperDX; still not pure S3-native (cloud only for SharedMergeTree)
  • Risk: At extreme scale (30PB+) single cluster management becomes difficult; Kwai migrated away to Apache Doris

Grafana Loki

  • Strengths: Very low storage cost; excellent Kubernetes integration; Grafana ecosystem; metadata-only indexing simplicity; TSDB now GA
  • Weaknesses: Full-text search is ~1000x slower than ES; ingester OOM is common production issue; high cardinality kills performance; LogQL less expressive than ES Query DSL; ruler is single-threaded; bloom filters still experimental
  • Risk: AGPLv3 license for enterprise use; advanced features locked behind Grafana Enterprise ($25K+/year)

Sources: