impress/app/models
Matchu 9e3cac82ec use proxies for item html, too
Some lame benchmarking on my box, dev, cache classes, many items:

No proxies:
    Fresh JSON:  175,  90,  90,  93,  82, 88, 158, 150, 85, 167 = 117.8
    Cached JSON: (none)
    Fresh HTML:  371, 327, 355, 328, 322, 346 = 341.5
    Cached HTML: 173, 123, 175, 187, 171, 179 = 168

Proxies:
    Fresh JSON:  175, 183, 269, 219, 195, 178 = 203.17
    Cached JSON:  88,  70,  89, 162,  80,  77 = 94.3
    Fresh HTML:  494, 381, 350, 334, 451, 372 = 397
    Cached HTML: 176, 170, 104, 101, 111, 116 = 129.7

So, overhead is significant, but the gains when cached (and that should be
all the time, since we currently have 0 evictions) are definitely worth
it. Worth pushing, and probably putting some future effort into reducing
overhead.

On production (again, lame), items#index was consistently averaging
73-74ms when super healthy, and 82ms when pets#index was being louder
than usual. For reference is all. This will probably perform
significantly worse at first (in JSON, anyway, since HTML is already
mostly cached), so it might be worth briefly warming the cache after
pushing.
2013-06-26 23:50:19 -07:00
..
item use proxies for item html, too 2013-06-26 23:50:19 -07:00
asset_image_conversion_request.rb timeout on background jobs 2012-11-04 12:01:03 -06:00
closet_group.rb import items to a specific list 2013-04-09 15:50:33 -05:00
closet_hanger.rb move closet-hanger-destroy form to JS 2013-06-22 15:45:59 -07:00
closet_list.rb items petpage export 2011-07-31 02:52:19 -04:00
closet_page.rb Remove redundant queries when importing closet pages 2013-06-26 00:10:52 -07:00
closet_visibility.rb i18n for closet_hangers#index, closet_lists#edit, closet_lists#new, and maybe some more closet-related things - this was a biggie 2013-01-24 18:23:19 -06:00
color.rb better handle new colors and species 2013-02-15 23:57:06 -06:00
contribution.rb phew, fixed some issues with contribution saving in rails 3.2 2013-03-05 20:51:24 -06:00
contribution_observer.rb i18n for items#show (including javascripts/items/show.js) 2013-01-24 18:23:19 -06:00
fragment_expiration.rb i18n for outfits#new (and layouts#application), including caching 2013-01-24 18:23:18 -06:00
fragment_localization.rb i18n for outfits#new (and layouts#application), including caching 2013-01-24 18:23:18 -06:00
item.rb use proxies for item html, too 2013-06-26 23:50:19 -07:00
item_observer.rb oops: sweep localized item link caches 2013-06-07 13:26:51 -07:00
item_outfit_relationship.rb lovely interface for saving outfits. still no reading them yet 2010-11-10 16:59:54 -05:00
neopets_user.rb bug fix: pet importer no longer chokes when two pets wear the same item 2012-10-01 13:22:17 -05:00
outfit.rb move zones to database 2013-01-24 18:26:00 -06:00
outfit_image_update.rb timeout on background jobs 2012-11-04 12:01:03 -06:00
outfit_image_uploader.rb use openneo-uploads bucket 2012-07-31 11:42:27 -04:00
parent_swf_asset_relationship.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
pet.rb iron out some rails 3.1 compatibility issues 2013-03-05 15:41:55 -06:00
pet_attribute.rb capitalize each word of a species/color name (for Swamp Gas) 2011-07-12 18:22:16 -04:00
pet_state.rb fix null zone ID bug 2013-05-23 18:48:19 -07:00
pet_type.rb stop caching item preview species images, and fix the bad query instead 2013-06-23 22:35:27 -07:00
pretty_param.rb parameterize user params like items, plus a cleaner parameterization scheme 2011-07-26 18:49:52 -04:00
roulette.rb species check was in the wrong place. fixed 2011-01-27 17:50:08 -05:00
safety_deposit_page.rb i18n for neopets_pages#new 2013-01-24 18:23:19 -06:00
species.rb better handle new colors and species 2013-02-15 23:57:06 -06:00
static_resource.rb attempt to fix new species_support_ids format. sigh. 2013-01-23 00:25:09 -06:00
swf_asset.rb dev util method to manually change SWF asset body ID 2013-06-26 20:08:19 -07:00
user.rb use proxies for item html, too 2013-06-26 23:50:19 -07:00
user_sweeper.rb save user even if points do not change. oops 2011-03-01 15:32:26 -05:00
zone.rb only show item zones on outfits#edit occupies filter helper 2013-02-05 11:52:52 -06:00