Tag: persistence

Browse 5 practical software engineering resources tagged with "persistence". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving persistence. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Data Persistence

Persistence is how data survives beyond the lifetime of a process. Choosing the right persistence layer affects performance, reliability, and consistency.

The resources below cover databases, ORMs, transactions, caching, event sourcing, and storage patterns. Each guide helps you persist data in a way that matches your application needs.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Active Record Pattern

Wrap a database table or view in a class where an instance is tied to a single row, and the class...

Composite Entity Pattern

Map a coarse-grained entity to multiple database tables by composing dependent objects, reducing...

Data Access Object (DAO) Pattern

Abstract and encapsulate all access to a data source by exposing a clean interface while hiding...

Data Mapper Pattern

Separate in-memory domain objects from the database by delegating persistence to a dedicated mapper...

Complete Guide to Redis in Production

Run Redis in production. Covers persistence (RDB, AOF), clustering, sentinel for HA, failover...