Your SlideShare is downloading. ×
0
Merb
Lessons Learned & Where Do We Go From Here
Engine Yard
Ruby is slow
“It’s also worth mentioning that there shouldn’t
be doubt in anybody’s mind at this point that
Ruby itself is slow. It’s g...
Does this discourage me from Ruby or Rails? Hell
no. To me the elegance of the language
completely dominates its flaws... I...
You will also find 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 ke...
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...
Rails is for the vast majority of web applications
Fast Enough... I just happen to care much more
about free developer cyc...
Would you rather come to market late on the
back of an inferior development environment
(asp.net) or make it to market firs...
Ruby is so embarassing.
To Summarize
Rails is slow.
Ruby is slow.
“The slowest programming language in the world”
Our response?
It’s ok.
I program faster.
WTF!
Someone must have done some benchmarks, right?
Simple, real app
raw PHP: 331
    rps
cakephp: 3.6
with code
acceleration
88 rps. With
    Rails.
Existing results?
Let’s try and replicate with Merb
Hello world.
Merb
Merb   Static HTML
Merb   Static HTML   PHP
Merb   Static HTML   PHP   Cake
While we’re on the topic of benchmarks
Merb router   Merb controller   Sinatra   Rails
Merb router   Merb controller   Sinatra   Rails   CakePHP
We don’t need to be embarassed
The future...
Merb 2.0
Modular
Integrated
“It’s hard”
Yep.
Django.
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 fixes.
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 ...
And Everyone Else I Missed ;)
Questions?
Merb Camp Keynote
Merb Camp Keynote
Merb Camp Keynote
Merb Camp Keynote
Merb Camp Keynote
Upcoming SlideShare
Loading in...5
×

Merb Camp Keynote

10,802

Published on

MerbCamp Closing Keynote (Ruby is Not Slow & Merb 2.0)

Published in: Technology
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
10,802
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
104
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

Transcript of "Merb Camp Keynote"

  1. 1. Merb Lessons Learned & Where Do We Go From Here
  2. 2. Engine Yard
  3. 3. Ruby is slow
  4. 4. “It’s also worth mentioning that there shouldn’t be doubt in anybody’s mind at this point that Ruby itself is slow. It’s great that people are hard at work on faster implementations of the language, but right now, it’s tough.” Alex Payne, Twitter
  5. 5. Does this discourage me from Ruby or Rails? Hell no. To me the elegance of the language completely dominates its flaws... I’ll wait for the performance and scale issues to be fixed in subsequent releases Daniel Miessler
  6. 6. You will also find that Ruby is one of the slowest languages in existence. Sam (harparkrat@gmail.com)
  7. 7. 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)
  8. 8. 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
  9. 9. 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
  10. 10. Would you rather come to market late on the back of an inferior development environment (asp.net) or make it to market first with a superior development system and work to alleviate the scalability issues? Jim Jones, RunFatBoy.net
  11. 11. Ruby is so embarassing.
  12. 12. To Summarize
  13. 13. Rails is slow.
  14. 14. Ruby is slow.
  15. 15. “The slowest programming language in the world”
  16. 16. Our response?
  17. 17. It’s ok.
  18. 18. I program faster.
  19. 19. WTF!
  20. 20. Someone must have done some benchmarks, right?
  21. 21. Simple, real app
  22. 22. raw PHP: 331 rps
  23. 23. cakephp: 3.6
  24. 24. with code acceleration
  25. 25. 88 rps. With Rails.
  26. 26. Existing results?
  27. 27. Let’s try and replicate with Merb
  28. 28. Hello world.
  29. 29. Merb
  30. 30. Merb Static HTML
  31. 31. Merb Static HTML PHP
  32. 32. Merb Static HTML PHP Cake
  33. 33. While we’re on the topic of benchmarks
  34. 34. Merb router Merb controller Sinatra Rails
  35. 35. Merb router Merb controller Sinatra Rails CakePHP
  36. 36. We don’t need to be embarassed
  37. 37. The future...
  38. 38. Merb 2.0
  39. 39. Modular
  40. 40. Integrated
  41. 41. “It’s hard”
  42. 42. Yep.
  43. 43. Django.
  44. 44. Edit Your DB (Auto-admin)
  45. 45. Admin Hooks for Slices
  46. 46. Admin Hooks for Slices (central /admin)
  47. 47. Merb ORM interface
  48. 48. Possible to build stacks with AR/Prototype
  49. 49. Mailer becomes Messenger
  50. 50. Process
  51. 51. 1.0 is a stake in the ground
  52. 52. 1.x are back-compatible, stable experiments
  53. 53. We will run the 1.0 public spec suite against 1.x releases
  54. 54. We will support 1.0 via 1.0.x
  55. 55. Once 1.2 is released, only 1.0 and 1.2 are supported with bug fixes.
  56. 56. We will backport security patches to 1.x until 2.0.
  57. 57. Public API means extensive community involvement
  58. 58. Keep an eye on slices
  59. 59. To summarize:
  60. 60. To summarize: Merb 2.0 is about Rapid Prototyping
  61. 61. To summarize: Merb 2.0 is still metal
  62. 62. Opt-out should be granular
  63. 63. Legos
  64. 64. Legos vs. Duplos
  65. 65. Want to get involved?
  66. 66. Central slice repository
  67. 67. Work on the wiki
  68. 68. Help test RC1
  69. 69. Report missing functionality in @api public
  70. 70. Experiment
  71. 71. Report success
  72. 72. Merbunity.com:
  73. 73. Merbunity.com: List Your Site
  74. 74. 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
  75. 75. And Everyone Else I Missed ;)
  76. 76. Questions?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×