Skip to content
/ daro Public

A high performance Deno web server modeled after Ruby's Roda

License

Notifications You must be signed in to change notification settings

WA9ACE/daro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daro Server

deno doc

Daro is a high performance router and web server for Deno using the optimal routing tree data structure and access lookups by utilizing what is known as a Radix Trie. Daro's development was inspired by Ruby's Roda (hence Ro-da <> Da-ro).

Daro can utilize all cores of a system as each request is handled by a WebWorker. WebWorkers in Deno are backed by a tokio runtime threadpool that produces real OS level threads that can run across all processing cores allowing your application to use all available compute resources on the host. You could think of this library as automatically handling the work that would go in to manually clustering node servers using the Cluster library from Node's standard lib.

Usage

import DaroServer from "https://wa9ace.net/deno/pkg/daro/v0.0.1/mod.ts"

const server = new DaroServer(9001)

server.listen()

Example Middleware

Benchmarks

Contributing

About

A high performance Deno web server modeled after Ruby's Roda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published