$audit.Observer
What is $audit.Observer and what is the relationship with [Tutorial] Run your own satellite (part 11) - Satellite auditor and vetting process?
In simplest terms, $audit.Observer is the producer and satellite-modular auditor is the consumer. Records will be store in verification_audits table.
Minimal command to run
./satellite-modular ranged-loop \
--components='$audit.Observer' \
--identity-dir=id/satellite \
--metainfo.database-url "postgres://my_role:123456@127.0.0.1:26257/my_metainfo_database?sslmode=verify-full&sslrootcert=ca.crt" \
--database-options.url "postgres://my_role:123456@127.0.0.1:26257/my_database?sslmode=verify-full&sslrootcert=ca.crt"
By default, this loop run forever and ranged-loop.interval is 2h, if you want to use your own scheduler, use ranged-loop-once instead.
There are 2 knobs need tuning if the number of segment go up:
ranged-loop.parallelism (default 2), raise this up as segments grow, it splits the stream_id space into N equal UUID ranges (CreateUUIDRanges), one goroutine each.
If you raise ranged-loop-parallelism, it also a good idea to raise database-options.max-open-conns (default 5) to appropriate number.
Notice that, audit traffic (from node) is egress traffic - at least for storj, so don’t overshoot it.