Hacker News new | ask | show | jobs
by parthdesai 860 days ago
After a certain scale, it actually does start to slow you down

https://discord.com/blog/using-rust-to-scale-elixir-for-11-m...

2 comments

This is a great engineering blogpost. Other good ones from Discord on scaling (elixir, rust, cassandraDB vs. scyllaDB:

- https://discord.com/blog/how-discord-scaled-elixir-to-5-000-... — continually improving elixir

- https://discord.com/blog/how-discord-stores-trillions-of-mes... — moving to scyllaDB

That was an excellent write up. And great case study in how to iteratively approach a performance problem. First address the algorithmic issues. Then once the algorithm is no longer the bottleneck, look into dropping into a higher performance, lower overhead language like Rust. Jumping directly to Rust with the original algorithm, would not have helped much. And in the general case, getting the algorithm right might make dropping down into Rust unnecessary.

Very nice work.