logger-go icon indicating copy to clipboard operation
logger-go copied to clipboard

Improve logger client performance

Open kolin-newby opened this issue 3 years ago • 0 comments

Right now the a-sync workers pile up waiting for the mutex to unlock so they can have their turn to use the one universal logger http client to send their ndjson bundle. This can cause a delay of a matter of minutes from the processing of a request by the API and the arrival of that log in Resurface. I suspect one way we could improve this is by creating a system of clients that allows us to have several clients operating independently without creating too many clients, which would up use all of the databases available connections.

kolin-newby avatar Dec 08 '21 20:12 kolin-newby