Search
Lessons (40)
- Kafka Producers
… event ID, type, schema version - [ ] A schema (Avro/Protobuf/JSON Schema) with compatibility rules - [ ] Flush and close the …
- Prompting and Structured Outputs
… Return only an object matching the provided schema. Input: <support message Keep instructions separate from data where the …
- DRY: Don't Repeat Yourself
… schema<br/ userSchema"] -- F[Frontend form validation] S -- B[Backend request validation] S -- T[TypeScript types] ts // schemas …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… contracts for events Stores versioned Avro / Protobuf / JSON Schema definitions for each topic and enforces compatibility rules , so …
- AWS Data Pipelines in Plain Language
… A crawler can help discover schemas, but automatically inferred schemas still require review. For larger data, partition by …
- Kafka for Backend Services
… Use a Schema Registry with Avro, Protobuf or JSON Schema and compatibility mode BACKWARD , and check compatibility in …
- Releases, Observability and Production Safety
… old code on new schema, new code on old schema. 3. Measure customer failures , time to detect , time …
- Extending Kubernetes: CRDs, Operators and Admission
… status: {} schema: openAPIV3Schema: type: object properties: spec: type: object required: [schedule, target] properties: schedule: { type: string } target: { type …
- Month 3: LLM Engineering (Weeks 9-12)
… force the model to return JSON that matches a schema. Use the provider's native structured output or …
- Event-Driven Architecture
… Schema changes break consumers Schema registry, versioning, backward-compatible changes Hidden coupling via event contents Treat event schemas …
- Safe AWS Deployments with IaC and CI/CD
… For a database schema change, the old application may no longer work with the new schema. Use backward …
- Running Kafka in Production: The DevOps View
… the Schema Registry can reject a new event schema that would break existing consumers before it ever reaches …
- SQL vs NoSQL Databases
… Using several databases for different jobs is called polyglot persistence . Key takeaways - SQL: tables, schemas, JOINs and ACID …
- TypeScript Essentials
… Validate it with a schema library and derive the type from the schema, so there's one source …
- Big Data: ETL, Warehouses and Streaming
… event as-is, with an event ID , a schema version (which format it's in), and the time …
- REST API Design
… true, schema: { type: string } } responses: "200": { description: The user, content: { application/json: { schema: { $ref: " /components/schemas/User" } } } } "404 …
- Vertical Slice Architecture & the Modular Monolith
… 3. No reaching into another module's tables. Each module owns its schema. 4. Modules communicate through public …
- TypeScript in Practice
… A schema library (Zod, Valibot, ArkType) checks the data and produces the type: ts import { z } from "zod …
- Monolith vs Microservices
… each module has its own folder, public interface and (ideally) its own database schema. Modules talk only through …
- REST vs GraphQL vs gRPC
… exactly the fields asked for ✅ The server defines a schema (a typed contract) and resolvers (functions that fetch …
- Message Delivery: Queues, Kafka, Ordering and DLQs
… 2. Check its schema (does it have the fields and types we expect?). 3. Do the business write …
- CQRS & Event Sourcing
… save state every N events, then replay only newer events Event schemas change over time Versioned events, upcasters …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… off and recurring tasks at scale. - Register schemas in the schema registry to keep producers and consumers aligned …
- Advanced TypeScript for Frontend
Model real UI states safely with generics, discriminated unions, conditional types and runtime schema validation at API boundaries …
- AI Agents and Tool Use
… Check identity, authorization, schema, limits, and business rules in regular code. Require confirmation for sensitive or irreversible actions …
- Putting AI Systems into Production
… For structured responses, parse against a schema and reject or repair invalid values within a limited policy. Do …
- Cross-Service Data: How to Join Without a Database JOIN
… It protects independent deployment, schema ownership and service autonomy. The answer is not to create a shared database …
- Count, for_each, Functions, and Stable Identities
… inside a resource, when that resource's provider schema requires them. It does not create separate resource instances …
- Dependencies, Data Sources, and Resource Lifecycle
… Provider schemas determine which argument changes require replacement. For a critical managed resource, a lifecycle block can help …
- Database Relations & Foreign Keys
… Good schemas make invalid states hard or impossible to save. ![Relations: foreign keys connect one-to-one, one …
- Domain-Driven Design: Strategic Design
… JSON Schemas, Avro events Separate Ways No integration at all; duplicate if needed Integration costs more than it …
- Secrets, Ephemeral Values, and Least Privilege
… Check the exact resource schema and provider release before using this pattern. Terraform cannot compare old and new …
- Scalable Frontend Architecture
… boundary } This makes authentication, tracing, error handling and schema changes consistent. Keep browser secrets out of this layer …
- Drift, Troubleshooting, and Disaster Recovery
… stale Unexpected replacement Resource address, changed keys, provider schema, version diff Correct configuration or add a planned migration …
- Real-Time, Pub/Sub, Webhooks and CDC
… event should carry - Event ID: to spot duplicates. - Schema version: which shape of message this is. - Ordering key …
- S — Single Responsibility Principle
… E D["🗄️ DBA<br/ 'change the table schema'"] -- E E -- Boom["💥 Three teams editing one file<br …
- Developer Learning Plan and Document-Assistant Capstone
… in regular code? Permissions, business invariants, timeouts, budgets, schema checks, and side-effect handling. Key takeaways - Learn through …
- Service Communication: Sync vs Async
… 1 }] } } 💡 Give every event an ID (for idempotency), a type , a version (for schema evolution) and a timestamp …
- Month 6: Reliability, Security, Fine-Tuning and Production (Weeks 21-24)
… Example Speed and cost --- --- --- Code-based checks Valid schema, has a citation, under 200 words Fast, free, exact …
- What Is Software Architecture?
… flexible schema, but weaker multi-document transactions for our use case - DynamoDB: great scale, but complex queries and …