How do you want to break it? Haven't you already thought about "implementing it yourself with a program"?
nginx不能用,是因为nginxUsually used as a reverse proxy. The so-called reverse proxy needs to be placed on the client server side (this is not possible in your case)
So you need to write your own code to implement a forward proxy server. On your side, your applications will send requests to your "proxy server", and then the proxy server will forward the requests to the client. As for api映射是hard code还是配置文件,亦或是jmxIsn’t this all just at your fingertips?
So your question is, I am too lazy to write one by handproxy server. Is there any ready-made one?
Added:
Actually nginx can also be done, and it should be simpler.
Build a server by yourself
Use this servernginx
Configure forwarding rules for this nginx
Let all your application requests be sent to the server above
This new server will help you forward requests to the client’s various webservices
Each webservice of the customer returns data to this new server
Implement load balancing yourself, I think you may need this. Load balancing algorithm
How do you want to break it? Haven't you already thought about "implementing it yourself with a program"?
nginx
不能用,是因为nginx
Usually used as a reverse proxy. The so-called reverse proxy needs to be placed on the client server side (this is not possible in your case)So you need to write your own code to implement a forward proxy server. On your side, your applications will send requests to your "proxy server", and then the proxy server will forward the requests to the client. As for
api
映射是hard code还是配置文件,亦或是jmx
Isn’t this all just at your fingertips?So your question is, I am too lazy to write one by hand
proxy server
. Is there any ready-made one?Added:
Actually
nginx
can also be done, and it should be simpler.Build a server by yourself
Use this server
nginx
Configure forwarding rules for this
nginx
Let all your application requests be sent to the server above
This new server will help you forward requests to the client’s various webservices
Each webservice of the customer returns data to this new server
New server returns data to your application
It’s pretty good, ^^
You can only do the load yourself