API/Port balancing on a single host

0

Folks,
I have an in-housed developed application, which has some performance issues. The app is single-threaded, listens on a TCP port for a API call, and once receives it, starts executing it. While the app is executing a call, all following requests have to wait. To address this, I can fire up a bunch of these applications, all on different (but predetermined) ports and have a load balancer round-robin incoming connections. Basically, load balance to a number of TCP ports on a single host... Is this something VLM can do? 
Thank you,    Paul

 

 

1 comment

Avatar
0
Tony Vaughan

Hello,

you would have two options for this.
1. add the same real server multiple times on different ports

for example
RS 1 192.168.10.100:80
RS 2 192.168.10.100:81
RS 3 192.168.10.100:82
etc.

its still the same physical real server but different logical ports

2. depending on the virtual service settings you can use extra ports or set a wildcard port

please see these links for details
https://support.kemptechnologies.com/hc/en-us/articles/201759556-Adding-Two-Or-More-Ports-To-One-Virtual-Service
https://support.kemptechnologies.com/hc/en-us/articles/200929805-Preventing-real-server-connect-failed-errors-for-MAPI

there are some conditions such as not being able to SSL offload and Re-encrypt with extra ports enabled