File tree Expand file tree Collapse file tree 6 files changed +8
-228
lines changed
Expand file tree Collapse file tree 6 files changed +8
-228
lines changed Original file line number Diff line number Diff line change 1- // Package chotki provides AtomicCounter - a high-performance atomic counter implementation
1+ // Provides AtomicCounter - a high-performance atomic counter implementation
22// for distributed systems with CRDT semantics.
33//
44// # AtomicCounter Architecture
6060// // With cache: may still return 5 until cache expires
6161// // Without cache: immediately returns 15 (5 + 10)
6262// ```
63-
6463package counters
6564
6665import (
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- // Package network provides a high-performance TCP/TLS server and client implementation
1+ // Provides a high-performance TCP/TLS server and client implementation
22// for real-time asynchronous communication. This package is designed for continuous
33// bidirectional message streaming with high throughput and low latency, unlike
44// traditional request-response patterns (like HTTP).
Original file line number Diff line number Diff line change 1- // Protocol format is based on ToyTLV (MIT licence) written by Victor Grishchenko in 2024
2- // Original project: https://github.com/learn-decentralized-systems/toytlv
3-
41/*
5- Package protocol implements a compact TLV (Type-Length-Value) encoding format optimized for efficiency.
2+ Implements a compact TLV (Type-Length-Value) encoding format optimized for efficiency.
3+
4+ Protocol format is based on ToyTLV (MIT licence) written by Victor Grishchenko in 2024
5+ Original project: https://github.com/learn-decentralized-systems/toytlv
66
77# TLV Record Format
88
Original file line number Diff line number Diff line change 271271// Object/fields ids are serialized as tiny `ZipUint64Pair`s.
272272// Revisions are serialized as tiny `ZipIntUint64Pair`s.
273273
274+ //
274275// [x]: https://en.wikipedia.org/wiki/Causal_consistency
275276// [v]: https://en.wikipedia.org/wiki/Version_vector
276277// [r]: https://www.educative.io/answers/how-are-vector-clocks-used-in-dynamo
279280// [g]: https://protobuf.dev/programming-guides/encoding/
280281// [b]: https://en.wikipedia.org/wiki/LEB128
281282// [m]: https://en.wikipedia.org/wiki/Merge_sort
282-
283283package rdx
Original file line number Diff line number Diff line change 11/*
2- Package replication implements the Chotki distributed synchronization protocol.
2+ Implements the Chotki distributed synchronization protocol.
33
44# Protocol Overview
55
You can’t perform that action at this time.
0 commit comments