find-my-way
router-benchmark
find-my-way | router-benchmark | |
---|---|---|
2 | 2 | |
1,421 | 75 | |
- | - | |
6.7 | 0.0 | |
8 days ago | 4 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
find-my-way
-
Piko router, a lightweight and blazing fast router for PHP
I found libraries in other programming languages that use this approach : matchit (Rust), find-my-way (Javascript), fasthttp (Go) But, curiously, no one in PHP. That's why I decided to bring my contribution to have the same approach in PHP.
-
Open Sourcing URL Shortener
Looking at the benchmarks, Fastify is the clear winner among other Nodejs frameworks. It has faster routing, JSON handling with faster rendering and a bunch of ready-made plugins.
router-benchmark
-
Routup
I got the point of it, but it's really hard to do by just reading the readme. Here I found different routers to compare with, there are two kinds: frameworks like express, fastify, and second kind is framework-independent routers like find-my-way. Routup isn't the first case - not a framework, and not the second case - does more than just a router, so it's somewhere in between.
-
What are some ways that large new sites handle URLs/routing for the shear number of publications they put out on a daily basis?
For static routes e.g. /help or /about, these are loaded into a radix tree structure. There are expensive (memory wise), but still fast when resolving the handler. You can look at benchmarks of popular router implementations and see how they fare with large amounts of static routes.
What are some alternatives?
aws-node-termination-handler - Gracefully handle EC2 instance shutdown within Kubernetes
matcha - A caffeine driven, simplistic approach to benchmarking.
Bunyan - a simple and fast JSON logging module for node.js services
redis-connection-benchmark - benchmark the overhead of a Redis connection
point-of-view - Template rendering plugin for Fastify
api-benchmark - A node.js tool to benchmark APIs
routing - Maps an HTTP request to a set of configuration variables
hyper-express - High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
linux-scroll-speed-fix - A Chrome app that fixes the slow scroll speed in Chrome for Linux.
plugins - This repository contains plugins for the Routup ecosystem.
fast-json-stringify - 2x faster than JSON.stringify()
http-router - :tada: Release 2.0 is released! Very fast HTTP router for PHP 7.1+ based on PSR-7 and PSR-15 with support for annotations/attributes and OpenAPI (Swagger) Specification