Reputation: 1013
I have normal Content Management Website developed in Django. My Client has a server with 256 MB RAM
. He wants to deploy this site in wsgi mode. 256 MB RAM is sufficient or not?
I don't have any knowledge about Server RAM requirements and all. Any help will be appreciated
I have gone through this doc of wsgi But it doesn't have any info about system Specifications.
What is the minmum RAM needed for running a Django application in wsgi mode?
Upvotes: 0
Views: 2062
Reputation: 58543
How much memory you need depends on how many instances of the web application you intend to run at the same time. How many you need is going to be dictated by factors such as whether your code base is thread safe and so whether you can run it in a multithreaded configuration, or whether you will have to run a multi process configuration with single threaded processes.
So, do you even know how much memory one instance (process) uses when it is running your application?
The underlying web server has very little to do with memory used, because your application is going to totally dwarf how much memory the web server uses.
Some quick tips.
Only once you have some real data about your applications memory requirements, how much load you need to handle and the response times of your application will you be able to work out the configuration and how much memory you need.
Upvotes: 3
Reputation: 24324
256MB does not seem realistic at first for CMS type of workload unless there is very little traffic and the operating system is striped down to the minimum needed.
Here is some data: http://nichol.as/benchmark-of-python-web-servers
Upvotes: 1