Skip to main content

⌘K quick nav

Back to portfolioBack
Case studiesBlogContact
Arman Hazrati

Technical Articles

Insights, tutorials, and deep dives into full-stack development, system architecture, and engineering best practices

  1. Home
  2. /Blog

Showing posts tagged Architecture · Clear filter

NestJSRBACArchitecture

Northstar: When Authorization Logic Split Across Two Layers

A postmortem-style writeup from building Northstar — mixed RBAC surfaces, workflow rules in services, and moving notifications off the request path.

Jun 1, 2026
3 min read
WebSocketsScalabilityArchitecture

Scaling WebSocket Infrastructure: How to Design for Massive Concurrency

A deep dive into the architecture patterns, challenges, and tradeoffs involved in scaling WebSocket infrastructure to hundreds of thousands of concurrent connections with low latency.

Aug 10, 2024
6 min read
AllArchitectureBackendBest PracticesCode QualityDevelopmentFrontendNestJSNext.jsNorthstarOptimizationPerformancePostmortemRBACReal-TimeScalabilityType SafetyTypeScriptWeb VitalsWebSockets