DLTcollab / tangle-accelerator

Accelerate IOTA transactions by caching API requests and redirecting to faster alternatives
MIT License
22 stars 16 forks source link

Introduce the Gossip protocol for fault tolerance #428

Open YingHan-Chen opened 4 years ago

YingHan-Chen commented 4 years ago

Description

If multiple Tangle-Accelerators can communicate and disseminate information, some features might be implemented. Gossip protocol might be a solution.

Redirect requests

If one TA could not handle receiving requests due to particular reasons, for example, the connecting IOTA service fails to respond. TA could ask other TA to process those requests.

Ensure the uniqueness of the reattach service

If we could make multiple TA be a cluster, the reattach service could be an optional feature(thread) of TA. One TA must pull the truth that no other TA is running the reattach service before starting the reattach service.

Progress

Is there a recommended library or implementation of the Gossip protocol that we can utilize?

jserv commented 4 years ago

At first glance, I found the following implementations: