I can build Express APIs, but I want a better grasp of databases, HTTP, and concurrency. What projects or exercises should I look for in a course?
What should a backend course teach an Express developer beyond the framework?
Answers
Look for a course that makes you build a small server with Node's built-in HTTP module before adding Express. Handle request bodies, headers, status codes, errors, and a streaming response. That gives you a clearer picture of what the framework is doing for you.
Then build an API aggregator that calls slow mock services. Compare sequential requests, unrestricted concurrency, and a concurrency limit. Measure latency and add timeouts. The useful part is explaining why each version behaves differently, not just getting it to run.
Reply to this answer
For concurrency, try one small experiment first. Run a batch of simulated slow database calls with an await inside a loop, then with Promise.all, then with a limited concurrency pool. Time all three.
Await itself isn't inherently slow. A loop that waits for each operation before starting the next one is sequential. Node can handle other work while asynchronous I/O is pending, but synchronous blocking work can still hold up the event loop. Unlimited concurrency can also put too much pressure on the service you're calling, so the fastest result in a mock test isn't automatically the best production choice.
Reply to this answer
I'd want a SQL project where correctness gets tested under concurrent requests, not just a basic CRUD app. A booking system is a good candidate: make two requests try to claim the same slot and work out how the database prevents both from succeeding.
Query performance belongs in the curriculum too. Practice reading query plans and adding indexes based on actual queries, rather than treating the database as a black box behind an ORM.
Reply to this answer
You don't necessarily need a full course to start. The official Node event loop documentation and Use the Index, Luke are useful reading, especially paired with small experiments. A course may be worth it if you want a structured sequence and exercises that make you demonstrate the concepts.
Reply to this answer
Add your answer
Answers are reviewed before publication.
6r+velcrocompass_417:
That's also a good exercise to repeat with failures and timeouts, not just successful responses.