francesco 2567c06cd6 Update ultimate-express-postgres.dockerfile 7 months ago
..
database f749c9fa37 feat: add ultimate express (#9390) 8 months ago
README.md f749c9fa37 feat: add ultimate express (#9390) 8 months ago
app.js f749c9fa37 feat: add ultimate express (#9390) 8 months ago
benchmark_config.json f749c9fa37 feat: add ultimate express (#9390) 8 months ago
clustered.js f749c9fa37 feat: add ultimate express (#9390) 8 months ago
config.js f749c9fa37 feat: add ultimate express (#9390) 8 months ago
package-lock.json 56e48107f5 Update package-lock.json 7 months ago
package.json 8a34263a2b Update package.json 7 months ago
ultimate-express-mysql.dockerfile 1641fb2e10 Update ultimate-express-mysql.dockerfile 7 months ago
ultimate-express-postgres.dockerfile 2567c06cd6 Update ultimate-express-postgres.dockerfile 7 months ago
ultimate-express.dockerfile f749c9fa37 feat: add ultimate express (#9390) 8 months ago

README.md

UltimateExpress Benchmarking Test

The Ultimate Express. Fastest http server with full Express compatibility, based on µWebSockets.

Important Libraries

The tests were run with:

Database

There are individual handlers for each DB approach. The logic for each of them are found here:

There are no database endpoints or drivers attached by default.

To initialize the application with one of these, run any one of the following commands:

$ DATABASE=postgres npm start
$ DATABASE=mysql npm start

Test Endpoints

Visit the test requirements here

$ curl localhost:8080/json
$ curl localhost:8080/plaintext

# The following are only available with the DATABASE env var

$ curl localhost:8080/db
$ curl localhost:8080/fortunes

$ curl localhost:8080/queries?queries=2
$ curl localhost:8080/queries?queries=0
$ curl localhost:8080/queries?queries=foo
$ curl localhost:8080/queries?queries=501
$ curl localhost:8080/queries?queries=

$ curl localhost:8080/updates?queries=2
$ curl localhost:8080/updates?queries=0
$ curl localhost:8080/updates?queries=foo
$ curl localhost:8080/updates?queries=501
$ curl localhost:8080/updates?queries=

$ curl localhost:8080/cached-worlds?count=2
$ curl localhost:8080/cached-worlds?count=0
$ curl localhost:8080/cached-worlds?count=foo
$ curl localhost:8080/cached-worlds?count=501
$ curl localhost:8080/cached-worlds?count=