Backend
42 notes in this cluster.
Backend is the area I've been doing longest. These notes focus on the engines most of my systems actually run on — Postgres, Redis, Kafka — with the fundamental properties (ACID, replication, storage internals) sitting alongside. Not a tutorial area: most notes are term-style entries to re-read when I need to remember how a specific piece works.
Architecture patterns
- CQRS — split command and query models when reads and writes diverge.
- Separation of concerns — boundaries between layers and reasons to change.
Node / API layer
- NestJS — structured Node framework (modules, DI, decorators).
Persistence and validation
Core properties
- ACID — atomicity, consistency, isolation, durability.
- Columnar database — why analytics engines are built for column-oriented reads.
- Algorithms — the CS fundamentals layer under all of this.
Postgres
Redis
- Redis — overview and links into the note cluster.
- Data types
- Caching, expiration, memory management
- Persistence, clustering
- Pub/sub, streams, transactions, Lua scripts
Kafka
- Brokers, topics, partitions
- Producers, consumers, consumer groups, offsets
- Replication, Kafka Connect, Kafka Streams
Tooling
- npm package template — my CLI for bootstrapping publishable npm packages.
- npm, pnpm, and Yarn — package managers for Node libraries and services.
Related tags
All notes tagged #backend
Automatic inventory generated from note tags. Use it to find notes that are not yet included in the curated index above.
- A CLI template for publishing npm packages/npm-package-template
- Algorithms/algorithms
- Arrays/arrays
- Big O notation/big-o-notation
- Binary search/binary-search
- CQRS/cqrs
- Dynamic programming/dynamic-programming
- Graph algorithms/graph-algorithms
- Graphs/graphs
- Greedy algorithms/greedy-algorithms
- Hash maps/hash-maps
- Heaps/heaps
- Kafka brokers/kafka-brokers
- Kafka Connect/kafka-connect
- Kafka consumer groups/kafka-consumer-groups
- Kafka consumers/kafka-consumers
- Kafka offsets/kafka-offsets
- Kafka partitions/kafka-partitions
- Kafka producers/kafka-producers
- Kafka replication/kafka-replication
- Kafka Streams/kafka-streams
- Kafka topics/kafka-topics
- Linked lists/linked-lists
- NestJS/nestjs
- NestJS integration testing (stub)/nestjs-integration-testing
- Non-functional testing (draft)/non-functional-testing
- npm, pnpm, and Yarn/npm-pnpm-yarn
- Prisma/prisma
- Queues/queues
- Recursion/recursion
- Separation of concerns/separation-of-concerns
- Sequelize/sequelize
- Sets/sets
- Sliding window/sliding-window
- Sorting algorithms/sorting-algorithms
- Stacks/stacks
- Testing strategy — pyramid, trophy, patterns (draft)/testing-strategy
- Trees/trees
- Tries/tries
- Two pointers/two-pointers
- TypeScript/typescript
- Zod/zod