DigiNews

Tech Watch by Johan Denoyer

← Back to articles

120,000 Lines of Rust: Inside the Nosdesk Backend

Quality: 8/10 Relevance: 9/10

Summary

Nosdesk backend focuses on a Rust-based stack (Actix-web, Diesel, Redis, Tokio) growing to about 120k lines across ~260 modules with ~1,030 tests. The article outlines architectural decisions to push safety into the type system, separate pure logic from I/O, and document decisions with comments. It covers bootstrap streaming, Postgres-backed sync, live push via NOTIFY, Server-Sent Events for real-time updates, CRDT-based collaboration, and robust reliability and security practices.

🚀 Service construit par Johan Denoyer