Modeling a LAN using Java?

I need to create a Java program that simulates about 50-100 nodes. I want to test several routing algorithms and analyze network performance. I tried to simulate nodes with threads, but using my processor goes up, like everyone else when I use more threads. Is there a way to simulate a network in Java. If so, how?

+6
source share
1 answer

You can create a proxy server that transmits traffic after a delay, which may include a delay based on bandwidth limitation. This is not as good as a real local network, displaying all the problems that may arise, but it can be a good start.

+2
source

Source: https://habr.com/ru/post/910399/


All Articles