# Blog

> Engineering notes by Anggi Alberto Simarmata on calm TypeScript platforms, real-time data, database migrations, rendering performance and developer interface craft. 16 published posts.

## Posts

### Shipping Dual ESM & CJS TypeScript Packages Without Breaking Consumers

2026-11-18 · Engineering · 6 minute read · Tags: Engineering, TypeScript, Packaging, ESM

A practical playbook for package.json exports maps, declaration resolution, and CI smoke tests that keep Node, Vite, and Bun happy.

Read: [full Markdown](https://callmeenji.com/blog/shipping-dual-esm-cjs-typescript-packages.md)

### Calm WebSocket Reconnection: Jitter, Queues, and Backpressure

2026-11-04 · Realtime · 5 minute read · Tags: Realtime, WebSockets, Reliability, TypeScript

How to avoid thundering herds during deploys and keep real-time UI dashboards responsive when cellular connections drop.

Read: [full Markdown](https://callmeenji.com/blog/calm-websocket-reconnection-patterns.md)

### Zero-Downtime PostgreSQL Migrations on High-Write Tables

2026-10-21 · Databases · 7 minute read · Tags: Databases, PostgreSQL, Migrations

Why ALTER TABLE locks production traffic, and how the expand-and-contract pattern eliminates maintenance windows.

Read: [full Markdown](https://callmeenji.com/blog/zero-downtime-postgres-migrations-at-scale.md)

### Designing Matte, High-Trust Developer Interfaces

2026-10-09 · Design Systems · 4 minute read · Tags: Design Systems, Accessibility, CSS

Notes on visual restraint: hairline borders, purposeful color budgets, and why subtle motion outperforms noisy glow.

Read: [full Markdown](https://callmeenji.com/blog/designing-matte-developer-interfaces.md)

### Rendering 100k Trace Spans at 60fps with 2D Canvas

2026-09-26 · Performance · 6 minute read · Tags: Performance, Canvas, Rendering

Moving heavy timeline views off the DOM, culling invisible rectangles, and staying razor sharp on Retina screens.

Read: [full Markdown](https://callmeenji.com/blog/canvas-flamegraphs-at-60fps.md)

### Pragmatic Monorepo Caching Without Over-Engineering

2026-09-11 · Tooling · 5 minute read · Tags: Tooling, Monorepo, Caching, CI

How a 14-minute CI pipeline dropped to 3.5 minutes using clean package boundaries and content-hashed task graphs.

Read: [full Markdown](https://callmeenji.com/blog/pragmatic-monorepo-caching-without-complexity.md)

### Debouncing Without Losing the Last Event

2026-08-28 · Realtime · 5 minute read · Tags: Realtime, Debouncing, TypeScript, Events

A small pattern for coalescing noisy input while guaranteeing the final value is always handled.

Read: [full Markdown](https://callmeenji.com/blog/debouncing-without-losing-the-last-event.md)

### Indexing JSONB Columns That Actually Get Used

2026-08-14 · Databases · 6 minute read · Tags: Databases, PostgreSQL, Indexes, Query Plans

Expression indexes, containment operators and the query shapes that let PostgreSQL keep a flexible schema without paying for it on every read.

Read: [full Markdown](https://callmeenji.com/blog/indexing-jsonb-columns-that-actually-get-used.md)

### Designing a Token Budget for Dark Interfaces

2026-07-30 · Design Systems · 4 minute read · Tags: Design Systems, Tokens, Accessibility, CSS

How a small, named set of surface and text tokens keeps a dark UI legible without resorting to glow and coloured shadows.

Read: [full Markdown](https://callmeenji.com/blog/designing-a-token-budget-for-dark-interfaces.md)

### Streaming Large JSON Responses to the Browser

2026-07-16 · Performance · 6 minute read · Tags: Performance, Streaming, Fetch, Memory

Reading a big JSON payload incrementally with ReadableStream so the first rows arrive before the last byte does.

Read: [full Markdown](https://callmeenji.com/blog/streaming-large-json-responses-to-the-browser.md)

### A Practical Guide to Content-Hashed Caches

2026-07-02 · Tooling · 5 minute read · Tags: Tooling, Caching, CI, Build Systems

Why task graphs built from explicit inputs beat whole-repo hashes, and how to keep the cache small enough to trust.

Read: [full Markdown](https://callmeenji.com/blog/a-practical-guide-to-content-hashed-caches.md)

### Measuring Layout Shift in Real User Sessions

2026-06-18 · Performance · 5 minute read · Tags: Performance, Web Vitals, Observability, CSS

Turning cumulative layout shift from a lab score into a signal you can trace back to a specific component and release.

Read: [full Markdown](https://callmeenji.com/blog/measuring-layout-shift-in-real-user-sessions.md)

### A Typed Event Bus for Microfrontends

2026-06-04 · Engineering · 7 minute read · Tags: Engineering, TypeScript, Architecture, Events

Keeping cross-app messages versioned and discoverable without turning the event bus into a global wild west.

Read: [full Markdown](https://callmeenji.com/blog/typed-event-bus-for-microfrontends.md)

### Connection Pooling Under Bursty Traffic

2026-05-21 · Databases · 6 minute read · Tags: Databases, PostgreSQL, Reliability, Scaling

Sizing pools for bursts, not averages, and why a longer queue often beats a larger pool.

Read: [full Markdown](https://callmeenji.com/blog/connection-pooling-under-bursty-traffic.md)

### Keyboard-First Navigation for Complex Tables

2026-05-07 · Design Systems · 4 minute read · Tags: Design Systems, Accessibility, Keyboard, UX

Making dense data grids usable without a mouse: roving focus, predictable shortcuts and visible focus rings.

Read: [full Markdown](https://callmeenji.com/blog/keyboard-first-navigation-for-complex-tables.md)

### Building a Simple Feature Flag Service

2026-04-23 · Tooling · 6 minute read · Tags: Tooling, Feature Flags, Node, Architecture

A small flag store with deterministic rollout, local overrides and an audit trail — without adopting a platform.

Read: [full Markdown](https://callmeenji.com/blog/building-a-simple-feature-flag-service.md)

## Archive

- 2026-11-18 — Shipping Dual ESM & CJS TypeScript Packages Without Breaking Consumers
- 2026-11-04 — Calm WebSocket Reconnection: Jitter, Queues, and Backpressure
- 2026-10-21 — Zero-Downtime PostgreSQL Migrations on High-Write Tables
- 2026-10-09 — Designing Matte, High-Trust Developer Interfaces
- 2026-09-26 — Rendering 100k Trace Spans at 60fps with 2D Canvas
- 2026-09-11 — Pragmatic Monorepo Caching Without Over-Engineering
- 2026-08-28 — Debouncing Without Losing the Last Event
- 2026-08-14 — Indexing JSONB Columns That Actually Get Used
- 2026-07-30 — Designing a Token Budget for Dark Interfaces
- 2026-07-16 — Streaming Large JSON Responses to the Browser
- 2026-07-02 — A Practical Guide to Content-Hashed Caches
- 2026-06-18 — Measuring Layout Shift in Real User Sessions
- 2026-06-04 — A Typed Event Bus for Microfrontends
- 2026-05-21 — Connection Pooling Under Bursty Traffic
- 2026-05-07 — Keyboard-First Navigation for Complex Tables
- 2026-04-23 — Building a Simple Feature Flag Service

## Tags

Accessibility, Architecture, Build Systems, Caching, Canvas, CI, CSS, Databases, Debouncing, Design Systems, Engineering, ESM, Events, Feature Flags, Fetch, Indexes, Keyboard, Memory, Migrations, Monorepo, Node, Observability, Packaging, Performance, PostgreSQL, Query Plans, Realtime, Reliability, Rendering, Scaling, Streaming, Tokens, Tooling, TypeScript, UX, Web Vitals, WebSockets

## Feed

**Canonical index:** https://callmeenji.com/blog · **Newest post:** https://callmeenji.com/blog/shipping-dual-esm-cjs-typescript-packages.md

## Continue Reading

- [Home](https://callmeenji.com/index.md): Markdown twin of /
- [About](https://callmeenji.com/about.md): Markdown twin of /about
- [Projects](https://callmeenji.com/projects.md): Markdown twin of /projects
- [Blog](https://callmeenji.com/blog.md): Markdown index of published posts
- [LLM index](https://callmeenji.com/llms.txt): llmstxt.org index of the whole site
- [Full corpus](https://callmeenji.com/llms-full.txt): every page and post body in one file
