Phil Jones 1426bba6b6 Update Python - Quart framework (#5527) 5 gadi atpakaļ
..
templates e62a8f5826 Add Quart (#4490) 6 gadi atpakaļ
README.md e62a8f5826 Add Quart (#4490) 6 gadi atpakaļ
app.py 1426bba6b6 Update Python - Quart framework (#5527) 5 gadi atpakaļ
benchmark_config.json e62a8f5826 Add Quart (#4490) 6 gadi atpakaļ
gunicorn_conf.py e62a8f5826 Add Quart (#4490) 6 gadi atpakaļ
hypercorn_conf.py e62a8f5826 Add Quart (#4490) 6 gadi atpakaļ
quart-uvicorn.dockerfile 1426bba6b6 Update Python - Quart framework (#5527) 5 gadi atpakaļ
quart.dockerfile 1426bba6b6 Update Python - Quart framework (#5527) 5 gadi atpakaļ
requirements-uvicorn.txt 1426bba6b6 Update Python - Quart framework (#5527) 5 gadi atpakaļ
requirements.txt 1426bba6b6 Update Python - Quart framework (#5527) 5 gadi atpakaļ

README.md

Quart Benchmarking Test

This benchmark uses Quart with the default Hypercorn server, and asyncpg for database connectivity (because there is still no good asyncio ORM, sadly).

All code is contained in app.py, and should be fairly self-documenting.

Test URLs

JSON

http://localhost:8080/json

PLAINTEXT

http://localhost:8080/plaintext

DB

http://localhost:8080/db

QUERY

http://localhost:8080/query?queries=

UPDATE

http://localhost:8080/update?queries=

FORTUNES

http://localhost:8080/fortunes