0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-01-22 12:38:56 +00:00
Lucio Franco 2b9ad5ccbc server: fix stats sending performance and ns creation (#1440)
* server: create debug logging

* server: fix stats sending performance

This change fixes how we send stats to the pulse server. This is done by
not serially sending stats on the same task that we extract events from.
The reason for this is that if the event buffer (stats_sender) gets full
it will block namespace create requests.

With this change, we now submit stats http requests off the main stats
task and restrict the stats sending to 128 concurrent requests. This
will allow us to accept more create namespace requests and efficiently
send stats.
2024-06-04 17:10:35 +00:00
..
2024-02-06 13:31:17 +00:00