This app is meant to test/demonstrate a bug(?) seen when MS SQL Server is hit with many asynchronous requests. This project is meant to be a stripped down MCRE of flask-app-simple-blocking-eventlet
Some work has been done to hopefully make this demo app easy to use, but there is some setup involved. To run with different database backends, you'll need access to MSSQL and/or PostgreSQL databases. The respective docker containers are useful here:
Also, to connect to a SQL Server database, the ODBC client driver from Microsoft is required:
Install software dependencies:
# pipenv sync
Once database dependencies are acquired, you should be ready to execute the a simple demo:
## Start dockerized SQL Server
$ ./start-mssql
## execute application
$ pipenv run python app.py