liveBook · Manning

Relational database management system

As explained in Rust Servers, Services, and Apps

A relational database is a database that organizes data into related tables with defined schemas and relationships.

A relational database organizes data into related tables with defined schemas and relationships. In EzyTutors, it persists course data for tutors and learners. section 1.3.1

The database-backed web service replaces an in-memory data store with persistent storage, keeping data across service restarts while exposing the same APIs. section 4.0

The implementation proceeds in three working iterations:

  • Connect asynchronously to Postgres from a Rust program using a connection pool. section 4.0
  • Set up the Actix-based service and write unit tests. section 4.0
  • Implement handlers that create database records and query results. section 4.0

How Rust Servers, Services, and Apps covers it

How deep it goes
Builds through asynchronous connections, pooling, service tests, and handlers for creating and querying records.
Examples
Uses EzyTutors course data and upgrades a web service from in-memory storage to persistent Postgres storage.
What it assumes
Builds on an existing web service that uses an in-memory data store.
What you can do after
Build and test an asynchronous Postgres-backed web service that creates and queries records.
How it connects
Connects relational persistence to Rust web services, Actix Web, SQLx, Postgres, REST APIs, and database migrations.

Also explained in

Compare how 6 books explain relational database management system →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Rust Servers, Services, and Apps. The section links point to the parts of the book it draws on.