Skip to content

matthias-Q/baxum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is just a test to check the simple performance of axum. The backend exposes a REST endpoint for POST on localhost:300/user. The response is equal to the input.

The client creates a NUM_USERS or number of CPU cores detected, random usernames in a vector and sends them to the backend.

How to run

You can start the backend with:

cargo run --release --bin backend

You can start the client with:

cargo run --release --bin client

This will take the cpu core count as the number of users. You can override this with:

NUM_USERS=100 cargo run --release --bin client

About

Learning and benchmarking axum

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages