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?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <andriy.kornatskyy@live.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.048
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'subject:Django': 0.03; 'django.': 0.05; 'deployed': 0.07; 'x86': 0.07; 'subject:How': 0.10; 'python': 0.11; 'django': 0.11; 'low.': 0.16; 'rails,': 0.16; 'server:': 0.16; 'wed,': 0.18; 'replacing': 0.19; 'memory': 0.22; 'to:name:python-list@python.org': 0.22; 'frameworks': 0.24; 'header:In-Reply-To:1': 0.27; 'skip:- 40': 0.29; 'compared': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'consumption': 0.31; 'drupal': 0.31; 'rails': 0.31; 'there.': 0.32; 'url:python': 0.33; 'date:': 0.34; 'but': 0.35; 'from:addr:live.com': 0.36; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'application': 0.37; 'two': 0.37; 'email addr:python.org': 0.37; 'to:addr:python-list': 0.38; 'planning': 0.38; 'does': 0.39; 'subject:': 0.39; 'hosted': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'email addr:gmail.com': 0.63; 'developed': 0.63; '8bit%:10': 0.64; 'email name:python-list': 0.65; 'relatively': 0.65; 'world': 0.66; 'lightweight': 0.84; 'passenger': 0.84; 'rack': 0.84; 'subject:much': 0.91; 'charset:windows-1251': 0.95; '2013': 0.98
X-TMN [0CHsLr8uwMgUWBYIUzmebgXklMChzxGdMUSuDS4Qrqk=]
X-Originating-Email [andriy.kornatskyy@live.com]
From Andriy Kornatskyy <andriy.kornatskyy@live.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: How much memory does Django consume compared to Rails?
Date Wed, 19 Jun 2013 19:50:09 +0300
Importance Normal
In-Reply-To <80e1b11f-a237-4313-80c4-5aaa3e39f975@googlegroups.com>
References <80e1b11f-a237-4313-80c4-5aaa3e39f975@googlegroups.com>
Content-Type text/plain; charset="windows-1251"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 19 Jun 2013 16:50:09.0050 (UTC) FILETIME=[0ECAD7A0:01CE6D0D]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3590.1371660677.3114.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371660677 news.xs4all.nl 15930 [2001:888:2000:d::a6]:54838
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48731

Show key headers only | 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