Skip to content

bpaterni/simple-blocking-eventlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-blocking-eventlet

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

Installation

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

Usage

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published