Search
Lessons (30)
- 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 …
- Serverless Architecture
… create an order from an HTTP request import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; import { DynamoDBDocumentClient, PutCommand } from …
- Dynamic Programming
… You didn't recount; you remembered the previous answer. 📘 Dynamic Programming (DP) = "Don't solve the same sub …
- SQL Language, Identifiers & Data Types
Interview answers for DDL/DML/DCL, generated IDs, UNION, static/dynamic SQL and CHAR/VARCHAR. Covers PDF questions …
- AWS Databases: Choose the Right One
… key-value storage DynamoDB is not SQL. You design from the access pattern first: “get order by order …
- SQL vs NoSQL Databases
… four families mermaid mindmap root((NoSQL)) Document MongoDB Firestore JSON documents Key-value Redis DynamoDB get / set by …
- Next.js Rendering: CSR, SSR, SSG, ISR & Server Components
… render on every request export const dynamic = "force-dynamic"; // Pre-build known dynamic routes (like this app does …
- Count, for_each, Functions, and Stable Identities
… Verify expressions with terraform console before embedding complex transformations. Dynamic blocks A dynamic block generates repeated nested blocks …
- DSA Interview Patterns Cheat Sheet
… BFS, DFS, topological sort 6 Heaps, binary search on the answer, intervals 7 Backtracking 8 Dynamic programming Solve …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… By default, a private subnet reaches S3 or DynamoDB through a NAT gateway , which costs money per hour …
- Choosing a Programming Language
… a middle ground. Static vs dynamic typing Static (TS, Go, Rust) Dynamic (Python, plain JS) --- --- --- When type errors …
- Resilience, Disaster Recovery and Multi-Region Design
… Cross-Region Replication (needs versioning; replicates new objects) DynamoDB Global tables with explicitly chosen eventual or strong multi …
- NestJS Core Concepts
… new Date().toISOString(), }); } } Dynamic modules and lifecycle hooks ts @Module({}) export class MailModule { static forRoot(options: { apiKey: string …
- Cost Optimization and the Well-Architected Framework
… add S3 and DynamoDB gateway endpoints; use interface endpoints for heavy services; keep traffic within an AZ. 3 …
- JavaScript Language Fundamentals
… js"; const { readFile } = await import("node:fs/promises"); // dynamic import ES modules CommonJS --- --- --- Syntax import / export require / module …
- State, Remote Backends, and Locking
… Current HashiCorp documentation marks DynamoDB-based locking as deprecated; use native S3 locking for these new examples. See …
- Domain-Driven Design: Strategic Design
… in-house, best people, richest model Personalised recommendations, dynamic pricing 🧰 Supporting Necessary and specific to you, but …
- Hash Maps & Sets
… a"] = (counts["a"] ?? 0) + 1; 💡 Prefer Map for dynamic keys (user IDs, counts). Plain objects have inherited keys …
- Arrays & Strings
… does "amortised O(1)" mean? JavaScript arrays are dynamic : when full, the engine allocates a bigger block (often …
- Recursion & Backtracking
… 12586269025, instantly That idea is the heart of Dynamic Programming (next lesson). --- Backtracking 🧭 Analogy: Solving a maze …
- API Gateway, BFF & Service Discovery
… how services find each other In a dynamic environment, service instances come and go (autoscaling, deploys, crashes), and …
- What Is Software Architecture?
… flexible schema, but weaker multi-document transactions for our use case - DynamoDB: great scale, but complex queries and …
- Frontend Performance & Core Web Vitals
… Spinner / } {showEditor && <ChartEditor / } </Suspense // Next.js const Map = dynamic(() = import("./Map"), { ssr: false, loading: () = <MapSkeleton / }); Next.js already …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… recover from bugs. - Pipes connect a source (SQS, DynamoDB stream) to a target with optional filtering and enrichment …
- Serverless: Lambda and API Gateway
… API Gateway] G -- L[Lambda function] L -- D[DynamoDB or another service] The important settings Setting Plain meaning …
- Structural Patterns: How to Connect Objects
… a coffee. Problem: add responsibilities to an object dynamically , without subclassing for every combination. js // Base function const …
- AWS: Start Here
… ECS, EC2, or Lambda] A -- D[RDS or DynamoDB] A -- S[S3 files] Need AWS service to learn …
- Hexagonal Architecture (Ports & Adapters)
… Admin UI, import job Driven ForStoringLoans ( LoanRepository ) Postgres, DynamoDB, in-memory Driven ForNotifyingMembers ( Notifier ) Email, SMS, push, console …
- Rust: Types, Errors and Concurrency
… Shape (shapes: &[T]) - f64 { shapes.iter().map( s s.area()).sum() } // Dynamic dispatch: mixed types in one Vec …
- Scaling, Load Balancing & Rate Limiting
… Sample targets and choose the better one Large dynamic pools Consistent hash Same key tends to reach the …