- Add timings to WS sends, to be able to track latency of WS connects and messages
- These metrics can go into the metadata of the responses
- Improve readme
- Clear in-code TODOs
- Create a new type of
Watcher
, to watch WS subscriptions- WS subscriptions do not fit into the current
Watcher
model, which is based on polling
- WS subscriptions do not fit into the current
- Add metrics for stats like
Watcher
timing accuracy, andWatcher
error rates - Add configuration options, e.g. for buffer sizes, timeouts, metrics on/off etc.
- WS reconnect strategy evaluation
- Change for an active reconnect, with exponential backoff, would also include keep-alive measures
- Introduce a pre-execute check that the connection is alive and ready to be used
- Make WS use read and write deadlines to avoid blocking