|
3 年之前 | |
---|---|---|
.. | ||
app | 4 年之前 | |
README.md | 4 年之前 | |
aiohttp-pg-raw.dockerfile | 4 年之前 | |
aiohttp.dockerfile | 4 年之前 | |
benchmark_config.json | 7 年之前 | |
config.toml | 4 年之前 | |
gunicorn_conf.py | 8 年之前 | |
requirements.txt | 3 年之前 |
The information below is specific to aiohttp. For further guidance, review the documentation. Also note that there is additional information that's provided in the Python README.
This is the Python aiohttp portion of a benchmarking tests suite comparing a variety of frameworks.
All test implementations are located within (./app).
aiohttp with sqlalchemy and separately asyncpg for database access.
uvloop is used for a more performant event loop.
PostgreSQL.
Two variants:
To enabled "RAW" mode set the following environment variable:
export CONNECTION=RAW
This will switch which database engine the app uses to execute queries with tests 2, 3, 4 & 5.
gunicorn+uvloop on CPython
http://localhost:8080/json
http://localhost:8080/db
http://localhost:8080/queries/20
http://localhost:8080/fortunes
http://localhost:8080/updates/20
http://localhost:8080/plaintext