How we built JSR
JSR, the JavaScript Registry, splits into components with different reliability targets: a highly available Postgres cluster behind a Rust/Hyper API on Google Cloud Run targeting 99.9%, and a global CDN for package source and npm tarballs targeting 100% uptime. The jsr.io site uses Fresh's server-side rendering with island hydration and plain HTML forms. TTFB for users far from the US region was cut by eliminating request waterfalls, so no route needs more than one roundtrip between the render server and the API. At publish time, diverse module resolution styles are normalized into an explicit ESM format so consumers never depend on probing.
Related posts
- Introducing JSR - the JavaScript Registry
Deno mediumAdeptJSR, the JavaScript Registry, is in public beta as a free, MIT-licensed, ESM-only registry built for TypeScript that works with Deno and npm-based runtimes like Node, Bun and Cloudflare Workers. Authors publish TypeScript source directly, and JSR generates API docs, .d.ts files and transpiled JavaScript for Node consumers. A walkthrough publishes a small package with jsr.json, consumes it from an Astro project via `npx jsr add`, and sets up GitHub Actions publishing with OIDC tokens and provenance transparency logs. Packages also get a quality score based on documentation, fast-type-checkable declarations and runtime compatibility.
- Server rendering benchmarks: Railway vs Cloudflare vs Vercel
Railway mediumAdeptRunning Theo Browne's SSR benchmark suite (400 requests, 20 concurrent connections, from an EC2 client in us-west-1) against Railway with 10 replicas, Cloudflare Workers and Vercel Functions gave mixed results. Railway won SvelteKit and Vanilla JS by roughly 3-4×, React SSR was close, and Vercel and Cloudflare led on Next.js and the math workload. Bun beat Node on Railway for most tests but lost on math. Next.js is limited to a single CPU core, so it only scales horizontally. Node also builds V8 without a faster trig-function path that Workers enables, and container runtimes cost about 40% versus native, a gap Railway expects a new VM runtime to close.
- The Future (and the Past) of the Web is Server Side Rendering
Deno mediumAdeptServer-side rendering is presented as the answer to bloated client-side apps, with median page weight up 388% on desktop and 1288% on mobile over ten years. The post traces the path from PHP-era server rendering through SPAs and client-side rendering, then back to SSR, weighing the tradeoffs of hydration and favouring islands architecture (used by Deno's Fresh) to ship less JavaScript. A walkthrough in Deno with Oak builds three versions of the same list app: plain Handlebars templating, server-rendered HTML with client-side updates, and isomorphic JavaScript that shares one render function between server (via deno_dom) and client.
- A Whole Website in a Single JavaScript File
Deno mediumAdeptA demo multi-page website fits entirely in one JavaScript file and is server-rendered on demand at the edge with Deno. Routing uses a small `router` module built on `URLPattern`, and JSX is rendered server-side with `nanossr`, which styles via twind. Triple-slash reference comments select exactly which TypeScript libs (dom, dom.asynciterable, deno.ns) are loaded. Hosted on Deno Deploy, the site gets a perfect PageSpeed score and is served from 29 data centers over an anycast IP at no cost.
- Bun 1.3
Bun mediumAdept
Bun 1.3 turns Bun into a full-stack JavaScript runtime. Bun.serve() now includes a built-in frontend dev server with HMR and React Fast Refresh, parameterized routing, and standalone executables for full-stack apps. Bun.SQL becomes a unified client for PostgreSQL, MySQL/MariaDB and SQLite, with Postgres additions such as the simple query protocol, prepare:false for PgBouncer, Unix sockets and sql.array. The release also adds a built-in Redis/Valkey client claimed to be 7.9x faster than ioredis, WebSocket subprotocol negotiation and permessage-deflate, workspace install features and Node.js compatibility fixes.