We discovered Mirah while looking for a way to remedy JRuby spin-up delays on App Engine. Dubious, a simple framework written in Mirah, but following Rails conventions, that provides unprecidented scalability and efficiency.
2. Extreme Performance
with Mirah and Dubious
Build apps that can scale rapidly
John Woodell
July 28, 2010
2
Saturday, August 28, 2010
3. Spin-up time can make scaling “painful”
• The most critical issue to be resolved is spin-up time,
App Engine scales by adding new application instances.
• Even if initialization could happen without affecting users
some apps will need to scale instantly.
3
Saturday, August 28, 2010
4. Benefits of Mirah on App Engine
• Ruby syntax & apparent features + Java type system
• Use Java or Ruby when Mirah lacks features you require
• The generated Java source can be inspected at any time
• Macros and plugins can be written in Ruby or Mirah
• New instances always spin-up in about a second
4
Saturday, August 28, 2010
5. Working with Dubious
• Dubious framework uses familiar Rails conventions
• Generate JSONs or work with ERb templates
• MirahModel syntax is similar to DataMapper
• Developers can create apps entirely in Rails,
then refactor URLs that need to scale quickly
• Some important features are currently missing,
but “you” could have fun contributing them
5
Saturday, August 28, 2010