Topic · 4 posts
Databases & data pipelines
Query plans, stream processing, search and data modeling: where data gets lost, counted twice or slow.
Exactly-once doesn’t come for free: Kafka, Flink and ClickHouse
Where an event pipeline loses or double-counts data: idempotency keys claimed too early, sink buffers outside checkpoints, and materialized views.
· 9 min read
Time in Apache Flink: watermarks, idle partitions, state TTL and replay
Silently dropped late events, a quiet partition stalling every window, TTL on the wall clock, and processing-time timers that break deterministic replay.
· 7 min read
Vietnamese search in Elasticsearch: diacritics, n-grams and filter order
Accent-insensitive Vietnamese search: asciifolding, why stopwords must come before it, n-grams for partial codes, search_after paging and rebuildable indexes.
· 7 min read
Modeling hospital procurement bidding: graduation project lessons
A ~30-step public bidding process in software: one record from proposal to acceptance, JSON phases with defaults, and acceptance as one transaction.
· 10 min read