Company: Yandex Taxi Technologies
Exploring Hot Paths: Using Rust Libraries in Python
Python in backend development has weaknesses and strengths. The weaknesses often include low performance in general or RPS per core. But you don't necessarily have to rewrite your entire microservice to another language to improve performance. When algorithmic optimizations are no longer enough, you can search for hot paths and rewrite functions in a compilable language. The options include C, C++, Cython, Numba, etc., but in this report we will focus on Rust, which is popular today.