Jacob Kaplan-Moss
Activity tagged “performance”
Bookmarks
IP Failover - Setup and Installing Heartbeat - The Rackspace Cloud — Cloud Servers Knowledge Base
A good explanation of setting up simple IP failover with Heartbeat and HAproxy.
High-end Varnish-tuning « Kristian's web log
Some tips on tuning Varnish - up to 27k req/s on a single 2.2GHz Opteron!
Database test: dual Intel Xeon 5160 (6/6) | Tweakers.net
Comparing MySQL 4, MySQL 5, and Postgres 8. Don't pay too much attention to the numbers, but notice the shape of the graphs. MySQL does worse after about 7-10 concurrent queries, but Postgres gets the same throughput at 10 concurrent requests as it does at 100.
Josh Berkus: Finding Useless Indexes
“PostgreSQL 8.3, by improving the Stats system, has made it very easy to find your useless indexes. These are indexes which aren't being used by any regular query, and don't enforce a constraint. Unneeded indexes cost you in several ways: they slow updates, inserts and deletes; they may keep HOT from updating the row in-place, requiring more VACUUMs; they take time to VACUUM; they add to query planning time; they take time to backup and restore. So we want to get rid of them. ”
Aeracode :: Denormalisation Follies
Andrew's implementation of a “denormalized field” for Django. There's a bit I don't get about the implementation — factory functions? really? — but this is a Good Idea and ought to only get better.
Tuning Your PostgreSQL Server - PostgreSQL Wiki
Finally a good guide to tuning Postgres straight from the source.
Spawning + Django - Eric Florenzano's Website
Is Spawning Python's answer to Mongrel?
RubyForge: Starling: Project Info
Hells yeah! I heard about this a while back, and have been hoping it would get open-sourced. Fantastic.
StaticGenerator for Django
A cool idea: pre-bake static pages generated by Django. Sometimes simple is better.
The Hand of FuManChu - Storm, SQLAlchemy, and Geniusql
Not sure about the quality of the benchmarks, but I'd nevertheless still like to see how Django stacks up here. Not very well I'd imagine, but Django's always been an 80% ORM anyway, so 80% of the performance would be just *fine* with me.
Wikipedia: Site internals, configuration, code examples and management issues (PDF)
Loads of information about the tech behind Wikipedia. I've become convinced that the only sane way to design scalable systems is by studying the trials and tribulations of others.
HAProxy - The Reliable, High Performance TCP/HTTP Load Balancer
Another load balancer; heard good things about this one.
Efficient SQL
Greg Mullane's complete talk on optimizing postgresql. Looks like a few things have changed since 2003 (7.3 —> 8.2), but this still seems *very* relevant.
EXPLAIN plan Operators
Ridiculously in-depth explanation of what PostgreSQL means when you ask it to EXPLAIN. This is probably the only place this information lives.
Peter Van Dijck’s Guide to Ease » Blog Archive » The top 10 presentations on scaling websites: twitter, Flickr, Bloglines, Vox and more.
A *great* roundup of ten presentations on scaling: Twitter, Flickr, LiveJournal, Vox, Bloglines, last.fm, and SlideShare.
pktstat
Like top, but for network usage. Highly recommended.
Ganglia Monitoring System
“Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids.”
5 Question Interview with Twitter Developer Alex Payne
“All the convenience methods and syntactical sugar that makes Rails such a pleasure for coders ends up being absolutely punishing, performance-wise.” That, right there, is why Django is written the way it is.
Wackamole: use your resources
IP load balancer with a great name.
Varnish - Trac
“Varnish is a state-of-the-art, high-performance HTTP accelerator.”
Django profiling with hotshot and kcachegrind
Whoa, cool!
Alrond | The performance test of 6 leading frameworks
Yet another benchmark of web frameworks, and yet another win for Django (this time it comes out around 3x faster than any of the alternatives).
Efficient JavaScript
Great hints - saved my butt getting the javascript for the djangobook site working faster.
Framework Performance in Ruby on Rails
A relatively through comparison between the speed of Symfony, Rails, and Django. Turns out Django's around 30% faster than Rails.
Zed on Ruby, Rails, Mongrel, and More - O'Reilly Ruby
Contains the best definition of “Enterprise Ready” I've ever read.
Entries
Django performance tips
Django handles lots of traffic with ease; Django sites have survived slashdottings, farkings, and more. Here are some notes on how we tweak our servers to get that type of high performance.