Engineering blog

Notes on the backend problems I keep meeting.

These are short notes on the problems I meet more than once: slow request paths, unreliable real-time delivery, leaky DTOs, surprising ORM queries, and small utilities with uncomfortable edge cases.

Read this first

Why an old order must keep its old cost

The accounting decision behind Zyzy’s order-line snapshots, and what a catalog price change should never rewrite.

3 min readEngineering note

All notes

Performance, data, and delivery.

Engineering note

3 min read

Why an old order must keep its old cost

The accounting decision behind Zyzy’s order-line snapshots, and what a catalog price change should never rewrite.

ZyzyPostgreSQLAccountingTransactions
Read note →

Engineering note

3 min read

Why GBT’s chart pipeline is separate from order execution

One market event can update a chart and influence a financial workflow. Those responsibilities need different boundaries.

GBT MarketNestJSRedisMongoDBReal-time systems
Read note →

Engineering note

3 min read

How I Think About Backend Performance

A practical field guide for improving API latency without breaking business behavior or hiding cost in another layer.

backendperformancepostgresqlredis
Read note →

Engineering note

2 min read

Building Real-Time Systems That Stay Maintainable

Real-time features stay healthy when transport, domain events, persistence, and delivery guarantees are treated as separate concerns.

realtimerabbitmqwebsocketarchitecture
Read note →

Engineering note

2 min read

NestJS and Kafka: Boundaries and Retries

How I approach NestJS microservices: service boundaries first, transport second, and operational behavior always visible.

nestjsmicroserviceskafkaarchitecture
Read note →

Engineering note

2 min read

Designing Safe Object Utilities in TypeScript

Small TypeScript utilities become reliable when null behavior, path parsing, mutation rules, and tests are designed up front.

typescriptutilitiespackage-designtesting
Read note →

Engineering note

2 min read

NestJS Validation and DTO Boundaries

Validation in NestJS works best when DTOs describe transport input, services own business rules, and transformation is deliberate.

nestjsvalidationdtotypescript
Read note →

Engineering note

2 min read

TypeORM Relationships and Database Reality

ORM relationship decorators are only trustworthy when they match the actual database constraints, indexes, and query behavior.

typeormpostgresqldatabase-designdebugging
Read note →