Python

Python call async from sync

Python call async from sync

There is a known issue in Python - you have to choose between sync and async code models. And if you are using async code you can call sync code but from that code you CAN’T call async code again. Why does this problem occur? The event loop used by the async code is already stuck waiting for the result from the sync code. And if you want to call async code now, you cannot reuse the same event loop.
Travel Industry B2B/B2C solution

Travel Industry B2B/B2C solution

🚆✈️🚌🛳 + Math + Highload + Machine Learning… Two and a half years ago we’ve got a request from the Travel-business IT company, whose B2C IT solution is the basis for one of the world’s largest travel companies that serves over 1 billion passengers every year. What did they want to achieve? They wanted to quickly design and implement an “internal startup” - an innovative B2B/B2C solution for the travel industry.