Skip to content
SobottasgithubPublic

Latest commit

 

History

353 Commits

Folders and files

Repository files navigation

Tablo Transfer Protocol (TTP2)

Any packet size, custom types, TCP or UDP - TTP2 moves data reliably and fast across your nodes with C++ and Nix reproducibility.

The Tablo Transfer Protocol 2 (TTP2) transmits data packets of any size quickly and reliably. It is primarily designed for transferring large data packets between clients, servers and peers within Tablo and TDFS. To accommodate a wide range of use cases, it provides implementations for both TCP and UDP. Should the existing packet types prove insufficient for your specific requirements, TTP2 can be extended with custom packet types with minimal effort. It is written in C++ and based on Nix.

Learn more on tablo-cluster.net/docs/ttp2.

Test

TCP

To test the TTP2 TCP protocol you need to start the server first using:

nix run .#server

After that you can start the client with:

nix run .#client

UDP

To test the TTP2 UDP protocol you need to start at least two peers on one or more devices:

nix run .#peer

If you run more that one peers on one device make sure to use different ports.