際際滷

際際滷Share a Scribd company logo
Merb
Lessons Learned & Where Do We Go From Here
Engine Yard
Ruby is slow
Its also worth mentioning that there shouldnt
be doubt in anybodys mind at this point that
Ruby itself is slow. Its great that people are
hard at work on faster implementations of the
language, but right now, its tough.

                    Alex Payne, Twitter
Does this discourage me from Ruby or Rails? Hell
no. To me the elegance of the language
completely dominates its 鍖aws... Ill wait for the
performance and scale issues to be 鍖xed in
subsequent releases

                       Daniel Miessler
You will also 鍖nd that Ruby is one of the slowest
languages in existence.



       Sam (harparkrat@gmail.com)
quot;Ruby is slowquot;: a JIT is under development, the
VM has a lot of room for performance
improvements, and hardware keeps getting
faster. Java was slow for the hadware that
existed when it was originally created.

        Luis (lcrespom@gmail.com)
I for one am scared of Ruby because ... it's
known to be slow, so if you become The Next
MySpace, you'll be buying 5 times as many
boxes as the .NET guy down the hall.


                       Joel Spolsky
Rails is for the vast majority of web applications
Fast Enough... I just happen to care much more
about free developer cycles and am willing to
trade the former for the latter.


          David Heinemeier Hansson
Would you rather come to market late on the
back of an inferior development environment
(asp.net) or make it to market 鍖rst with a
superior development system and work to
alleviate the scalability issues?

      Jim Jones, RunFatBoy.net
Ruby is so embarassing.
To Summarize
Rails is slow.
Ruby is slow.
The slowest programming language in the world
Our response?
Its ok.
I program faster.
Merb Camp Keynote
WTF!
Someone must have done some benchmarks, right?
Merb Camp Keynote
Simple, real app
raw PHP: 331
    rps
cakephp: 3.6
with code
acceleration
88 rps. With
    Rails.
Existing results?
Lets try and replicate with Merb
Hello world.
Merb
Merb   Static HTML
Merb   Static HTML   PHP
Merb   Static HTML   PHP   Cake
While were on the topic of benchmarks
Merb router   Merb controller   Sinatra   Rails
Merb router   Merb controller   Sinatra   Rails   CakePHP
We dont need to be embarassed
Merb Camp Keynote
The future...
Merb 2.0
Modular
Integrated
Its hard
Yep.
Django.
Merb Camp Keynote
Merb Camp Keynote
Edit Your DB (Auto-admin)
Admin Hooks for Slices
Admin Hooks for Slices (central /admin)
Merb ORM interface
Possible to build stacks with AR/Prototype
Mailer becomes Messenger
Process
1.0 is a stake in the ground
1.x are back-compatible, stable experiments
We will run the 1.0 public spec suite against 1.x releases
We will support 1.0 via 1.0.x
Once 1.2 is released, only 1.0 and 1.2 are supported
with bug 鍖xes.
We will backport security patches to 1.x until 2.0.
Public API means extensive community involvement
Keep an eye on slices
To summarize:
To summarize: Merb 2.0 is about Rapid Prototyping
To summarize: Merb 2.0 is still metal
Opt-out should be granular
Legos
Legos vs. Duplos
Want to get involved?
Central slice repository
Work on the wiki
Help test RC1
Report missing functionality in @api public
Experiment
Report success
Merbunity.com:
Merbunity.com: List Your Site
Thank you!

 Carl Lerche          Andy Delcambre     Patrick Crowley

 Matt Aimonetti       Avrohom Katz       Ryan Felton

 Ezra Zygmuntowicz    Ben Burkert        Leah Silber

 Wayne Seguin         Daniel Neighman    FiveRuns

 Michael Ivey         Tim Carey-Smith    NewRelic

 Fabien Franzen       Drew Colthorp      topfunky

 Michael Klishkin     Rob Kaufman

 Paul Sadauskas       Wesley Beary
And Everyone Else I Missed ;)
Questions?

More Related Content

Merb Camp Keynote