From fdf52d8d1ea88bc2b0d5f965a8d2e2f3a89ed592 Mon Sep 17 00:00:00 2001 From: Brian Guarraci Date: Wed, 24 Jan 2024 17:14:38 -0700 Subject: [PATCH] update comment --- examples/stats_logging/stats_client.kg | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/stats_logging/stats_client.kg b/examples/stats_logging/stats_client.kg index 2056742..7d751b8 100644 --- a/examples/stats_logging/stats_client.kg +++ b/examples/stats_logging/stats_client.kg @@ -1,5 +1,10 @@ .comment("****") +A simple fake stats generator client that tries to send 100k stats as fast as possible. + +The server displays writes per second, so if multiple clients are running it will be a naive benchmark. + +On a fast machine, each client can hit around 50k inserts per second. **** @@ -7,10 +12,7 @@ cli::.cli(8888) -:" create a dictionary mapped sensor udpate " -dsensor::{[d];d:::{};d,"t",now();d,"n",,"temp";d,"v",(.rn()*100)} - -:" create a raw sensor update " +:" create a raw sensor update in the columns: t,n,v " sensor::{now(),1,(.rn()*100)} :" send a batch of sensor updates "