Chapter 5Accessing Databases
Data must persist, and databases are a great way to make that happen. As we’ve seen, Node.js does network I/O asynchronously, and this certainly includes interacting with databases. No matter which database you choose, you’ll have to become comfortable making asynchronous requests to it.
Working with databases will offer a convenient context for exploring the following aspects of Node development.
- Architecture and Core
-
Node.js is fast—really fast. It’s easy in Node to exhaust system resources or overload other systems it talks to. You’ll learn what to do to mitigate these kinds of problems and how to react to them when they happen.
- Patterns
-
Asynchronous JavaScript programming can become complex when you have many tasks ...
Get Node.js the Right Way now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.