Hello world in node.js
fix this with a Thought chain
"As Senior Node.js Engineer at FAANG, refactor this legacy system:
1. Conduct architectural review using ADR documentation
2. Implement DDD patterns with Clean Architecture layers
3. Add Redis caching with cache stampede prevention
4. Write load test using Artillery with 10k RPS target
5. Generate migration plan to ESM modules
Include performance metrics comparison table and risk analysis matrix."