Hi guys, in this lesson we will see an example of load balancing on user service. To implement load balancing, we should create different instances with different ports. We have already an instance with default port number for user service. Now we will create another instance. Now we can test it. First of all, we will run Utica serve Then we will run our default user service instance Then we will run our second user service instance to do it we will create a new run configuration in IntelliJ and we will set a new port number with the server port and vitamins property Then we will run it Finally, we will run our gateway service Okay, now we can test our load balancing system.
Then we refresh it, we will see different ports according to availability Okay, that's all thank you.