2019-06-10 09:17:12 -07:00
2019-06-10 08:21:18 -07:00
2019-06-10 08:21:18 -07:00
2019-04-19 00:42:23 +02:00
2019-06-07 14:19:44 -07:00
2019-06-07 14:11:22 -07:00
2019-06-07 14:11:22 -07:00
2019-06-10 09:17:12 -07:00
2019-06-07 14:11:22 -07:00
2019-06-06 07:35:18 -07:00
2019-06-10 09:48:51 +08:00
2019-06-10 09:17:12 -07:00
2019-06-10 09:17:12 -07:00
2019-06-07 14:11:22 -07:00
2019-06-07 14:11:22 -07:00

Minimal Viable Data Sync

⚠️ This code is not production ready, race conditions are likely to occur ⚠️

Experimental implementation of the minimal viable data sync protocol specification.

Usage

Prerequisites

Ensure you have protoc (Protobuf) and Golang installed. Then run make.

Simulation

In order to run a very naive simulation, use the simulation command. The simulation is configurable using various CLI flags.

Usage of simulation/simulation.go:
  -communicating int
    	amount of nodes sending messages (default 2)
  -interactive int
    	amount of nodes to use INTERACTIVE mode, the rest will be BATCH (default 3)
  -interval int
    	seconds between messages (default 5)
  -nodes int
    	amount of nodes (default 3)
  -offline int
    	percentage of time a node is offline (default 90)
  -sharing int
    	amount of nodes each node shares with (default 2)

License

This project is licensed under the MIT License - see the LICENSE file for details

Description
No description provided
Readme MIT 4.6 MiB
Latest
2019-11-05 11:54:20 -05:00
Languages
Go 98.4%
Makefile 1.6%