28 Oct '13, 11am

Ruby object allocation...

Make sure to evaluate the libraries you use, for instance switching a Sinatra XML rendering action from Builder to Nokogiri XML Builder saved us about 12k object allocations (Thanks Aaron Patterson). Make sure that if you are using a library allocating a LOT of objects, that other alternatives are not available and your choice is worth paying the GC cost. (you might not have a lot of requests/s or might not care for a few dozen ms per requests). You can use memprof or one of the many existing tools to check on the GC cycles using load tests or in dev mode. Also, be careful to analyze the data properly and to not only look at the first request. Someone sent me this memory dump from a Rails3 ‘hello world’ with Ruby 1.8.7 and it shows that Rails is using 331973 objects . While this is totally true, it doesn’t mean that 330k objects are created per request. Instead that means ...

Full article: http://merbist.com/2010/07/29/object-allocation-why-you-s...

Tweets

Yay! Ruby 2.1 has been released!

ruby-lang.org 29 Oct '13, 6am

Ruby 2.1.0-preview1 is released We are pleased to announce the release of Ruby 2.1.0-preview1. Please check out the new fe...

『Ruby on Rails環境構築ガイド』読者サポートページの正誤表を更新。掲載したcapistranoのdeploy.rbがRails 3.2.14 以降でエラーになる問題に対応。

『Ruby on Rails環境構築ガイド』読者サポートページの正誤表を更新。掲載したcapi...

oiax.jp 27 Oct '13, 11am

$ cd ~/rails_root # 次のコマンドは、CentOS で PostgreSQL を使用する場合のみ実行(242ページ参照) $ bundle config build.pg --with-pg-config=/usr/pgsql...

Ruby, a linguagem do mundo Cloud

akitaonrails.com 29 Oct '13, 2pm

E para facilitar a vida durante o desenvolvimento temos servicos como CodeClimate para análise estática de código, Travis-...

Ruby, a linguagem do mundo Cloud:

akitaonrails.com 29 Oct '13, 4pm

E para facilitar a vida durante o desenvolvimento temos servicos como CodeClimate para análise estática de código, Travis-...

Ruby, a linguagem do mundo Cloud:

akitaonrails.com 29 Oct '13, 2pm

E para facilitar a vida durante o desenvolvimento temos servicos como CodeClimate para análise estática de código, Travis-...

Ruby, a linguagem do mundo Cloud:

akitaonrails.com 29 Oct '13, 7pm

E para facilitar a vida durante o desenvolvimento temos servicos como CodeClimate para análise estática de código, Travis-...

Ruby, a linguagem do mundo Cloud by @AkitaOnRails

akitaonrails.com 30 Oct '13, 12am

E para facilitar a vida durante o desenvolvimento temos servicos como CodeClimate para análise estática de código, Travis-...

Ten resources for taking your ruby skills to th...

rubyflow.com 28 Oct '13, 2am

Ten resources for taking your ruby skills to the next level Posted by skwp on October 28, 2013 — 0 comments The Reverb.com...

“Ruby on Rails とは - 株式会社オイアクス”

“Ruby on Rails とは - 株式会社オイアクス”

oiax.co.jp 03 Nov '13, 4am

INNER JOIN companies ON employees.company_id = companies.id;

You wanna have a minimal server for your tests?...

onestepback.org 02 Nov '13, 12pm

) have written about a single line web browser in Python. I wondered what it would look like in Ruby. Here’s one answer… r...

#devsoft - Ruby, a linguagem do mundo Cloud:

akitaonrails.com 30 Oct '13, 9am

E para facilitar a vida durante o desenvolvimento temos servicos como CodeClimate para análise estática de código, Travis-...