semiotic-ai / timeline-aggregation-protocol

A fast, efficient and trust-minimized unidirectional micro-payments system.
Apache License 2.0
14 stars 3 forks source link

Investigate running the manager split between multiple services #144

Closed aasseman closed 9 months ago

aasseman commented 1 year ago

Scenario:

aasseman commented 1 year 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:

aasseman commented 1 year ago

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

aasseman commented 9 months ago

Resolved in #194