A
A
Alexander Pikeev2020-07-01 11:15:41
Python
Alexander Pikeev, 2020-07-01 11:15:41

Using Python for Highload Services?

Hello. On the Internet, there is an opinion that python is slow, and is suitable only for small scripts, but not for highly loaded services. Then why do YouTube, Instagram and other large companies use it?
I also heard that the backing of the telegram is in python. But whether this is true, I don't know.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2020-07-01
@Baryon

What you listed is networking software, and networking software has I/O overheads such that the execution overheads are negligible compared to them. If the programmer is not a krivorukov, then there is simply no significant difference in the performance of individual services in Python, Java or C ++. The architecture of the entire system, and not the language of implementation of individual subsystems, is of decisive importance in the highload.

C
cython, 2020-07-01
@cython

The backend of large services consists of various parts written in different languages. You can read about microservice architecture.
For example:
Some parts of the site that have a high load are made on js / go. And not such loaded parts are made in python/php/ruby.

D
Dr. Bacon, 2020-07-01
@bacon

"Highload services" usually have several PLs, rewriting from one to another is also practiced. One of the main criteria is what the team knows how to cook better. It is clear that a cool team of php's will do something very poorly in other languages ​​and vice versa.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question