MODULE_06intermediate

Databases & Caching

PostgreSQL + Redis

Master database design, queries, and caching strategies for production applications.

11Units
2Projects
2Interactive
35-40hEst. Time
PostgreSQLPrisma ORMMigrationsRedis Caching

UNITS

11 LESSONS
01
theory2h

Relational DB Fundamentals

// ...

Database concepts

Tables & relationsNormalizationKeys
02
hands-on2h

PostgreSQL Setup

// ...

Local and cloud setup

Installationpsql CLIGUI tools
03
hands-on3h

Schema Design Patterns

// ...

Effective data modeling

1:1, 1:N, N:MDenormalizationSoft deletes
04
interactive3h

SQL Queries & Joins

// ...

Writing efficient queries

SELECT, INSERT, UPDATEJOIN typesSubqueries
05
hands-on4h

Prisma ORM Deep Dive

// ...

ORM mastery

Schema syntaxRelationsQuery API
06
hands-on2h

Migrations & Seeding

// ...

Database versioning

Migration workflowSeed scriptsRollbacks
07
hands-on3h

Indexes & Optimization

// ...

Query performance

Index typesEXPLAIN ANALYZECommon patterns
08
theory2h

Transactions

// ...

ACID and concurrency

Transaction basicsIsolation levelsDeadlocks
09
hands-on2h

Redis Fundamentals

// ...

Key-value store basics

Data typesCommandsExpiration
10
hands-on3h

Caching Strategies

// ...

Application caching

Cache-asideWrite-throughInvalidation
11
hands-on2h

Rate Limiting

// ...

API protection

Sliding windowToken bucketRedis implementation

PROJECTS

2 BUILDS

URL Shortener

10h

DB + cache + rate limiting

PostgresRedisPrisma

REQUIREMENTS

  • Shorten URLs
  • Analytics
  • Rate limiting
  • Cache layer

Analytics Engine

8h

Event tracking and aggregation

SQLIndexesPerformance

REQUIREMENTS

  • Event ingestion
  • Time-series queries
  • Dashboard aggregates

INTERACTIVE

2 TOOLS

SQL Query Builder

Visual query composer

20 min

ERD Designer

Interactive schema designer

20 min