Software Engineer
Ryohei Tanaka
Full-cycle product development—from upstream discovery through production. Building AI-native organizations now.
Latest posts
View allSome articles are currently available only in Japanese.
- Should Business Logic Live in the Model or Be Split into a UseCase?
A comparison of Rich ActiveRecord Models and UseCase-centered design, starting from business entities, business verbs, and state changes in Rails.
- How to Think About Rails Retrieval Strategies: N+1, JOINs, and Application Memory
A guide to choosing between preload, eager_load, includes, and joins by separating N+1 queries, database-side JOIN cost, and Rails application-memory pressure.
- Secure Deployments from GitHub Actions to GCP — A Practical Guide to Workload Identity Federation
Key design points for deploying safely from GitHub Actions to GCP with Workload Identity Federation instead of long-lived credentials.
Products
-
Rails on Cloud Run Starter Kit
Includes a Rails app, Terraform, and GitHub Actions. Deploy once and spin up Cloud SQL through external HTTPS LB and Cloud Armor — Rails actually runs on Cloud Run.
Get the starter kit -
How I Got Malaysia's DE Rantau Nomad Pass
An English Kindle edition documenting one real DE Rantau Nomad Pass application—from first submission through document corrections, MDEC correspondence, and post-approval steps—over roughly eight months. Practical, first-hand timeline for anyone preparing to apply. Free to read with Kindle Unlimited.
Read on Amazon