Rails-compatible web framework with fiber-based concurrency
Write familiar Ruby code. Handle hundreds of concurrent requests. Deploy production-ready APIs in minutes.
A modern Ruby framework for building fast, scalable applications without sacrificing developer experience.
Built on a dedicated runtime with an optimized router, Rage delivers exceptional speed by minimizing overhead and maximizing throughput.
Familiar Rails-like syntax and patterns make migration seamless. Write Ruby the way you know, but faster.
Non-blocking I/O powered by fibers handles thousands of concurrent requests efficiently, similar to Node.js and Nginx.
Built-in WebSocket handling for real-time features. Scale to thousands of simultaneous connections without additional dependencies.
Generate OpenAPI documentation directly from your route definitions. Keep your API specs always in sync with your code.
A narrow, well-defined scope means predictable updates. No major rewrites or breaking changes with every release.
Real-world benchmarks show significant performance improvements over both I/O- and CPU-intensive Rails applications.
I/O-intensive apps
I/O-intensive apps
CPU-intensive apps
CPU-intensive apps
Write clean, maintainable code with familiar Rails patterns and powerful new capabilities.
Familiar syntax for defining routes and controllers
# config/routes.rbRage.routes.draw doresources :articles, only: [:index, :create]end# app/controllers/articles_controller.rbclass ArticlesController < RageController::APIdef indexarticles = Article.allrender json: articlesenddef createarticle = Article.create!(title: params[:title], content: params[:content])render json: article, status: :createdendend
Whether you're building a new API or scaling an existing application, Rage provides the performance and features you need.
Perfect for building fast, scalable REST APIs. Handle high request volumes with minimal resource usage.
Build microservices that can handle massive scale. Fiber-based concurrency ensures maximum throughput.
Native WebSocket support for chat apps, live dashboards, and collaborative tools.
Gradually migrate from Rails or use Rage alongside your existing Rails app for performance-critical endpoints.
Don't choose between speed and productivity. Rage gives you both with Rails-like syntax and fiber-based performance.
Key milestones in the evolution of the Rage framework.
Development begins on a faster, fiber-based Ruby framework.
First production-ready release after extensive real-world testing and stability improvements.
Version 1.8 adds native WebSocket support for real-time applications.
Automatic OpenAPI documentation generation directly from route definitions.
Round 23 results show Rage outperforms Rails by 81-219% and Sinatra by 31-100% across all database tests.
Accepted into Cloudflare's Project Alexandria initiative.
Start building high-performance Ruby applications today. No complex setup required.