#981: more performance improvements

Type: FeatureItem Feature:   Tags: colivre
ScheduledFor: N/A Assigned to:   Sites:  
Priority: 0 Status: NoFeedback  

peformace improvements:

  • change Environment#settings to use real database columns instead of serialized hash
  • cache the list of communities page
  • reorder the before_filters in the controllers even using prepend_before_filter in some places to catch the most common redirects as early as possible ex the not found

use the logs of the production to find the most resource intensive controllers and action

a copy of Raph's email with intresting links to look:

Hi (ladies &) gentlemen

Théo told me recently that you may be working on performance issues.

Could you make a quicky report about it, please?

I was wondering if you had specific tools or methods for profiling where did the delay come from.

Did you try (one of) the following? - FiveRuns? TuneUp? http://www.fiveruns.com/products/tuneup - http://www.dcmanges.com/blog/rails-performance-tuning-workflow - Railsbench http://railsbench.rubyforge.org/ - http://www.newrelic.com - Rails performance tip - using YSlow http://www.slashdotdash.net/2007/07/31/rails-performance-tip-using-yslow/

About RoR? tuning & profiling, I already read this: - A Look at Common Performance Problems in Rails http://www.infoq.com/articles/Rails-Performance - Garbage Collection is Why Ruby on Rails is Slow: Patches to Improve Performance 5x; Memory Profiling http://blog.pluron.com/2008/01/ruby-on-rails-i.html - Top 10 Ruby on Rails performance tips http://antoniocangiano.com/2007/02/10/top-10-ruby-on-rails-performance-tips/ - Making Rails Go Vroom http://cfis.savagexi.com/2007/07/18/making-rails-go-vroom - http://itmanagement.earthweb.com/cnews/article.php/3750266 - http://www.buildingwebapps.com/topic/5197-performance-tuning-for-ruby-on-rails - http://www.buildingwebapps.com/articles/6503-selling-friends-scaling-a-high-traffic-rails - http://www.dcmanges.com/blog/rails-performance-tuning-workflow

Do you have current usage statistics of the platform?

If not you can install a tool like Piwik ( http://piwik.org/ ) but I suppose you already have Cacti ( http://www.cacti.net/ ) or equivalent tools already running to monitor the platform...

Thanks in advance for the news,

Raph

-- MoisesMachado - 20 Mar 2009

Vicente thinks that can remove blocks from control panel and from "Info and settings" and some others pages

-- DanielaFeitosa - 06 Apr 2009

Add comment
You need to login to be able to comment.
 

ActionItemForm edit

Title more performance improvements
ActionItemType? FeatureItem
Priority 0
Tags colivre
Feature
Plugin
ResponsibleDevelopers
ScheduledFor? N/A
AffectsVersion?
Status NoFeedback?
Ticket SAC:
who cares RafaelDeSouzaQueiroz?
Topic revision: r11 - 25 Oct 2013 - 13:46:27 - RafaelDeSouzaQueiroz
 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2014 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres