The publication, paragraph by paragraph

Find something you read.

Search a project name, a detail, or a topic you half remember.

2 articles shown from 50 published articles. Results link to source passages.

engineering

Bun AOT in Express and Fastify: memory, CPU and serializers

Bun AOT in Express and Fastify: memory, CPU and serializersBun AOT cut app memory by 58% in my Express/SQLite fixture and 54% in Fastify. CPU per completed request fell in Express and rose slightly in Fastify.Open passageHalf the RAM did not guarantee less CPUMemory is macOS physical footprint in decimal MB, including in-process SQLite. It is separate from JavaScript heap, executable size and uniquely occupied machine RAM.Open passageHalf the RAM did not guarantee less CPUBoth fixtures make four prepared SQLite reads and return 2,215 JSON bytes. Each cell has six fresh processes, eight persistent connections, three seconds warmup and eight measured seconds. Express ran separately; Fastify's three serializer policies and two runtimes were interleaved in one balanced batch.Open passage

engineering

How I Defend My Analytics Against Referrer Spam

Tests that made the referrer policy safer to changeThe cross-language review exposed a concrete trap: JavaScript and SQLite do not case-fold every Unicode character identically. We used ASCII-only normalization for malformed retained hostname strings and added Kelvin-sign fixtures to check agreement; newly received HTTP(S) hosts already pass through URL/IDNA parsing. Testing only the TypeScript function would not check agreement with the SQL deciding the published…Open passageTests that made the referrer policy safer to change…counted unless separately excluded. Compare both evaluators TypeScript and SQLite agreed across 9,409 retained-host fixtures , covering the upstream list, local overrides, lookalikes, and malformed historical input. Retained rows remained unchanged. The policy used for review and the policy used for reports agree on the tested cases. Exclude the entire selection A historical fixture returned 0 included, 1 excluded ,…Open passage

Results are passages to inspect, including related material. They do not confirm that a remembered topic appears here. Interactive queries run in your browser. Submitting the plain search form sends its query in the URL to this site.

Dispatch

GK-001

A note when there is signal.

Engineering records, failed experiments, and the life around the work.

Latest articles