01 · Kiến trúc hệ thống
Bằng Claude Code: Từ request đến response -
mọi layer đều trong tầm kiểm soát.
Không học code — bạn hiểu kiến trúc, Claude Code sẽ code toàn bộ hệ thống backend vận hành, debug, và mở rộng một cách có kiểm soát.
01
Database Design
Schema design, normalization, transactions, indexing, migration strategy
PostgreSQLIndexingMigration
02
RESTful API
Nestjs framework, controller-service-repository pattern, request validation, API versioning, OpenAPI spec
Nest.jsRESTOpenAPI
03
Authentication & Security
JWT access token + refresh token, bcrypt password hashing, RBAC design, chống SQL Injection, XSS, CSRF, rate limiting
JWTOAuth2Security
04
Queue & Schedule
BullMQ producer → queue → worker, retry với exponential backoff, job scheduling (cron-style), dead letter queue handling, real-time job progress với Socket.io
BullMQCronRetry
05
Cache & Performance
Redis caching với string, hash, sorted set, cache invalidation strategy, application-level cache middleware, CDN cho static assets, profiling Node.js với 0x
RedisCDNBenchmark
06
Middleware & Gateway
Custom middleware chain, CORS, rate limiting, request logging
ExpressNginxCORS
07
Logs & Monitoring
Winston logging với các level và transports, monitoring với Prometheus và Grafana, alerting với Alertmanager
WinstonPrometheusGrafana
08
Error Handling
Global error filter, custom exceptions, logging lỗi chi tiết, Circuit breaker pattern với opossum, retry với exponential backoff, graceful shutdown sequence
Circuit BreakerFallbackRetry