Search engine internals
indexly + Indexify
A from-scratch search engine in Rust — inverted index, Simple9 compression, BM25 retrieval — powering Indexify, a terminal app for searching local PDF, Markdown and DOCX files. Installable via Homebrew.
Rust · Metal · Ratatui · BM25 · Simple9
Event loops and FFI
fast_kv, on pollio + chaintable
A Redis-compatible key-value store composed from two published crates: pollio, a unified epoll/kqueue abstraction over unsafe libc FFI, and chaintable, O(1) uniform-random key sampling via a dense side index.
Rust · epoll · kqueue · libc · RESP · SIMD
Concurrency
Parallel Chess
A distributed multiplayer chess server with optimistic concurrency, Valkey sharding, and a correctness-oracle load-testing harness. The write-up was shared on Hacker News, lobste.rs and r/rust.
Rust · Axum · Valkey · MongoDB
Inference serving
PhotoPrism MLOps: Semantic Photo Search with Continuous Learning
CLIP ViT-B/32 retrieval over Qdrant HNSW, reranked by a LoRA-tuned Qwen2-VL-2B that retrains from click feedback. Under 400ms end to end with GPU reranking active, trained on a 31,783-image dataset I published.
Python · PyTorch · CLIP · Qwen2-VL-2B · LoRA (PEFT) · Qdrant · Kubernetes · Chameleon Cloud · MLflow · FastAPI · Prometheus
Pre-training on H200s
Chinchilla-Optimal Transformer Pre-training for Music
Decoder-only Transformers (NanoGPT) trained on the Lakh MIDI Dataset, tuned for throughput with BFloat16, Flash Attention and torch.compile. Test perplexity 2.20 with 100% syntactically valid output.
Python · PyTorch · CUDA · Flash Attention
Benchmarking
libprocessing: perf suite for processing_render
Benchmarks for the Processing Foundation's Rust + Bevy renderer: deterministic CPU benches for tessellation, mesh generation and command flushing, p50–p99 reporting, and CI gates that fail on sustained regressions, not noise.
Rust · Bevy · WebGPU · Criterion · CodSpeed