Build a Typesafe API with tRPC and Deno
tRPC lets a Deno server and client share types through an exported router type, with no schema declarations or code generation.
Topics Backend & APIs
gRPC, Thrift, protobuf, service-to-service calls.
tRPC lets a Deno server and client share types through an exported router type, with no schema declarations or code generation.
Bun v1.1.31 adds a node:http2 server and gRPC server support via @grpc/grpc-js, with node:http2 benchmarked at 128,879 req/s versus 52,785 req/s on Node v23 (2.4x).
Bun v1.0.13 adds client support for the node:http2 module, which unblocks @grpc/grpc-js, and makes Vite 5 and Rollup 4 work by implementing process.report.getReport() for libc detection and fixing a transpiler bug with require() in ternaries.
A Vision Transformer image classifier from Hugging Face Transformers can be served locally with TensorFlow Serving by exporting it as a SavedModel with preprocessing and postprocessing embedded in the graph.
Railway replaced per-request Docker log polling (every 2 seconds, straining the Docker daemon across 500,000+ deployments) with a centralized log pipeline.
Shopify lets third-party extensions add native-feeling UI to its checkout and admin through remote rendering: untrusted extension code defines a UI tree inside a sandbox and sends it to a first-party host over a MessageChannel, and the host renders it with its own components.
Meta built an integration testing framework for back-end services that reuses production containerization and routing to spin up ephemeral test environments, with per-service boundaries where requests go to local services, in-process Python mocks, in-memory replicas, production (read-only) or are blocked.