Explore the optimization scheme of high traffic website (from the picture angle)

Source: Internet
Author: User

I am very grateful to the friends of the park to put forward so many good ideas, I accept all. Again, the main purpose of this article is to explore the Web server optimization scheme, I am not a systematic analysis, but from one point of view to illustrate my idea. Optimization is a very learned lesson, and not be able to get the canon overnight. In order not to mislead friends, I deliberately changed the title of the article, plus "(from the picture angle)". I suggest breaking up to learn to strengthen.

I upload this piece of file to do more, for some different customers different needs summed up several practical ways to upload files, I hope to share with you.

We know that now a good site is facing the problem of traffic. High-volume Web server pressure probably comes from the following two areas:

First: The database, a large number of data query operations will consume most of the time.

Second: The Web server itself, a large number of pictures and JS file loading.

Here I will say for the second item most websites in (picture processing aspect) may carry on the optimization operation. Personal opinion:

We can put the site in the same picture unified on a separate server, here I call the picture server. All the pictures in the program are linked to the picture server. The problem is that there are a lot of pictures are not the beginning of existence, most of them are added through the background, modified upload up, Like a news picture or something. asp.net upload components can only upload pictures to the appropriate server on the program. Here we can use the FtpWebRequest class below. NET to implement the FTP function, through it may achieve similar FTP software related functions, at least upload and download, This may be easy to implement the picture

Completely separated from the program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.