[three]Bean
Fedora Badges Optimizations
Sep 10, 2013 | categories: fedora, badges View CommentsThe latest release of tahrir (the Fedora Badges web frontend) includes a parade of optimizations. In my local tests, almost all page loads are 50 times faster.
As the number of users and badges in the system grew, performance got worse and worse. There were some so-called n+1 queries in there where page loads would scrape over the whole DB counting everyone's badges before responding.
That stuff has been removed; the badges site should be much snappier now (same goes for the the JSON API employed by Fedora Mobile).