LOGBOOK

HELP

1 / 19
Other keys: showSpace: good1-4: rate0: skip5: flag

Question

What is server-side persistence and why is it needed?

Answer

Server-side persistence means storing data on non-volatile server storage so it survives across separate HTTP requests and server restarts.

Web applications need persistence for:

  • User data (addresses, profiles)
  • Application data (orders, inventory)
  • Tracking data (analytics, logs)

Without persistence, all data would be lost when the server restarts or between requests. The server receives requests, stores/retrieves data from storage, and returns responses.

or press any other key

Question

What are the main storage options for server-side persistence?

Answer

The three main server-side storage options are the filesystem, relational databases, and document (NoSQL) databases.

Option Description
Filesystem Store data in files (XML, JSON, proprietary formats)
Relational DB Tables with rows, linked via relationships, SQL queries
Document DB Store documents (JSON-like), flexible schema, NoSQL

Choice depends on data structure, query needs, and scalability requirements.

Go deeper:

Last.fm Player
Last.fm Player
last.fm / ; Christopher Down for the album cover. · CC BY-SA 3.0 · Wikimedia Commons
or press any other key