logger-go
logger-go copied to clipboard
Improve logger client performance
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.