Skip to content

State Vector Sync library for distributed realtime applications for NDN

License

Notifications You must be signed in to change notification settings

named-data/ndn-svs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7fa0af0 · Jan 6, 2025
Dec 15, 2024
Dec 15, 2024
Dec 15, 2024
Jan 6, 2025
Jan 6, 2025
Jan 6, 2025
Jan 6, 2025
Apr 25, 2024
Apr 25, 2024
May 4, 2023
Mar 31, 2022
Mar 15, 2024
Jan 6, 2025
Dec 28, 2020
Mar 15, 2024
Apr 25, 2024

Repository files navigation

ndn-svs: State Vector Sync library for distributed realtime applications for NDN

Language CI

This library provides an implementation of the State Vector Sync (SVS) protocol and the Pub/Sub API for state synchronization between multiple clients over NDN.

ndn-svs uses the ndn-cxx library.

Installation

Prerequisites

Build

To build ndn-svs from source:

./waf configure
./waf
sudo ./waf install

To build on memory constrained systems, please use ./waf -j1 instead of ./waf. This will disable parallel compilation.

Examples

To try out the demo CLI chat application:

./waf configure --enable-static --disable-shared --with-examples
./waf
./build/examples/chat <prefix>

Configure NFD to be multicast:

nfdc strategy set <sync-prefix> /localhost/nfd/strategy/multicast

Clear the content store of NFD if you restart the example:

nfdc cs erase /

where sync-prefix is /ndn/svs for the example application.

Contributing

Contributions are welcome through GitHub. Use clang-format to format the code before submitting a pull request. The VS Code extension for clang-format is recommended to format the code automatically.

License

ndn-svs is free software distributed under the GNU Lesser General Public License version 2.1. See COPYING.md for details.

About

State Vector Sync library for distributed realtime applications for NDN

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published