How does nginx define collections in nginx.conf?

I want to use nginx to load balance the image server. Looking at the load balance of nginx, it seems that the request is forwarded. In this case, if many clients upload pictures at the same time, and all the image data is forwarded by nginx, the network may be blocked?
if the performance bottleneck is cpu, there is no problem with load balancing using nginx. But the first performance bottleneck should be the server network bandwidth
all. I want to save the collection of information such as ip and port of all image servers in nginx.conf. The client gets the information of a picture server from the collection before uploading pictures, and then uploads the pictures to the corresponding picture server.
but you only see set defining variables. How do you define a collection and random one from it? It would be better if you could weigh it.

Apr.11,2021

Baidu search nginx upstream to find out. http://www.cnblogs.com/microt.


write down the requirements clearly, find your infrastructure architect, and if you don't have this position, find a load balancing team / expert. If you don't have it, why don't you just hang up a storage on a stand-alone machine and run first?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ed12d8-6aaa0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ed12d8-6aaa0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?