Closed aasseman closed 9 months ago
TAP updates the available collateral at every received receipt in memory, but if we split TAP between multiple indexer-service instances, there is no reasonable way to do those real-time updates. Here are a few solutions that we are considering:
For now, we'll implement solution 1 into hopeyen/indexer-service-rs, which is to give up on the possibility of HA indexer-service. We'll reconsider the other solutions at a later stage in development, depending on the practicality of imposing a single indexer-service instance, as well as performance benchmarks
Resolved in #194
Scenario:
indexer-service
instances run their own manager to receive the receipts, do initial checks and store into a DBindexer-agent
, or a new one dedicated to this) manages the final receipt checks (pulling from DB) and RAV requests.