dohertj2 dohertj2
  • Joined on 2026-02-20

ZB.MOM.WW.CBDDC.Network (1.0.3)

Published 2026-02-20 13:51:36 -05:00 by dohertj2

Installation

dotnet nuget add source --name dohertj2 --username your_username --password your_token 
dotnet add package --source dohertj2 --version 1.0.3 ZB.MOM.WW.CBDDC.Network

About this package

Networking layer (TCP/UDP/Gossip) for CBDDC.

ZB.MOM.WW.CBDDC.Network

Networking layer for CBDDC - provides peer-to-peer mesh networking with automatic discovery and synchronization.

What's Included

This package handles all networking for CBDDC:

  • UDP Discovery: Automatic peer discovery on LAN via broadcast
  • TCP Synchronization: Reliable data sync between nodes
  • Gossip Protocol: Efficient update propagation
  • Sync Orchestrator: Manages peer connections and sync operations
  • Anti-Entropy: Automatic reconciliation between peers
  • Resilience: Retry policies, timeouts, error handling

Installation

dotnet add package ZB.MOM.WW.CBDDC.Core
dotnet add package ZB.MOM.WW.CBDDC.Network
dotnet add package ZB.MOM.WW.CBDDC.Persistence.Sqlite

Quick Start

using ZB.MOM.WW.CBDDC.Network;
using Microsoft.Extensions.DependencyInjection;

var services = new ServiceCollection();

// Register networking
services.AddCBDDCNetwork(
    nodeId: "my-node",
    tcpPort: 5000,
    authToken: "shared-secret"
);

var provider = services.BuildServiceProvider();

// Start network node
var node = provider.GetRequiredService<CBDDCNode>();
node.Start();

// Nodes on the same LAN will discover each other automatically!

Features

Automatic Discovery

Nodes broadcast their presence via UDP and automatically connect to peers on the same network.

Secure Synchronization

All nodes must share the same authentication token to sync data.

Scalable Gossip

Updates propagate exponentially - each node tells multiple peers, ensuring fast network-wide propagation.

Documentation

  • ZB.MOM.WW.CBDDC.Core - Core database abstractions
  • ZB.MOM.WW.CBDDC.Persistence.Sqlite - SQLite storage provider

License

MIT - see LICENSE

Dependencies

ID Version Target Framework
ZB.MOM.WW.CBDDC.Core 1.0.3 net10.0
Google.Protobuf 3.25.1 net10.0
Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 net10.0
Microsoft.Extensions.Hosting.Abstractions 8.0.0 net10.0
Microsoft.Extensions.Logging.Abstractions 8.0.0 net10.0
Serilog 4.2.0 net10.0
Details
NuGet
2026-02-20 13:51:36 -05:00
0
MrDevRobot
74 KiB
Assets (2)
Versions (1) View all
1.0.3 2026-02-20