Skip to Main Content
Node.js in Action
book

Node.js in Action

by TJ Holowaychuk, Nathan Rajlich, Mike Cantelon, Marc Harter
October 2013
Intermediate to advanced content levelIntermediate to advanced
416 pages
13h 2m
English
Manning Publications
Content preview from Node.js in Action

Chapter 5. Storing Node application data

This chapter covers

  • In-memory and filesystem data storage
  • Conventional relational database storage
  • Nonrelational database storage

Almost every application, web-based or otherwise, requires data storage of some kind, and the applications you build with Node are no different. The choice of an appropriate storage mechanism depends on five factors:

  • What data is being stored
  • How quickly data needs to be read and written to maintain adequate performance
  • How much data exists
  • How data needs to be queried
  • How long and reliably the data needs to be stored

Methods of storing data range from keeping data in server memory to interfacing with a full-blown database management system (DBMS), but all methods ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Get Programming with Node.js

Get Programming with Node.js

Jon Wexler
Beginning Node.js

Beginning Node.js

Basarat Ali Syed
Node.js in Action, Second Edition

Node.js in Action, Second Edition

Bradley Meck, Nathan Rajlich, TJ Holowaychuk, Mike Cantelon, Tim Oxley, Alex Young

Publisher Resources

ISBN: 9781617290572Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link