JRuby is aRuby implementation that runs on theJava VirtualMachine (JVM).It allowsRuby code to leverageJava libraries and frameworks and enables deployment on JVM platforms likeAndroid. TheJRuby team maintains and improvesJRuby, but much of the underlying infrastructure like memory management, threading, and JIT compilation is provided by the JVM, allowing the team to focus onRuby-specifi
While not very glamorous, Bitmap Marking Garbage Collection is a dramatic,creative innovation! You may have heard last week how Innokenty Mihailov’s great Enumerable::Lazy feature was accepted into theRuby 2.0 code base. But you may not have heard about an even more significant change that was merged intoRuby 2.0 in January: a new algorithm for garbage collection called “Bitmap Marking.” The de
Second edition Richard Jones’s Garbage Collection (Wiley, 1996) was a milestone book in the area of automatic memory management.Its widely acclaimed successor, The Garbage Collection Handbook: The Art of Automatic Memory Management captured the state of the field in 2012. However,technology developments have made memory management more challenging, interesting and important than ever. This secon
最近クックパッドでは、アプリケーションサーバの大半がRails 2.3 からRails 3 に置き換わったのですが*1、リリース前のベンチマークの時点ではあまりパフォーマンスが出ず四苦八苦していました。具体的にはRails 2.3 の時と比べ MRI 1.8.7 だとレスポンスタムが200%ぐらい遅い結果でした。Rails 3 になって実装が Merb core を取り入れ疎結合で綺麗になった反面、より多くのオブジェクトと・メモリを利用する様になった影響かと思います。 そこでRuby インタプリタの変更*2を行い検証をしたところ MRI 1.8.7 (Rails 2.3と比べ) 約200%遅い MRI 1.8.7 ->Ruby Enterprise Edition 1.8.7 2011.03 (tcmalloc 無効) 約180%低速 MRI 1.8.7 ->Ruby Ente

Thisdomain may be for sale!
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く