I’d like to use UD for displaying some data collected from ethernet switches and devices, connected to these switches. I have about 50 switches and more than 1500 devices connected. Due to this massive amount of data, I’d like to collect using multiple threads (I already made a script to query and collect data).
What is the best way to organize endpoints for such amount of data? I’m thinking about creating one EP for each switch and cache data, but I need to know if these endpoints will run in different threads simultaneously.
And what do you advise to collect data from devices? Query is just simple tcp request returning json data. Now I use 20 threads and I am able to perform data collection in 30-40 seconds on VM with 1 Xeon core.
Well this may seem a fudge but if I am collecting lots of data and those queries take a long time. Then I set up a powershell schedule task to run at certain intervals in the day output to a file hosted in same directory as dashboard then display the data from those files.
If retrieving the data takes a little longer you could use a scheduled endpoint. If you display the data in a grid you could also use the server side processing approach.