perf: batch access-log writes instead of goroutine+insert per request #76

Closed
opened 2026-07-02 00:20:17 +10:00 by unkinben · 0 comments
Owner

Every request spawns a goroutine doing a 5s-timeout DB insert (internal/proxy/engine.go:326). Under load this is unbounded goroutines and connection-pool pressure. Feed a buffered channel to a batch writer.

Every request spawns a goroutine doing a 5s-timeout DB insert (`internal/proxy/engine.go:326`). Under load this is unbounded goroutines and connection-pool pressure. Feed a buffered channel to a batch writer.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/artifactapi#76