This repository hosts a demo application which hosts a simple tokio webserver which is showing a simple website with statistics data. The generated load is internal (sleep/channels) and external (redis).
The easiest way is to use the docker-compose file by just starting:
docker-compose up
this should spawn a network including a redis server and the tokio web app. The latter is exposed on http://127.0.0.1:8123
.
Otherwise, you can also build the app yourself. The only thing that you need to provide is a URL to connect redis to, by specifying the environment variable: REDIS_URL=redis://127.0.0.1:6379
(which is also the default variable).