0
0
0x24DA2019-12-13 15:04:46
Python
0x24DA, 2019-12-13 15:04:46

Does MongoDB run in multithreading?

Hello everyone, such a question.
I want to switch from SQL to mongodb, how is multithreading achieved in mongodb?
That is, the task is this:
I work with flask and gunicorn, that is, my applications are running in several threads and requests can come at one moment, how is this problem solved in mongodb?
And is it possible to open many connections to the database at the same time?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IDONTSUDO, 2019-12-13
@IDONTSUDO

1 time you open and there is a data transfer via TCP / IP.
run in several threads and requests can come at the same time
Well, or it runs every time your server is bootstrapped.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question