๐ RVM Stack
Ruby ยท Rails ยท Nginx ยท MySQL
Rb
Ruby
Runtime & Gems (RVM)
- Managed via RVM (versions, gemsets)
- Bundler for dependency management
- Rack interface for web servers
โ
- Controllers, Active Record ORM, jobs
- Migrations, caching, Action Cable
- API mode or full-stack views
โ
NX
Nginx
Reverse Proxy & Static
- SSL/TLS, gzip, caching, compression
- Reverse proxy to Rack app server
- Serves static assets efficiently
โ
MY
MySQL
Relational Database
- ACID storage with InnoDB
- Indexes, replication, partitioning
- Migrations managed by Rails
Request Flow: Client โ Nginx โ Rails (Ruby/Rack) โ MySQL โ Rails โ Nginx โ Client