Home  >  Q&A  >  body text

nginx load balancing problem

If I have multiple server nodes and use nginx for load balancing, and nginx and each application server are on the same intranet, will all server nodes not use external network traffic, and only the nginx server will use the external network? Traffic,
My understanding is that nginx acts as a transfer station for all requests. When a request comes, it hands the request to a specific server through the intranet. The server transfers the processing result to nginx, and nginx returns it to the client. In this case, does all the network pressure fall on the nginx server? If all my services are deployed on Alibaba Cloud, do I have to use all the bandwidth on the nginx server?

某草草某草草2713 days ago498

reply all(2)I'll reply

  • PHPz

    PHPz2017-05-16 17:16:01

    I feel like your description is flawless

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 17:16:01

    You can separate dynamic and static files and throw static files (css, js, img...) to cdn. Handle dynamic files (jsp, php...) to the specific server for processing.

    reply
    0
  • Cancelreply