This is just a snapshot of what a high throughput Datomic transactor config looks like (with credentials/region, etc. settings elided).
I do not recommend cargo culting these settings for lower throughput systems. In those cases you should prefer the defaults.
Please refer to the capacity planning docs for a more nuanced understanding.
Warnings out of the way, here is how to use these reference settings:
- If you're not getting enough throughput, linearly scale your performance settings from the defaults to these higher throughput settings.
- Measure your performance via logs and metrics to verify performance is improving whenver you change settings.
- Only accept those changes if performance improves!
- Check to make sure your peers are transacting data in a way that accommodates high throughput as described here.
- If you see
:StoragePutMsec
latencies increase, or see:StoragePutBackoffMsec
, then you need to address storage provisioning.