Buradasın
SDSDS: Self-Discovering Synchronized Data Store
github.com/ouropencode/SDSDSYapay zekadan makale özeti
- Overview
- SDSDS automatically discovers peers in same subnet using UDP broadcast
- System synchronizes shared data objects between nodes over TCP
- No central point of failure except network itself
- Requires only one npm module installation
- Technical Details
- Data must be objects with timestamp key for synchronization
- Uses TCP server, TCP client, UDP client and UDP server combination
- Supports full synchronization and write notify data transfer methods
- Data relevancy based on Unix timestamp comparison
- Implementation
- Nodes discover peers using beacon packets every 5 seconds
- Data transfer handled through TCP protocol
- System requires host, port, data and optional debug level parameters
- Includes various events for node connections and data operations
- Maintenance
- Data should be frequently checkpointed to file
- Project maintained by Peter Corcoran under LGPLv3 license
- Documentation includes get, set, getAll methods and event handling