github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2012-12-01 11:42 pm

[dreamwidth/dw-free] 24bd9e: Optimize esn-filter-subs

Branch: refs/heads/release-1.12
Home: https://github.com/dreamwidth/dw-free
Commit: 24bd9ece3f451aabf7e0be187e032efe99fb8438
https://github.com/dreamwidth/dw-free/commit/24bd9ece3f451aabf7e0be187e032efe99fb8438
Author: mark <mark@dreamwidth.org>
Date: 2012-12-01 (Sat, 01 Dec 2012)

Changed paths:
M cgi-bin/LJ/ESN.pm

Log Message:
-----------
Optimize esn-filter-subs

This method was loading every user one by one, and every
subscription. Now it loads things in bulk, which makes the database
happier.

As a data point: prior to this, our database was doing north of 1000
queries per second in this codepath. Now it does 10.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org