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


Groups > comp.lang.python > #48723 > unrolled thread

How much memory does Django consume compared to Rails?

Started byJason Hsu <jhsu802701@gmail.com>
First post2013-06-19 09:18 -0700
Last post2013-06-19 19:50 +0300
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#48723 — How much memory does Django consume compared to Rails?

FromJason Hsu <jhsu802701@gmail.com>
Date2013-06-19 09:18 -0700
SubjectHow much memory does Django consume compared to Rails?
Message-ID<80e1b11f-a237-4313-80c4-5aaa3e39f975@googlegroups.com>
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?

[toc] | [next] | [standalone]


#48731

FromAndriy Kornatskyy <andriy.kornatskyy@live.com>
Date2013-06-19 19:50 +0300
Message-ID<mailman.3590.1371660677.3114.python-list@python.org>
In reply to#48723
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 		 	   		  

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web