n8n is fantastic for prototyping and visual orchestration. You can wire up webhooks, databases, and LLM calls in minutes.
The pain starts when a workflow grows into critical production infrastructure:
High-concurrency webhooks hit runtime overhead and container memory limits (~250MB+ per worker).
Subworkflows pay HTTP/DB round-trip overhead instead of running in-process.
Engineering workflows struggle with diffing 2,000-line JSON exports in Git, running unit tests, and enforcing strict TypeScript contracts.
To solve this without rewriting everything by hand, I built n8n-to-fastify — an Ahead-of-Time (AOT) compiler that converts exported n8n workflow JSONs into standalone Fastify + TypeScript microservices.
Try it live (100% client-side in your browser — zero data leaves your machine): rogeriomaciel.com.br/en/n8n-to-fastify
Source code (MIT): github.com/rogeriomaciel/n8n-to-fastify
How it works
Instead of interpreting JSON nodes dynamically at runtime, n8n-to-fastify parses the workflow DAG, resolves…