Encore.ts is an Open Source backend framework for TypeScript, boasting performance numbers 9x faster than Express.js and 3x faster than Bun with Zod. Its architecture leverages a multi-threaded event loop using Rust, and precomputes request schemas to optimize performance. With infrastructure integrations built in Rust, Encore.ts aims to off-load non-business logic from the JavaScript event loop, making backend applications highly optimized for speed and efficiency while maintaining compatibility with Node.js.

7m read timeFrom dev.to
Post cover image
Table of contents
Performance benchmarksBoost #1: Putting an event loop in your event loopBoost #2: Precomputing request schemasBoost #3: Infrastructure IntegrationsConclusion
22 Comments

Sort: