rekor icon indicating copy to clipboard operation
rekor copied to clipboard

Visualize growth of Rekor log over time

Open imjasonh opened this issue 3 years ago • 3 comments

Similar to #466

To show growth of usage of Rekor, and to promote a sense of trust in the project, I think it would be useful to have a graph somewhere on the public site showing Rekor's log size over time.

This information can be reconstructed from previous log entry timestamps, and periodically (daily?) regenerated and put somewhere where rekor.sigstore.dev can embed it from.

Technically it doesn't have to even be done by Rekor itself, but rekor.sigstore.dev seems like a useful public place to show it.

imjasonh avatar Dec 02 '21 15:12 imjasonh

I wrote up a quick script to try this out and it looks like this currently:

image

Here's the script:

last=928224 # just get this from rekor-cli loginfo
dec=1000 # this is the step size, could make it coarser or finer


for ((i=$last-$dec; i>0; i=$i-$dec)); do
  ts=$(./rekor-cli get --log-index=$i --format=json | jq .IntegratedTime)
  echo "$i,$ts" >> timestamps.csv
done

Then I uploaded the CSV to a google sheet, converted the UNIX timestamps to dates with this silly little formula: https://stackoverflow.com/questions/45227380/convert-unix-epoch-time-to-date-in-google-sheets

and plotted it.

You can pretty clearly see @priyawadhwa's little "load test" from a few months ago :)

dlorenc avatar Dec 09 '21 16:12 dlorenc

Filtering to the time after that, you can start to see some decent growth! image

dlorenc avatar Dec 09 '21 16:12 dlorenc

Thought I would drop in this link from @SantiagoTorres since it includes related rekor visualizations: https://medium.com/@torresariass?p=1950b7c150df

jspeed-meyers avatar Jan 31 '22 18:01 jspeed-meyers