Search Articles — Sudonull

Search Results

In this project

MergeTree in ClickHouse: granules, parts, and sparse index

https://sudonull.com/mergetree-in-clickhouse-granules-parts-and-sparse-index

MergeTree structure using a bids table example: part, granule, mark, merge of parts, ORDER BY vs PRIMARY KEY, partitioning, EXPLAIN indexes, partition management.

ruGPT3XL with 8k context: sparse attention

https://sudonull.com/rugpt3xl-with-8k-context-sparse-attention

Expansion of ruGPT3XL to 8k tokens via sparse attention and fine-tuning. PPL 13.00 on gazeta, Triton/SDPA optimization ×1.85. Instructions for developers.

Architecture for 9 trillion records on a server

https://sudonull.com/architecture-for-9-trillion-records-on-a-server

Learn how to store trillions of Milky Way stars in sparse files with Z-encoding. Scalable system without indexes for middle/senior dev. Implement it yourself.

Speeding up regex search with trigrams in Cursor

https://sudonull.com/speeding-up-regex-search-with-trigrams-in-cursor

Local indexing of trigrams and sparse n-grams speeds up code search for AI agents. Reducing time from 15s to milliseconds in large repositories. More details for developers.

ORDER BY and PRIMARY KEY in ClickHouse: index selection

https://sudonull.com/order-by-and-primary-key-in-clickhouse-index-selection

How to correctly choose ORDER BY in ClickHouse: sparse index, column cardinality, equality vs range, verification via EXPLAIN. Rules and examples for gambling.

Trending Now