G
G
gh0sty2019-10-13 14:00:07
Django
gh0sty, 2019-10-13 14:00:07

How to choose a server for a django project?

I've read a lot about django specs, but mostly 10-14 articles.
I found out that it eats very little RAM (up to 100MB per project).
What you need to pay attention to the processor when choosing a server. But how much on average is unknown.
Everyone is also deploying on Ubuntu 16.04.
Share the data, how much on average do you eat projects?
And are there fundamental differences in deployment on Ubuntu 16 and 18?

Let's say I have views - for a thousand lines. Models for 1.5k lines. 10 templates of 300-400 lines each (processed 1.5-2k lines, a lot of ajax), external packages - almost zero. Is 512MB of RAM and 2000MHz enough for me to just start? How much offhand will it take if there are 300, 3k, 30k users per day (rich customer)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-10-13
@gh0sty

It depends on what kind of functionality is in the project, under what loads it works, and how well the programmer wrote the code. With absolute certainty, I can only state that an online store with 200,000 products in the catalog can handle 300 rps on one core and with 512 Mb of RAM. If the DBMS is not running on the same host, of course.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question