Skip to content

Test running requests in parallel against a inboard/FastAPI app

Notifications You must be signed in to change notification settings

bodograumann/fastapi-parallel-testbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Controlling parallel requests in inboard/FastAPI

The server will sleep for a certain amount of time and then return.

Start with

docker build -t fastapi-parallel .
docker run -p 80:80 --rm --name fastapi-parallel fastapi-parallel

Run a request with (or many in parallel)

curl http://localhost/sleep

To enable concurrency use

curl http://localhost/asyncsleep

instead.

About

Test running requests in parallel against a inboard/FastAPI app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published