Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
briangu committed Jan 25, 2024
1 parent b08f086 commit 978d532
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/stats_logging/stats_server.kg
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

A simple stats server that collects stats from clients.

Periodically (every 1 minute), the write stats are printed.
Periodically (every 5 minutes), the database is flushed to disk.

Multiple clients can connect and write stats.
On a fast machine, each client can write about 40-50k data points per second.

The database is flushed to disk periodically.
A 'head.kg' client can be run to query the server and see the latest data.

****

Expand Down

0 comments on commit 978d532

Please sign in to comment.