An open API service indexing awesome lists of open source software.

https://github.com/d-led/percounter

amateur-ish distributed persistent g-counter
https://github.com/d-led/percounter

crdt crdts g-counter gcounter

Last synced: about 1 year ago
JSON representation

amateur-ish distributed persistent g-counter

Awesome Lists containing this project

README

          

# percounter

> an amateur-ish persistent distributed [G-Counter (grow-only counter)](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type#G-Counter_(Grow-only_Counter))

see tests for usage:

- [synchronous](gcounter_test.go)
- [async in-process](async_gcounter_test.go)
- [async in-process, persistent](async_gcounter_test.go)
- [async distributed (ZeroMQ via tcp), persistent](zmq_single_gcounter_test.go)

initially created to be used in [mermaidlive](https://github.com/d-led/mermaidlive)