Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Introduce the Gossip protocol for fault tolerance #428

Open
YingHan-Chen opened this issue Jan 9, 2020 · 1 comment
Open

Introduce the Gossip protocol for fault tolerance #428

YingHan-Chen opened this issue Jan 9, 2020 · 1 comment
Assignees
Labels
A-router Area - API routes C-deployment Category - Release deployment and package management C-feature Category - feature P-low Priority - Low, not necessary

Comments

@YingHan-Chen
Copy link
Contributor

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?

@howjmay howjmay added A-router Area - API routes C-deployment Category - Release deployment and package management C-feature Category - feature P-medium Priority - Medium, not hurry but needed labels Jan 10, 2020
@jserv
Copy link
Member

jserv commented Jan 14, 2020

At first glance, I found the following implementations:

  • Pittacus: Its main goal is a data dissemination rather than membership management.
    • Allows to build a fully decentralized P2P cluster without a single server instance.
    • Utilizes UDP for the transport layer.
    • Very tiny and adjustable memory footprint.
    • Small protocol overhead.
    • The data spreading is pretty fast
    • distributed under the Apache License 2.0.
  • libtribe: C++ library for Group Membership and Failure Detection using gossip style protocol.
    • This project is using C++17 features extensively.
@jserv jserv changed the title Feat: Introduce the Gossip protocol to TA Jan 14, 2020
@jserv jserv changed the title Feat: Introduce the Gossip protocol as fault tolerance solution Jan 14, 2020
@howjmay howjmay added P-low Priority - Low, not necessary and removed P-medium Priority - Medium, not hurry but needed labels Jan 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-router Area - API routes C-deployment Category - Release deployment and package management C-feature Category - feature P-low Priority - Low, not necessary
3 participants