Denys Y
08/27/2025, 11:22 AMMarvin
08/27/2025, 11:22 AMresearch_prefect_topic
📊 Tools used:
• check_cli_command
(1x)
• display_callable_signature
(2x)
• explore_module_offerings
(3x)
• read_github_issues
(1x)
• research_prefect_topic
(2x)
• search_github_discussions
(1x)Brendan Dalpe
08/27/2025, 2:21 PMDenys Y
08/27/2025, 2:34 PMDenys Y
08/27/2025, 2:34 PMtr, pr = await connector
2025-08-26 17:15:01.280
File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 931, in __connect_addr
2025-08-26 17:15:01.280
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-08-26 17:15:01.280
return await __connect_addr(params, True, *args)
2025-08-26 17:15:01.280
File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 886, in _connect_addr
2025-08-26 17:15:01.280
^^^^^^^^^^^^^^^^^^^^
2025-08-26 17:15:01.280
conn = await _connect_addr(
2025-08-26 17:15:01.280
File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 1049, in _connect
2025-08-26 17:15:01.280
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-08-26 17:15:01.280
return await connect_utils._connect(
2025-08-26 17:15:01.280
File "/usr/local/lib/python3.12/site-packages/asyncpg/connection.py", line 2421, in connect
2025-08-26 17:15:01.280
Traceback (most recent call last):
2025-08-26 17:15:01.280
15:15:01.245 | ERROR | prefect.server.services.failexpiredpauses - Unexpected error in: TimeoutError()
2025-08-26 17:15:01.280
TimeoutError
2025-08-26 17:15:01.280
raise TimeoutError from exc_val
2025-08-26 17:15:01.280
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
2025-08-26 17:15:01.280
^^^^^^^^^^^^^^^^^^^^^^^
2025-08-26 17:15:01.280
async with compat.timeout(timeout):
2025-08-26 17:15:01.280
File "/usr/local/lib/python3.12/site-packages/asyncpg/connection.py", line 2420, in connect
2025-08-26 17:15:01.280
^^^^^^^^^^^^
Brendan Dalpe
08/27/2025, 2:35 PMDenys Y
08/27/2025, 2:36 PMDenys Y
08/27/2025, 2:36 PMBrendan Dalpe
08/27/2025, 2:50 PMBrendan Dalpe
08/27/2025, 2:51 PMt
series is a burstable instance type. This means you get a certain amount of CPU credits on an hourly basis. Once you exceed your available credits, your instance will be throttled. This is most likely why you're seeing slowness after a period of sustained DB writes.
I would recommend you look at using something like db.c6gd.large
for your RDS instance type. This will give you the same CPU and memory resources as the db.t4g.medium
instance type, but the c
series instance does not burst and you receive a higher performance baseline.Denys Y
08/27/2025, 2:53 PM