When the website has more and more data, a server will encounter bottlenecks, causing the server to run slowly and the front page cannot be opened for a long time. For example, some large websites need to separate images, CSS, JS, and databases on different servers, and provide a separate domain name for these different servers. This not only improves the access speed, but also if one server is broken, it will not affect the opening of the entire website.
Here is an introduction to the principle of image uploading in such a website architecture.
First map the image server to the web server (the mapping method will not be introduced here), then create a virtual directory in IIS, first point to a local folder, and then complete. Then right-click the newly created virtual directory and select Properties. Then select the share on another computer in the pop-up dialog box, and then enter the server and share name below, and that's it.
The program for uploading images does not require much modification, just use the virtual directory as a folder. How you uploaded it before can be uploaded now, it will have no impact.