Activity 01
Compare and Contrast: Monolith vs Microservices
Provide students with a simple monolithic web app code. In pairs, refactor it into three microservices using Node.js and Express. Deploy locally with Docker, then test scalability by simulating user load with tools like Artillery.
Explain the advantages of a microservices architecture over a monolithic application.
Facilitation TipDuring Compare and Contrast, assign each pair of students one monolith and one microservices scenario so they must articulate differences using the same metrics.
What to look forPresent students with two application scenarios: one requiring rapid feature iteration and high user concurrency, the other a small internal tool. Ask them to identify which scenario would benefit more from a microservices architecture and justify their choice with one specific reason.