Andrea Maria Piana 87839f9f3a Don't retun error on removing state when receiving messages
When receiving messages the state for the message is removed.
If no state is found an error was thrown.
This should not cause an error as that's an ok scenario.
Also changes the parsing of the flags from init to a custom method, as I
bumped in this issue https://github.com/golang/go/issues/31859
2019-10-07 12:35:15 +02:00
2019-08-29 08:10:45 +02:00
2019-08-29 08:10:45 +02:00
2019-08-29 08:10:45 +02:00
2019-04-19 00:42:23 +02:00
2019-08-20 20:06:35 +02:00
2019-08-29 08:10:45 +02:00
2019-08-29 08:10:45 +02:00
2019-08-24 16:49:46 +02:00

Minimal Viable Data Sync

Version MIT License API Reference Go Report Card Build Status

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 main.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%