question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optimize CountryChart widget on Status Page

See original GitHub issue

I am quite sure the moment we ship it officially, someone will ask us this, so let’s be proactive and try to answer why a simple looking Status page in webui:

Size does not concerns me as much as the number of HTTP requests. Looks like multiple calls to ipfs.object.get happen always after refreshing peer list. What are we fetching? Is it geodata or something else?

Is there anything we could do about it? Optimize or preload geo data (or use smaller db with countries only)? Throttle the number of parallel API calls? Decrease refresh interval, improve caching? There is a ceiling on how many parallel HTTP requests make sense.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
Mikaelacommented, Nov 6, 2018

For me bandwidth usage by IPFS is mostly between 10 kB/s, with long staring sometimes jumping to 500 kB/s, but when I open the webui I start seeing at least 10 Mb/s download traffic which is 1/5 of promised bandwidth and makes sites load slowly and my connectivity not work very well in general.

I had a lot of Firefox tabs open including webui when I noticed this issue, I resolved it by stopping the ipfs daemon entirely and was linked here from #ipfs on freenode.

I am running --routing=dhtclient as I understood it’s recommended for decreasing bandwidth usage and this node isn’t very useful for being only direcltly reachable over IPv6 and Yggdrasil-network. ipfs version 0.4.18 installed with ipfs-updater on Debian GNU/Linux testing (buster).

1reaction
olizillacommented, Oct 18, 2018

looking at this the first thing that jumps out at me is why does the situation not improve after the second run. Is my swarm really changing so much that I’m cache-missing all of the previously resolved things? Then there is the even more surprising issue of, why are content-addressed get requests to the api not just being pulled from the browser cache… well, because the API doesn’t return any cache headers.

screenshot 2018-10-18 09 51 17

There is an issue from 2016: https://github.com/ipfs/go-ipfs/issues/3543

I have a new crusade!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Additional settings for time series widgets
Time series widgets have the following optional settings for display, ... Optimize widget rendering time on responsive dashboards.
Read more >
GAnalytics: Visitor insights for Joomla - Digital Peak
Feature Free Standard Professional Premium Gold Price 0 € 39 € 49 € 69 € 549 € Buy now * Download Order Order Order Order Duration...
Read more >
Configure proportional widgets for modern dashboards
Learn how to conofigure proportional widgets on modern dashboards ... Proportional widgets display your data as pie charts, donut charts or stacked bars....
Read more >
Matomo Issue #1820 - Graphs should display a SELECT to choose ...
Amazing to finally be able to plot "Page views per server hour" in Piwik!! such ... For example, when looking at the Visits...
Read more >
Content Marketing dashboard – Support Help Center
The home page lets you toggle between the Dashboard and the My Work pages. ... Monitor the status from this widget. Dashboard-3.png ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found