Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get monitor up to speed again #3633

Merged
merged 6 commits into from
Nov 21, 2019
Merged

Conversation

freimair
Copy link
Member

@freimair freimair commented Nov 19, 2019

There have been some changes to the Bisq infrastructure recently, which not been reflected in the monitor so far:

  • a price node got shut down, another one got added
  • the Market API changed its response format from compressed JSON to pretty-print JSON

These changes broke part of the Trading Stats and Dashboard dashboards, respectively.

some other minor improvements have been made as well.

Recenty, a price node got removed. Unfortunately, this node
has been the first in the list of configured price nodes in
the monitor configuration.

A misplaced catch block caused the loop to stop instead of
trying the next configured price node in the list.
Up until now, the monitor always chose the price nodes
in their configured order. This resulted in querying
always the same node and thus, create a bigger system
load for this very node. Only in case of a failure,
the monitor moved on to another node.

Shuffling the list of nodes prior to querying provides
at least some load balancing for the price nodes.
The format of the market API response changed. Formerly,
there has been one line, now it is pretty print json.
Add the relatively new RefundAgent message to the monitor.
Observed, that a timeout of one minute works better than
the original 90 seconds.
@freimair
Copy link
Member Author

changes are live at monitor.bisq.network

@freimair freimair marked this pull request as ready for review November 19, 2019 11:39
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ripcurlx ripcurlx merged commit 42dfc6a into bisq-network:master Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants