简体   繁体   中英

node proxy server, bottle neck?

We have 2 servers:

  1. File API
  2. Core API

File API on different server and the core API on different. We want to access both over same domain and port, we are using nodeJS as back-end platform.

So we came up with a solution of proxy server, (see the below illustration) :

在此处输入图片说明

Now the question is , will http-node-proxy create bottle neck on the proxy server or it will be a good architecture?

I would suggest using nginx as a reverse proxy server, and the Node.js apps as upstreams.

There are a lot of articles about this, I think that for example

is a good start.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM