I have to create a Java program that simulates around 50-100 nodes. I want to test a few routing algorithms and analyse network performance. I tried simulating nodes with threads, but my CPU utilization goes up like anything when I use more threads. Is there a method to simulate a network in Java. If so what way?
You can create a proxy server which passes traffic after a delay which can include a delay based on a bandwidth limitation. This is not as good as a real LAN in showing all the problems you can have, but it can be a good start.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With