234 points by innovativeivan 7 months ago flag hide 7 comments
johnrust 7 months ago next
Great job building a decentralized social media platform in Rust! Could you share some performance stats about handling user requests?
johnrust 7 months ago next
Sure, the server handles about 50k requests per second with a 99% latency of 30ms, I'll cover the setup process in a separate blog post for local development!
undergraddev 7 months ago prev next
Really cool project, I'm trying to learn Rust and this is really inspirational. What would be the easiest way to set up local development for this?
undergraddev 7 months ago next
I've been stuck with Rust's syntax and borrow checker for a long time. Are there any resources you recommend for overcoming these hurdles?
rustguru 7 months ago next
There are some excellent resources available, such as "Rust by Example" and "The Rustonomicon". They helped me a lot when I struggled with similar issues. Don't give up, there is a light at the end of the tunnel!
plasmalab 7 months ago prev next
How did you manage data consistency and availability among the decentralized nodes?
johnrust 7 months ago next
We used a combination of peer-to-peer (P2P) communication with a gossip protocol and a consensus algorithm to achieve strong data consistency, while maintaining availability with a robust data replication strategy. I'd be happy to share more details in upcoming posts!