Configuring multiple instances of RSE API

If you want to take advantage of workload balancing of REST API requests that flow through Zowe™ API Mediation Layer, you can start more than one instance of the RSE API server on multiple ports. For example, you could start one server on 6800 and two more on 6801 and 6802.

In the application.yml file, each independent RSE API instance can be defined in the instanceBaseURLs: section. When a REST API request is received by Zowe API Mediation Layer, either from the RSE CLI plug-in, IBM Z® Open Editor, or perhaps another application coded to use the REST APIs, it will be routed to the most available instance.

 instanceBaseUrls:
          - https://<RSEAPI_HOST>:6800/rseapi 
          - https://<RSEAPI_HOST>:6801/rseapi 
          - https://<RSEAPI_HOST>:6802/rseapi