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

Trying to render 900,000 + nodes #370

Closed
cober2019 opened this issue May 23, 2022 · 2 comments
Closed

Trying to render 900,000 + nodes #370

cober2019 opened this issue May 23, 2022 · 2 comments

Comments

@cober2019
Copy link

cober2019 commented May 23, 2022

Describe the bug
I'm trying to run a simulation for internet routing which includes 900,000 + nodes. The simulation launches fine and runs at 60 fps , but the simulation hangs.

Expected behavior
I want the simulation to run smooth with no issues.

Screenshots
You can find the simulation here, http://20.121.26.153:3000/layer_three

Desktop (please complete the following information):
Backend is Ubuntu, client side is Windows w/ Browser=Chrome.
GPU 1080TI 32G ram.
I'm using React for web

Additional context
I expect the simulation to drag with this many nodes, but I would think there would be a way to smooth it out. I've tried to use rendererConfig(), change Chrome settings, and even look into GPU.js. Any ideas to lead me into the right direction would be great.

** You can get the data via API, curl http://20.121.26.153:5000/get_bgp_info**

@owenduncansnobel
Copy link

I am not sure if you have already looked at these but here are some conversations and threads from when people had tried to do "big data" visualizations in the past.

Big data performance enhancement #181
Improving performance for extremely large datasets #202

@cober2019
Copy link
Author

cober2019 commented May 24, 2022

I am not sure if you have already looked at these but here are some conversations and threads from when people had tried to do "big data" visualizations in the past.

Big data performance enhancement #181 Improving performance for extremely large datasets #202

I have looked in to these threads. It appears they had trouble even rendering. I have no issues rendering, just the choppy scene. At 200Knodes its ok, 500K a little choppy. Beyond that it takes about 3 seconds to request animation frame.

I changed my strategy and settled with 84,000 nodes. Its works just fine. AS mentioned above, I have an API call that will give you 900k nodes if anyone want to take a shot.

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

No branches or pull requests

2 participants