Weighted Round Robin Load Balancer & Node JAVA

Can anyone help me with code for weighted round robin load balancer and the node in java please?

Without time quantums and cpu processes etc. Its for distributed systems project.
I need to make 3 interfaces
Loadbalancer side
Node side
Client side ( to send the jobs)

UDP (not tcp)

Many thanks!