SShortSingh.
Back to feed

MoroJS Native HTTP Engine Benchmarks Faster Than uWS and Fastify on Node.js

0
·1 views

A new native HTTP engine for Node.js, called @morojs/engine, has been developed to offer a faster built-in alternative to the standard node:http module by reducing C++-to-JavaScript boundary crossings to just 2–4 per request. Benchmarks run on a Node 24.11 environment on an Apple M2 Ultra machine showed the engine achieving around 105,000 non-pipelined requests per second, comparable to uWebSockets.js and Bun, while outperforming raw node:http and Hono. In pipelined tests, the engine reached approximately 663,000 requests per second, roughly 10% ahead of uWebSockets.js, thanks to response corking and batching entire pipelines into a single write operation. The engine uses raw V8 bindings instead of N-API for maximum performance and ships precompiled binaries to ensure day-one compatibility with new Node.js releases, with an automatic fallback to node:http if a binary is unavailable. It carries zero external dependencies and handles query, cookie, multipart, and route-pattern parsing internally, with all parsers subject to regular fuzz testing.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Zero-Budget Framework for Benchmarking AI Coding Models on Side Projects

A developer has published a structured, repeatable workflow for evaluating AI coding assistants without spending money, using free-tier APIs and a disposable git repository. The method replaces the common "vibes-based" approach — testing a model with one prompt and judging it on that alone — with a reusable benchmark suite of five to eight task types. A minimal Python harness captures raw model responses, timestamps, and errors for offline comparison across multiple models and runs. The workflow is designed to be provider-agnostic, removing barriers like API costs and the need for local hardware capable of running large models. By versioning prompts and never tuning them to favour a specific model, the approach aims to surface genuine strengths and weaknesses before any real-world deployment.

0
ProgrammingDEV Community ·

Velero Backup Bug: Kubernetes Tool Silently Omitted PVC Data for Weeks

A homelab operator discovered on June 19, 2026, that Velero had been reporting successful daily backups while never actually capturing any PersistentVolumeClaim data. The tool defaulted to snapshot-based backups, which require a CSI snapshot provider — something NFS and local-path storage classes do not support. Without a snapshot provider, Velero silently backed up only Kubernetes manifests, omitting all application data including Postgres databases, Vaultwarden passwords, and Nextcloud files. The issue was fixed by adding a single line — defaultVolumesToFsBackup: true — to the backup schedule, switching Velero to filesystem-based backup via Kopia, after which backup size jumped from roughly 2 MB to 4 GB. The operator noted that running 'velero backup describe --details' and checking the 'Pod Volume Backups' field is the only reliable way to confirm actual PVC data was captured.

0
ProgrammingDEV Community ·

New Tool Converts Dynamics 365 Task Recordings into Structured Markdown Guides

A developer tool called axtr-to-markdown automates the conversion of Microsoft Dynamics 365 Task Recorder exports into editable Markdown documents. The skill processes recorded user steps, form names, field controls, and action types to produce structured Level 3 or Level 4 process documentation. Output includes sections for purpose, scope, prerequisites, troubleshooting, and a SIPOC analysis draft, reducing manual transcription work for teams. Functional consultants and process owners can then review and enrich the generated draft rather than building documentation from scratch. The tool is designed to support use cases such as end-user training, onboarding guides, UAT test scripts, and SharePoint knowledge articles.