Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kegustafsson/signalk-data-connector
Signal K server & client solutions for sending deltas over encrypted and compressed UDP channel
https://github.com/kegustafsson/signalk-data-connector
Last synced: 22 days ago
JSON representation
Signal K server & client solutions for sending deltas over encrypted and compressed UDP channel
- Host: GitHub
- URL: https://github.com/kegustafsson/signalk-data-connector
- Owner: KEGustafsson
- Created: 2022-10-31T14:10:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T10:12:35.000Z (11 months ago)
- Last Synced: 2024-10-30T18:09:09.516Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 171 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# signalk-data-connector
Signal K server and client solutions for sending deltas over encrypted and compressed UDP channel.Server configuration
- Server tick box selected
- UDP port
- Secure key (32 characters)Client configuration
- Server tick box unselected
- UDP port (server UDP port)
- Secure key (32 characters)
- Destination UDP address (server address)
- Connectivity, address for connectivity test, e.g web server
- Connectivity, port for connectivity test, e.g. web server port
- Connectivity, testing interval time in minutes## Data rate comparison between Encrypted and Compressed UDP data transfer to WebSocket
![datarate](Doc/Datarate.png)
- Test data setup: ~30-40 deltas/sec, 120 paths
- 1st section: UDP 1000ms -> 30-40 deltas/pkg, 2nd section: UDP 100ms -> 3-4 deltas/pkg, 3rd section: WebSocket -> 1 delta/pkgNote: Higher the delta amount per pre-defined collection timeslot, the better the compression from Brottli used with UDP transfer.
## Operations
Client:
- client Signal K deltas are collected over pre-defined timeslot (e.g. 100ms)
- collected JSON data is compressed with Brottli
- compressed package is encrypted with AES-256
- encrypted compressed package is once more time compressed with Brottli
- package is sent over UDP to serverServer:
- package is received in server
- Brottli decompression
- decryption
- Brottli decompression
- deltas to Signal K sever