Skip to content

Commit

Permalink
Improvements (#1)
Browse files Browse the repository at this point in the history
* Implement multiple workers for message routing
* One input chan per input connection (instead of one big input channel)
* Some clean-up
  • Loading branch information
mikenye authored Feb 15, 2024
1 parent 5205073 commit 1bfae0d
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 113 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ Originally written to merge various sources of SATCOM ADS-C data.

| Command Line Argument | Purpose | Default |
|-----------------------|---------|---------|
| **Global Options** |||
| **Global Options** |
| `--help`, `-h` | show help | |
| `--version`, `-v` | print the version | |
| `--numworkers` | Number of workers routing messages (defaults to number of CPUs) | # CPUs |
| **SBS In** |||
| `--bufsizein` | Buffer size per-host for incoming messages (number of messages) | `100` |
| `--inputconnect` | Connect to SBS data source to retrieve data. </br> Can be specified multiple times. | |
| `--inputlisten` | Listen on this TCP address for connections to receive data. | `:30103` |
| **SBS Out** |||
| **SBS Out** |
| `--bufsizeout` | Buffer size per-host for outgoing messages (number of messages) | `100` |
| `--outputconnect` | Connect to SBS data source to send data. </br> Can be specified multiple times. | |
| `--outputlisten` | Listen on this TCP address for connections to send data. | `:30003` |
| **Timeouts/Durations** |||
| **Timeouts/Durations** |
| `--reconnecttimeout` | Delay between connection attempts (seconds). | `10` |
| `--statsinterval` | Delay between printing per-connection statistics (minutes) | `10` |

Expand Down
Loading

0 comments on commit 1bfae0d

Please sign in to comment.