Skip to content

Simplify Websocket Price Feed

Ursa (9R) requested to merge ursa/websocket into develop

This consists of some simplifications and improvements for the websocket price feed. We're working with an integration partner that is going to begin relying on this functionality - I've cherry picked this onto the deployment at https://midgard.dev.ninerealms.com so they can begin prototyping.

I'll keep this PR in Draft until it gets a green light and then add tests to avoid redundant work. It's a net code removal and reduction of dependencies, the main changes were:

  • Rely on Google's websocket library instead of gobwas
  • Avoid dealing with file descriptors and epoll to simplify connection management
  • Make field names more consistent with REST APIs
Edited by Ursa (9R)

Merge request reports