Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48731

RE: How much memory does Django consume compared to Rails?

From Andriy Kornatskyy <andriy.kornatskyy@live.com>
Subject RE: How much memory does Django consume compared to Rails?
Date 2013-06-19 19:50 +0300
References <80e1b11f-a237-4313-80c4-5aaa3e39f975@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3590.1371660677.3114.python-list@python.org> (permalink)

Show all headers | View raw


A memory consumption by python web frameworks is relatively low. A `typical` web site developed using wheezy.web (a lightweight full-featured web framework) consumes about 14-23 Mb per worker on x86 platform. The django is not far from there.

A minimal django hello world application hosted in uWSGI application server:
11Mb master + N * 9.4Mb per worker

Andriy

----------------------------------------
> Date: Wed, 19 Jun 2013 09:18:11 -0700
> Subject: How much memory does Django consume compared to Rails?
> From: jhsu802701@gmail.com
> To: python-list@python.org
>
> I have deployed two Ruby on Rails sites on WebFaction, and Passenger Rack takes up around 60 MB of memory apiece.
>
> I was planning on replacing my Drupal web sites with Rails, but I'm now considering replacing these Drupal sites with Django. Given that the baseline memory consumption for a Rails site is around 60 MB, how would a Django site compare?
> --
> http://mail.python.org/mailman/listinfo/python-list 		 	   		  

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How much memory does Django consume compared to Rails? Jason Hsu <jhsu802701@gmail.com> - 2013-06-19 09:18 -0700
  RE: How much memory does Django consume compared to Rails? Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2013-06-19 19:50 +0300

csiph-web