From 5897781db847bb7b7b294f510e44aeaccfd6af7d Mon Sep 17 00:00:00 2001 From: Luke Van Seters Date: Thu, 21 Oct 2021 15:47:24 -0400 Subject: [PATCH] Update README to add a backfill section --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index cbf11da..ac66cf5 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,28 @@ And stop the listener with: ./mev listener stop ``` +### Backfilling + +For larger backfills, you can inspect many blocks in parallel using kubernetes + +To inspect blocks 12914944 to 12915044 divided across 10 worker pods: +``` +./mev backfill 12914944 12915044 10 +``` + +You can see worker pods spin up then complete by watching the status of all pods +``` +watch kubectl get pods +``` + +To watch the logs for a given pod, take its pod name using the above, then run: +``` +kubectl logs -f pod/mev-inspect-backfill-abcdefg +``` + +(where `mev-inspect-backfill-abcdefg` is your actual pod name) + + ### Exploring All inspect output data is stored in Postgres.