Archive for the 'railsconf 2008' Category

Scaling to a billion

« 30 May 2008 | 16:05 | railsconf 2008, rubyonrails | No Comments »

Guy created Warbook. Had to rewrite the application within three weeks of launch due to scaling issues.
So, figure out why it is slow:
- Started with Firebug net tab.
- mint had to go wouldn’t scale
- pl_analyse, iostat, io was a point of failure, MTop.
- pagination also caused the app to drag. Ditched it too. Worked around […]



EngineYard hosting

« 30 May 2008 | 14:10 | railsconf 2008, rubyonrails | No Comments »

use explain with /G to test queries and make sure they are using your indexes. all index columns must be left to right in column order or they are ignored.
Plugins:
Ferret is hated. Sphinx is better.
image science + monit clears some environment variables. solvable by setting env vars in configs.
don’t forget to set log levels to […]