← All writing
Topic
Node.js
4 articles tagged Node.js.
Most of My Traffic Was Bots - and My Analytics Counted Every One
My digest reported 41 page views. The nginx logs reported Googlebot, Applebot and Baiduspider. A twelve-day audit of a JavaScript page-view beacon, and the schema decision that keeps the history honest.
AnalyticsBotsObservabilityNode.js
Polling, SSE or WebSockets: Picking a Transport for Live Updates
Two tools on this site push live updates, and only one of them warranted a socket. How to choose between polling, Server-Sent Events and WebSockets.
Real-timeWebSocketsNode.jsArchitecture
A Real-Time Webhook Inspector with Fastify & WebSockets
Build a tool that gives you a unique URL and streams incoming HTTP requests to your browser live - Fastify, WebSockets, and the nginx gotcha.
FastifyWebSocketsNode.jsTools
Preventing SSRF in Node.js: Safe Outbound Requests from User Input
Any time your server fetches a user-supplied URL you risk SSRF. How the attack works and how to shut it down - including the redirect gotcha.
SecurityNode.jsBackend