Although the development of applications is fast in Rails, the applications themselves are often a bit slow. The elegant framework increases the productivity of the programmer but reduces the performance of the application. The DRY principle is great to prevent code repetition, but it is less optimal to increase speed: it is of course much [...]
Posts Tagged ‘performance’
Increase the Performance of Ruby on Rails Applications
Posted in development, principles, rubyonrails, software, tagged cache, performance, rails, rubyonrails, speed on February 17, 2009 | Leave a Comment »
The key to a high-performance site
Posted in development, principles, tagged cache, caching, performance on November 29, 2008 | Leave a Comment »
“caching! caching! caching!”, see for example the Wikipedia Infrastructure
Performance for SELECT using LIMIT and OFFSET
Posted in development, tagged limit, MySQL, offset, Pagination, performance, select, sql on November 6, 2008 | Leave a Comment »
Pagination of long lists often works with SQL queries like the following one with an offset O and a limit number N:
SELECT * FROM table ORDER BY something LIMIT O, N
THe WILL PAGINATE plugin for example produces queries like this. They can be awful slow if the offset O is very large. A [...]