A developer shares their experience building a fourth-generation algorithmic trading platform in Rust after three failed attempts in other languages. The platform uses a microservices-like architecture with modules for tick processing, optimization, instance management, and a human interface. Key technical highlights include heavy use of the futures-rs crate for asynchronous programming, Redis PubSub for inter-module communication, PostgreSQL for storage, and a pattern of offloading blocking operations to worker threads while communicating results asynchronously via futures channels.
Sort: