Search
Lessons (40)
- Database Relations & Foreign Keys
… Good schemas make invalid states hard or impossible to save.  Quick overview Relationship Meaning Lifetime Everyday example UML …
- DBMS Foundations, Keys & Normalization
… Start from functional dependencies, split tables only when the split preserves necessary relationships, and stop when the design …
- SQL vs NoSQL Databases
Relational tables or flexible documents? Understand how each stores data, the four NoSQL families, ACID vs BASE, and …
- N+1 Queries, Loading & Pagination
Prevent hidden query explosions, load relations intentionally, and paginate large changing lists without scanning the past. The hidden …
- Neural Networks and Deep Learning
… represents an item as a vector, so useful relationships can be reflected in geometric distance. Embeddings are used …
- AWS Databases: Choose the Right One
… If your design requires joins and a transaction across related rows, a relational database is a natural starting …
- DynamoDB Modeling, RDS Scaling and Data Resilience
Design DynamoDB tables around access patterns, then scale and protect relational databases with replicas, proxies and Multi-AZ …
- Inheritance
… is a Parent" is true in every situation. Relationship "is-a"? Inheritance? --- --- --- Dog → Animal A dog is an …
- Composition over Inheritance
… Add a third formatter and you write one class, not two more. Inheritance vs composition Inheritance Composition --- --- --- Relationship …
- Python Web APIs: FastAPI and Django
… owner = models.ForeignKey(settings.AUTH USER MODEL, on delete=models.CASCADE, related name="tasks") title = models.CharField(max …
- Finding Service Boundaries with DDD
… how contexts relate Relationship Meaning --- --- Customer / Supplier Downstream team's needs influence the upstream team's API Conformist …
- Domain-Driven Design: Strategic Design
… how contexts relate A context map shows the bounded contexts and the relationships between them, which are as …
- Code Smells & Refactoring
… One change needs edits in 10 files Move related code together 9 Dead code Unused functions, flags, commented …
- Replication, Partitioning & Sharding
… Prefer colocating related data, asynchronous aggregates and explicit workflows. Do not shard because it sounds scalable; exhaust indexing …
- Authentication, Authorization & API Security
… 5k in their own department" ReBAC (relationship-based) Permissions from relationships "You can edit docs shared with you …
- Normalization & Denormalization
… one fact, one home Normalization organizes a relational database so a fact is stored once, in the table …
- Embeddings, Semantic Search, and RAG
… Texts with related meaning often have vectors that are close under a similarity measure such as cosine similarity …
- Transformers and Large Language Models
… This helps the model relate tokens across a sequence and process many positions in parallel during training. Modern …
- Testing, Preconditions, and Policy Checks
… requires at least two replicas." } } } This checks a relationship between inputs. Resource preconditions and postconditions can block an …
- Providers and Your First AWS Resources
… The references to the bucket ID automatically make the related resources depend on the bucket. Separate resources manage …
- Rust: Ownership, Borrowing and Lifetimes
… They describe relationships so the compiler can check them. If lifetimes get painful, owning the data ( String instead …
- Imports, Moved Blocks, and Safe Refactoring
… importing the bucket alone does not import every related setting. The CLI alternative is terraform import ADDRESS ID …
- Database Internals, Replication and Scaling
… the question you ask Type Good at Example --- --- --- Relational (SQL) Joins, transactions, strict rules Orders, payments Document Flexible …
- AWS Interview Questions: Clear Answers
… I use multiple AZs for availability, while keeping related resources in the same Region to reduce latency and …
- Train Your First Model from Scratch
… Watch for unstable loss; restore a smaller value. - Replace the target with a curved relationship and compare errors …
- What Is Artificial Intelligence? A Developer's Guide
… Predict a delivery duration Regression baseline Learn a relationship from examples Categorize customer messages Rules, then classifier or …
- AI Specialties and Real-World Examples
… A learned ranker can use browsing history and item relationships later. Clicks are influenced by what users were …
- C4 Architecture Diagrams: Context, Container, Component and Code
… 4. Labeled relationships explaining why they communicate. For Acme Shop, this is enough: mermaid flowchart LR Customer["👤 Customer …
- Clean Architecture
… wires it all up Related names you'll hear - Hexagonal Architecture / Ports & Adapters (Alistair Cockburn): same idea. Ports …
- Interfaces vs Abstract Classes
… Loose Tighter (child depends on parent's code) Relationship "can do" ( Comparable , Printable ) "is a kind of" ( a …
- Topics, Partitions & Offsets
… Topics A topic is a named stream of related events: orders , payments , page-views , user-signups . bash kafka …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… Image pull fails but secret retrieval works ECR-related dependencies and their network paths Use the actual task …
- What Is Apache Kafka?
… key, value, timestamp, headers One newspaper story Topic A named stream of related events, e.g. orders A …
- Onion Architecture & Clean vs Hexagonal vs Onion
… postgres, stripe (Hexagonal adapters) How these relate to Layered architecture mermaid flowchart TB subgraph L["Layered: dependencies point …
- Creational Patterns: How to Make Objects
… You never mix a Victorian chair with a Modern sofa. Problem: you need to create families of related …
- IAM Deep Dive: Policy Evaluation, STS and Cross-Account Access
… For each failure, identify whether it concerns the trust relationship, role permissions, resource restrictions, or encryption. Test with …
- NestJS Core Concepts
… Piece Decorator Job Restaurant analogy --- --- --- --- Module @Module Groups related controllers and providers A department (kitchen, bar) Controller @Controller …
- Code Profiling
… If the lookup is genuinely hot, make the relationship explicit: ts const customerNameById = new Map(customers.map((customer …
- Safe AWS Deployments with IaC and CI/CD
… An OIDC trust relationship should limit which repository and workflow context can assume the deployment role. A role …