Jacob Kaplan-Moss

30 items tagged “performance”

📌 Squeezing every drop of performance out of a Django app on Heroku #
📌 Running a High Traffic Rails App on Heroku’s Performance Dynos — STARTUPS + WANDERLUST + LIFE HACKING — Medium #
📌 The USE Method #
📌 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. #

📌 Rate limiting with memcached

Simon’s simple rate limiter for Django. Make sure to read the comment thread: there’s some really good discussion of some of the tradeoffs there. #

📌 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 #
📌 Greg Smith's Note Magnet: Automating initial postgresql.conf tuning

Preliminary work on an automatic tuning tool for PostgreSQL. This is a pretty big deal: a good postgresql.conf translates into major performance gains, but getting things just right can be quite confusing. #

📌 Trbs.net blog | Added kcachegrind support to runprofileserver

django-command-extensions now sports KCacheGrind-compatible output. Awesome. #

📌 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. #