Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3665142
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:43:33+00:00 2026-05-19T01:43:33+00:00

I just finished what I would call a small django project and pretty soon

  • 0

I just finished what I would call a small django project and pretty soon it’s going live. It’s only 6 models but a fairly complex view layer and a lot of records saving and retrieving.

Of course, forgetting the obvious huge amount of bugs that will, probably, fill my inbox to the top, what would it be the next step towards a website with best performance. What could be tweaked?

I’m using jmeter a lot recently and feel confident that I have a good baseline for future performance comparisons, but the thing is: I’m not sure what is the best start, since I’m a greedy bastard that wants to work the least possible and gather the best results.

For instance, should I try an approach towards infrastructure, like a distributed database, or should I go with the code itself and in that case, is there something that specifically results in better performance? In your experience, whats pays off more?

As a personal contribution: I sometimes have the impression that some operations, when done through django’s signals, are faster then the usual view way. But hey, I’m biased. I freaking loooove signals. 🙂

Personal anecdotes like mine, are welcome as a way to stimulate some research, but some fact based opinions are much more appreciated. 🙂

Thanks very much.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T01:43:34+00:00Added an answer on May 19, 2026 at 1:43 am

    here is what we did…

    1. used django-debug-toolbar to analyze performance of each page (# of queries and response times)
    2. used Django cache framework…most importantly memcache
    3. used Firebug‘s pagespeed to optimize HTTP page loads
    4. used Google Analytics for general site usage stats (find out what’s being used)
    5. used Apache HTTP server benchmarking tool for quick performance stats

    In general, don’t try to optimize performance up front. First, collect usage/performance stats, then pick off the most rewarding changes (effort vs. benefit) until you get decent results. The goal should be to avoid unnecessary complexity (distributed databases, etc)

    Then, if you still aren’t happy, consider these (in order): more RAM (goes a long way), a dedicated database server, load balancing multiple app servers (using perlbal, etc), a dedicated media server, etc…see these for more details (deployment guide, performance tips)

    good luck…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just finished the Django tutorial and started work on my own project, however,
I've finished a personal project now just going through my code cleaning things up.
I've just finished a functional piece of code and would like to upload it
So I'm a fairly decent javascript programmer and I've just recently finished working on
I just finished coding my first jquery ajax call page. It calls a php
I just finished installing Panda3d on my Mac, a 3d Python game engine, but
ActionScript 3, just learning AS3 but know a handful of other languages. What would
Just finished reading this blog post: http://www.skorks.com/2010/03/an-interview-question-that-prints-out-its-own-source-code-in-ruby/ In it, the author argues the case
Just finished up my first mvc4 app. Everything is working great until I deploy
Just finished reading Jon Skeet's article about events and delegates and got a question.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.