Categorygithub.com/off-chain-storage/GoSphere
repository
1.0.0
Repository: https://github.com/off-chain-storage/gosphere.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Propagation Module

  • 아키텍처

    아키텍처
  • 고려사항

    여기서 범용성이라는 것은 해당 Propagation System이 특정 시스템만을 위해 존재하는 Propagation System이 아니라는 것을 의미

    1. 범용적인 전파 모듈로의 개발을 하기 위해서는 특정 블록체인의 피어가 해당 모듈과의 연결을 시도할 때 등록하는 과정이 있어야 하지 않을까?

      1. Connection Token 발행

        일단 보류

    2. Data-Sink 모듈의 경우, 블록체인 네트워크 내에서 Validator 노드가 검증이 완료되었을 때 해당 블록을 영구 저장하는 것이 가장 합리적이기 때문에 전파 시점에서 저장을 해야하는가에 대한 의문이 존재

      → 블록 검증이 다 되어서, 전파가 완료되었을 때 리더 노드가 블록을 허브로 제공하는 것이 합리적인 구조


1. 개발 언어

→ Golang

2. Framework

→ Go Fiber https://github.com/gofiber/fiber

3. Msg (Block Data) 처리 방식

→ WebSocket

Go Fiber WebSocket Github

Go Fiber WebSocket Docs, Example

4. Message Broker

→ Apache Kafka

  1. https://github.com/confluentinc/confluent-kafka-go - ⭐️ 4.3K

  2. https://github.com/segmentio/kafka-go - ⭐️ 7K

  3. https://github.com/IBM/sarama - ⭐️ 10.8K (이거 사용)

    Example1, Example2, Example3, Example4, Example5