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

submission round trip latency #235

Open
joelkoen opened this issue Aug 31, 2024 · 0 comments
Open

submission round trip latency #235

joelkoen opened this issue Aug 31, 2024 · 0 comments

Comments

@joelkoen
Copy link
Contributor

Tower Collector can be quite slow when uploading to BeaconDB, I've seen some users submitting for eight minutes straight! There are three main points that significantly contribute to this:

  • the BeaconDB submission server is hosted in Australia. Latency from Europe can be >300ms. (the server is moving to Europe, but with VPNs and other high latency networks this might still be a significant issue)
  • Tower Collector makes requests synchronously, meaning the client is waiting >300ms per request.
  • Tower Collector only sends 80 measurements per request, meaning the client has to make a lot of requests.

As discussed in #232, increasing the amount of measurements to send is difficult to do without a large amount of refactoring, and Tower Collector is designed this way for performance.

Could Tower Collector send multiple requests at once? Any other ideas?

Also, this round trip latency likely won't be as noticeable once I've finished the EU server, so it may not be worth spending too much time on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants