All workCase study — 04 / 04
Nural
- Field
- Open source
- Platforms
- BackendOpen source
- Services
- Framework designPerformance engineeringDeveloper experience
- Status
- Open source
server.ts
import { app } from "nural" app.get("/users/:id", async (req) => { const user = await db.users.find(req.params.id) return user ?? app.notFound() }) app.listen(3000)
Latency — last hour
p50p9914:0014:3015:00
Terminal
$ npx nural new api✓ Project created✓ Routes compiled✓ Types generated$ nural devListening on http://localhost:3000
Backend framework work, built for raw performance.
(01)Overview
Nural is backend framework work, built for raw performance without giving up a pleasant developer experience.
(02)The challenge
Fast frameworks tend to be hard to use, and friendly ones tend to be slow. Teams end up trading throughput for productivity.
server.ts
import { app } from "nural" app.get("/users/:id", async (req) => { const user = await db.users.find(req.params.id) return user ?? app.notFound() }) app.listen(3000)
(03)Our approach
We kept the core small and measured everything: routing, serialisation and I/O tuned against benchmarks, behind an API that reads like plain code.
Latency — last hour
p50p9914:0014:3015:00
(04)The outcome
A lean, open foundation for services that need to stay fast as they grow.
Terminal
$ npx nural new api✓ Project created✓ Routes compiled✓ Types generated$ nural devListening on http://localhost:3000
- 01Framework design
- 02Performance engineering
- 03Developer experience
Next project01 / 04
TravelOscar Trips
oscartrips.sevirial.com
