June 2022
Intermediate to advanced
410 pages
5h 8m
English
This chapter describes the quiz application’s architecture and dependencies. It does get complex, so you can skip it if you’d rather concentrate on the Node.js and Express parts (Chapter 15) and WebSocket code (Chapter 16). That said, technical decisions described in those chapters are based on the architecture, so it’s good to understand the basics.
You could develop and run the quiz on a single server running a database and a single Node.js application that launches both the HTTP and WebSocket servers. It would be easier to develop, and it would support dozens of concurrent users. However, problems will arise as traffic grows. If your application ...
Read now
Unlock full access