---
title: "The modern way to write JavaScript servers"
url: https://daily.dev/posts/the-modern-way-to-write-javascript-servers-1wrdhdq8l
source_url: https://marvinh.dev/blog/modern-way-to-write-javascript-servers/
type: article
source: "Marvin Hagemeister"
published: 2025-01-25T01:09:23.301Z
updated: 2025-01-25T01:09:36.275Z
tags: ["webdev", "javascript", "nodejs", "deno"]
reading_time: 4
upvotes: 57
comments: 3
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The modern way to write JavaScript servers

**[Marvin Hagemeister](https://daily.dev/sources/marvinh)** · 4 min read · 57 upvotes · 3 comments

## Summary

The Request/Response API offers a modern approach to writing JavaScript servers that simplifies testing and improves performance by eliminating the need to bind sockets. This API, familiar from browsers, allows servers to be expressed as functions returning responses, resulting in significant speed improvements. While Node.js hasn't yet fully adopted this API, frameworks like SvelteKit have effectively integrated it, making development smoother across different runtimes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://marvinh.dev/blog/modern-way-to-write-javascript-servers/>

## Community discussion

Top comments from developers on daily.dev.

**@azelytof** · 1 upvotes

> I do not really understand...
> If you don't have the serveur to catch requests and sending it to the right endpoint, it is not really useful, isn't ?

**@martinszeltins** · 0 upvotes

> nitro.build

**@hinogi** · 0 upvotes

> I am so comfortable with NestJS but so intrigued by Deno at the same time. HELP :D

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#nodejs](https://daily.dev/tags/nodejs), [#deno](https://daily.dev/tags/deno)

[View this post on daily.dev](https://daily.dev/posts/the-modern-way-to-write-javascript-servers-1wrdhdq8l)
