16. Mortalidade Infantil
²Ñ±ð³¾¨®°ù¾±²¹ Heap
Eden Tenured
objeto
objeto
objeto
objeto
Monday, March 2, 2009
17. Mortalidade Infantil
²Ñ±ð³¾¨®°ù¾±²¹ Heap
Eden Tenured
objeto
objeto
objeto
objeto
Monday, March 2, 2009
18. Mortalidade Infantil
²Ñ±ð³¾¨®°ù¾±²¹ Heap
Eden Tenured
objeto
objeto
objeto
objeto
Monday, March 2, 2009
19. Flexibilidade
? Serial
? ParNew
? Parallel Scavenge
? Serial Old
? CMS
? Parallel Old
? G1
http://blogs.sun.com/jonthecollector/entry/our_collectors
Monday, March 2, 2009
38. I agree, the
memory situation
is not the best
but compared to
MRI, JRuby deployments are
actually favorable. We're seeing
around 20MB per runtime
in our deployment, ...
http://www.?ickr.com/photos/nicksieger
Monday, March 2, 2009
39. Rails 2.2 is
thread-safe!
http://joshpeek.com/
Monday, March 2, 2009
40. -server -Xmx1024m
httperf --num-conns 100 --rate 10
class HomeController < ApplicationController
def index
render :text =>
quot;<html>fibonnaci(29) = #{fibonacci(29)}</html>quot;
end
private
def fibonacci(number)
return number if number < 2
fibonacci(number - 1) + fibonacci(number - 2)
end
end
Monday, March 2, 2009
61. http://code.google.com/p/activehibernate/
class Person
include Hibernate
primary_key_accessor :id, :long
h_component :address, [[:street,:string], [:city,:string]]
end
Monday, March 2, 2009
62. No. Ribs!
class Blog
Ribs! :table => :fox_blog do |r|
r.id.primary_key!
r.title :column => :blog_title
r.body :column => :content_text
r.something.avoid!
end
end
Monday, March 2, 2009