Danilo Pereira
Danilo Pereira
While this works ``` @routes.get('/health') @inject async def health(_: web.Request, async_session: SessionMaker = Provide[Container.session_maker]) -> web.Response: async with async_session() as session: query = text('select version(), current_database(), current_user, session_user') res =...
Considering that layer contains only the dependencies, we could just cache e avoid redeploy according to "Pipfile.lock", it is possible?
Parse Json and validate schemas are CPU bound tasks. Parse and validate long bodies can impact the reactivity of the event loop. Use a ThreadPoolExecutor is a simple and eficient...
Consering the fact asyncio frameworks supports connection pooling, theres no reason to use pgbouncer alongside asyncio