top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How much memory does Django consume compared to Rails?

0 votes
495 views

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?

posted Jun 19, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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
answer Jun 19, 2013 by anonymous
Similar Questions
0 votes

Can anyone help me to generate SQL query from Django query

  • Like below:

Employee.objects.all() => select * from employee

0 votes

I'm new to Django. Is there any tell how to add a limit filter in Django?

0 votes

I'm new to python and Django projects. Can anyone guide me with the steps for Django deployment?

+1 vote

Hi,

Please, I'm working on a dashboard project and so far I am facing challenges when it comes to writing functions for my views.

The difficulty here is, how do I write functions for different parts on a template.

For instance, I want to write a function that takes a user to his profile. How do I do that?

So far this is what I came up with:

@login_required
def show_profile:
  if request.method ==GET:
   return(render, '/profile.html/')
  else:
   return (render, '/login.html/')
+1 vote

Anyone can explain how to delete or alter existing table in database?

...