DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Replacing a 3 GB SQLite database with a 10 MB FST (finite state transducer) binary

Quality: 8/10 Relevance: 9/10

Summary

The post documents replacing a 3 GB SQLite database used for a Finnish-English dictionary with a 10 MB FST-based binary, achieving a ~300x memory reduction. It explains the shift from a trie-based in-RAM data structure to a static Rust/FST solution and discusses the trade-offs and implications for search performance and memory usage. It also references Rust, the fst crate, and related tooling.

🚀 Service construit par Johan Denoyer