Mais conteúdo relacionado Semelhante a Future Of Ruby And Rails (20) Mais de Matt Aimonetti (9) Future Of Ruby And Rails15. AUDIENCE
app developers
Rails entrepreneurs
designers
app developers
Merb enterprise
plugin authors
16. AUDIENCE
app developers
entrepreneurs
Rails 3 enterprise
plugin authors
designers
17. PRINCIPLES
programmer happiness
Rails strong conventions
fluent design
app developers
Merb flexibility
modularity
speed
18. PRINCIPLES
programmer happiness
strong conventions
fluent design
Rails 3
flexibility
modularity
speed
22. ActiveModel
ActionWorker + ORM
ActiveResource
ActionPack
ActiveSupport ActionMailer
Generators Rack middlewares
Rails stack
36. ACTIVE
WORKER
push_queue
Thumbnailer.new(path, user, :action => :process)
44. Datamapper
Legacy multiple query various
repository repository optimization datastores
45. Sequel
Highly
Prepared
Sharding customizable Perf
Statements
SQL
49. RAILS 3
in
a l
f
n o t SPEED BOOST
hello world 3.02x
render 2.59x
partial 2.88x
10 partials 2.16x
collection of 10 2.44x
103% 207% 310%
Rails 3/Ruby 1.9 benchmarked against Rails 2.3.x/Ruby 1.8.7
50. Ru
y wo by
em r
er pe
j m 20
rl
d
09
1.9
k e
2.78x
hello world 3.39x
2.49x
render 3.38x
1.18x
partial 4.9x
1.63x
10 partials 4x
6.27x
collection 8x
200% 400% 600% 800%
Ruby 1.8 Ruby 1.9
52. Ruby
1.9.x
IronRuby
1.8.7 JRuby
MacRuby
Rubinius
2.0
53. Ruby 1.9.x
better perf
1.9.x better threading
fibers
official Ruby
recommended
54. in
RAILS 3
a l
f
n o t BENCHMARKS
Ruby 1.8.6 REE 1.87 Ruby 1.9.1
-4%
hello world 17%
50%
-3%
render -10%
55%
-10%
partial 3%
24%
-12%
10 partials -2%
77%
-6%
collection of 10 6%
35%
-12% 7% 25% 43% 62% 80%
% faster than Ruby 1.8.7
http://github.com/mattetti/rails-simple-benches
55. u tu re ?
Ruby 2.0
¿ f
scalability
performance
not maintenabilty
started multiple VMs
selector namespace
method combination
etc..
56. IronRuby
.NET integration
VisualStudio 201?
0.9.1 Silverlight
IIS web server
Microsoft
57. u tu re ?
IronRuby
¿ f
VisualStudio 201?
better tools
even better
integration
performance
58. JRuby
java integration
1.4.0 RC1 native threads
deployment
JVM
59. u tu re ?
JRuby
¿ f
• java profiling/debugging tools
• better integration (hibernate..)
• .java file compilation
• better integration (server,
mobile etc..)
• performance
60. MacRuby
Cocoa integration
AOT compilation
0.5 RC1 performance
GCD
Apple support & tools
OSX platform
61. u tu re ?
MacRuby
¿ f
•iPhone
•instrumentation
•better dev tools
•performance
•standardized
•linux d
•any C libs a se
b i
62. Rubinius
ruby almost all the way
0.12 full introspection
C extensions
63. u tu re ?
Rubinius
¿ f
•AOT compiler
•very powerful debugger
•real time profiler
•performance