router-benchmark
find-my-way
Our great sponsors
router-benchmark | find-my-way | |
---|---|---|
2 | 2 | |
75 | 1,421 | |
- | - | |
0.0 | 6.7 | |
4 months ago | 5 days 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.
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.
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.
What are some alternatives?
matcha - A caffeine driven, simplistic approach to benchmarking.
aws-node-termination-handler - Gracefully handle EC2 instance shutdown within Kubernetes
redis-connection-benchmark - benchmark the overhead of a Redis connection
Bunyan - a simple and fast JSON logging module for node.js services
api-benchmark - A node.js tool to benchmark APIs
point-of-view - Template rendering plugin for Fastify
hyper-express - High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
routing - Maps an HTTP request to a set of configuration variables
plugins - This repository contains plugins for the Routup ecosystem.
linux-scroll-speed-fix - A Chrome app that fixes the slow scroll speed in Chrome for Linux.
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
fast-json-stringify - 2x faster than JSON.stringify()