PS: asyncio + uvloop могут выдавать до 100к rps на среднем ноутбуке в один поток, поэтому не это причина ваших 150rps
import uvloop
import asyncio
from aiohttp import web
async def handle(request):
return web.Response(text='Hello')
app = web.Application()
app.add_routes([web.get('/', handle)])
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
web.run_app(app)
Transactions: 50317 hits
Availability: 100.00 %
Elapsed time: 29.15 secs
Data transferred: 1.10 MB
Response time: 0.17 secs
Transaction rate: 1726.14 trans/sec
Throughput: 0.04 MB/sec
Concurrency: 296.96
Successful transactions: 0
Failed transactions: 0
Longest transaction: 3.16
Shortest transaction: 0.00