Shaharyar
Shaharyar

Reputation: 12439

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):

enter image description here

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

Upvotes: 0

Views: 168

Answers (1)

Tobi
Tobi

Reputation: 31479

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.

Upvotes: 1

Related Questions