Articles

Tech Articles

In-depth articles on AI, web development, cloud native, and indie hacking.

@admin·10 min read·Web Development

WebSocket and Real-Time Web Applications

Chat, collaboration, push notifications, and real-time dashboards need server-initiated delivery, which HTTP handles poorly. This article explains WebSocket fundamentals, when to use it versus SSE or polling, connection management, broadcasts and rooms, Redis Pub/Sub scaling across instances, and common real-time architecture choices.

#Next.js #TypeScript♥ 640 comments
@admin·10 min read·Cloud Native

Redis's Role in Distributed Systems

Redis is more than a cache. In distributed systems it provides locks, rate limiting, messaging with pub/sub and Streams, leaderboards, and session storage. This article explains each use case and its key reliability concerns, including safe lock release, Stream consumer groups, and accurate rate limiting.

#DevOps♥ 650 comments
@admin·4 min read·AI Coding

Coding Agent Context Budget: Keep Key Evidence Without Drowning the Model

A larger context window doesn't mean you should hand the whole repo to the model. This article covers task-level token budgets, layered summaries, evidence references, cache invalidation, and compression-quality checks to keep a coding agent's engineering judgment intact within limited context.

#LLM #AI Agent #TypeScript♥ 00 comments
@admin·8 min read·Cloud Native

Microservices Architecture Patterns and Pitfalls

Microservices are not a silver bullet; a bad decomposition hurts more than a monolith. This article explains the core patterns: service boundaries, interservice communication (synchronous vs. asynchronous), API gateways, service discovery, distributed transactions, observability, and, most importantly, when to use microservices (most teams should not).

#DevOps♥ 660 comments
@admin·15 min read·Web Development

SSO and OAuth 2.0 in Practice

Authentication and authorization underpin every product, yet many developers remain unclear about how OAuth, OIDC, JWT, and sessions relate. This article explains sessions vs. JWTs, OAuth 2.0 flows, OIDC's authentication layer, SSO implementation, token storage, and security so the concepts no longer feel tangled.

#React #DevOps♥ 670 comments
@admin·5 min read·AI Coding

Coding Agent Plugin Admission Review: Permission Inventory, Publisher Provenance, and Update Guardrails

A plugin that behaves correctly now does not guarantee the next automatic update stays read-only on the repo. This article binds extension artifacts, publisher provenance, permission capabilities, and update generations into an admission contract, using isolated canary runs and revocation drills to control IDE, MCP, and Agent plugin supply chains.

#AI Agent #DevOps #Open Source♥ 650 comments
@admin·11 min read·Web Development

GraphQL Production Practices and Pitfalls

GraphQL is flexible and powerful, but production brings pitfalls: N+1 queries, complex-query attacks, difficult caching, and overly coarse authorization. This article covers DataLoader, depth and complexity limits, persisted queries, caching strategies, and field-level authorization.

#Next.js #TypeScript♥ 680 comments
@admin·12 min read·Cloud Native

PostgreSQL Replication and Backup Strategies

Data is life; lose it and you are done. This article explains PostgreSQL high availability and disaster recovery: streaming replication, synchronous vs. asynchronous replication, physical backups with pg_basebackup and WAL archiving, logical replication, the 3-2-1 backup strategy, and recovery drills that help databases withstand failures.

#DevOps♥ 690 comments