Skip to content

symbols: Reduce number of idle goroutines

Warren Gifford requested to merge ef/reduce-pending-goroutines into main

Created by: efritz

Instead of launching a goroutine that waits on a bounded parser pool for an object, we launch the maximum pool size number of goroutines to service all parse requests, then feed them work on a buffered channel. This should reduce memory as an item in a channel is less expensive than a goroutine (especially when we have 500k of them).

Merge request reports

Loading