Nate 0096f84ee9 Config for the new toolset (#6259) преди 4 години
..
templates e62a8f5826 Add Quart (#4490) преди 6 години
README.md e62a8f5826 Add Quart (#4490) преди 6 години
app.py 913e2b8444 Select id and randomnumber to match rules requirements (#6072) преди 4 години
benchmark_config.json e62a8f5826 Add Quart (#4490) преди 6 години
config.toml 0096f84ee9 Config for the new toolset (#6259) преди 4 години
gunicorn_conf.py e62a8f5826 Add Quart (#4490) преди 6 години
hypercorn_conf.py e62a8f5826 Add Quart (#4490) преди 6 години
quart-uvicorn.dockerfile 0096f84ee9 Config for the new toolset (#6259) преди 4 години
quart.dockerfile 0096f84ee9 Config for the new toolset (#6259) преди 4 години
requirements-uvicorn.txt 1426bba6b6 Update Python - Quart framework (#5527) преди 5 години
requirements.txt 1426bba6b6 Update Python - Quart framework (#5527) преди 5 години

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