-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Issues:
- Writing individual records to postgres saturates connection pool (see also: Allow configuration of max database connections per coderd coder#21360), adds resource pressure on postgres
- Batch postgres writes
- JSON marshaling in AI libs is a source of high allocs
- Fork libs and use more efficient JSON library
- If
CachedBridgePoolfills up and thrashes, it can add significant latency- Set pool size high by default: perf: increase bridge pool cache size limit coder#21399