S
S
senya_jan2017-07-06 15:52:26
Python
senya_jan, 2017-07-06 15:52:26

Is it worth it to do the entire server part on express js?

mysql database. I want to use express.js on the server. How bad is a memory leak problem?
The server is required to get data from the database and send it to the client in json format.
Previously, I used python for such tasks.
I wanted to consider the js option, since it is inconvenient to constantly switch from one language to another (back-end -- front-end)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Edward, 2017-07-06
@senya_jan

According to the experience of a moderately loaded project, 100-1000 API requests per minute,
having 2 services in Python and NodeJS, we got that, in principle, everything works fine.
Restarting the server when it crashes is necessary in any case, regardless of whether it is python or nodejs.
In nodejs, use nodemon or forever for this for example.
P.S. Naturally, work with the database is many times more active than queries, moreover, there are several databases.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question