|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
About the setting "Http Compression" of IIS. Is is really useful for web application?Now I met some performance problems in my application. Because according to our business. The size of some web forms are larger than 1xxx MB. So it takes a long time for user opening a web page. Surely we are modifying some source code for performance improvment. But now i'm thinking should we improve the application performance by IIS Compression? I saw many mentions from Google/Yahoo. Some people said it can be useful for performance improvment. But some peoples strongly suggested NOT to enabled this option in IIS. Because it would let the system and application not stable. Or sometimes the application can't get the newest data from server. I don't know more about the IIS Compression. So Is anyone know this option and already used it? Any suggestion for this Option? Because if this option would let the application not stabled. Then I prefer NOT to enable this option. Because DATA is more important than SPEED. Any suggestions from you are appreciated. Thanks, Best Regards, Benny Ng Hi,
Benny Ng wrote: Show quote > Dear All, Are you related to my wife? (Ng Chi Meei) (just kidding, Ng must be the > > Now I met some performance problems in my application. Because according > to our business. The size of some web forms are larger than 1xxx MB. So it > takes a long time for user opening a web page. Surely we are modifying some > source code for performance improvment. > > But now i'm thinking should we improve the application performance by > IIS Compression? I saw many mentions from Google/Yahoo. Some people said it > can be useful for performance improvment. But some peoples strongly > suggested NOT to enabled this option in IIS. Because it would let the system > and application not stable. Or sometimes the application can't get the > newest data from server. > > I don't know more about the IIS Compression. So Is anyone know this > option and already used it? Any suggestion for this Option? > > Because if this option would let the application not stabled. Then I > prefer NOT to enable this option. Because DATA is more important than SPEED. > > Any suggestions from you are appreciated. Thanks, > > Best Regards, > > Benny Ng most widespread cantonese last name if I am not mistaken ;-) Anyway... Compression is a way to move the performance problem from one place to the other. if you don't compress, you transmit more data on the network, which may cause performance problems. On the other hand, if you compress, you transmit less data, but the server and the client have more load (they must compress and uncompress the data). So the answer is: It depends (it's often the answer when you do engineering). If your typical user has a modem connection and a good PC, and if your server is powerful enough, compression can be a real help, especially if you have a lot of text data (ASPX, JavaScript, CSS, etc...) (compression for images won't help much, as JPGs, GIFs or PNGs used on the web are mostly very compressed already). OTOH, if your users have ADSL, I am not sure it's worth bothering with compression. I am not aware of stability problems when using compression. We use it in one of our projects without problems. However, it's a good idea to make it optional for the users. HTH, Laurent -- Laurent Bugnion, GalaSoft Software engineering: http://www.galasoft-LB.ch Private/Malaysia: http://mypage.bluewin.ch/lbugnion Support children in Calcutta: http://www.calcutta-espoir.ch Dear Laurent,
Haha,Yes. "Ng" is a wildspread Last Name in China. I think it's top 20 Last Name. :) For the environment of our company. We are using two ADSL+DDN connect to Canada,HongKong and China. I don't think the network is too slowly for us. All of our application are using the ASPX. There is no many image files on our application. Because I'm afraid it would be not stabled if we enabled this option. Because in before we got some experience for this option. It would let the application can not get the new data. (But only for some time/some cases) So that's my concern for that. But anyway, Thank you very much. By the way, If you don't mind, You can add my MSN account. We can talk about the technical or another thing on it. haha..Thanks. my MSN: benny_wuf***@hotmail.com Best Regards, Benny Ng Show quote "Laurent Bugnion" <galasoft***@bluewin.ch> wrote in message news:OcASkh5EHHA.3540@TK2MSFTNGP02.phx.gbl... > Hi, > > Benny Ng wrote: >> Dear All, >> >> Now I met some performance problems in my application. Because >> according to our business. The size of some web forms are larger than >> 1xxx MB. So it takes a long time for user opening a web page. Surely we >> are modifying some source code for performance improvment. >> >> But now i'm thinking should we improve the application performance by >> IIS Compression? I saw many mentions from Google/Yahoo. Some people said >> it can be useful for performance improvment. But some peoples strongly >> suggested NOT to enabled this option in IIS. Because it would let the >> system and application not stable. Or sometimes the application can't get >> the newest data from server. >> >> I don't know more about the IIS Compression. So Is anyone know this >> option and already used it? Any suggestion for this Option? >> >> Because if this option would let the application not stabled. Then I >> prefer NOT to enable this option. Because DATA is more important than >> SPEED. >> >> Any suggestions from you are appreciated. Thanks, >> >> Best Regards, >> >> Benny Ng > > Are you related to my wife? (Ng Chi Meei) (just kidding, Ng must be the > most widespread cantonese last name if I am not mistaken ;-) > > Anyway... > > Compression is a way to move the performance problem from one place to the > other. if you don't compress, you transmit more data on the network, which > may cause performance problems. On the other hand, if you compress, you > transmit less data, but the server and the client have more load (they > must compress and uncompress the data). > > So the answer is: It depends (it's often the answer when you do > engineering). If your typical user has a modem connection and a good PC, > and if your server is powerful enough, compression can be a real help, > especially if you have a lot of text data (ASPX, JavaScript, CSS, etc...) > (compression for images won't help much, as JPGs, GIFs or PNGs used on the > web are mostly very compressed already). > > OTOH, if your users have ADSL, I am not sure it's worth bothering with > compression. > > I am not aware of stability problems when using compression. We use it in > one of our projects without problems. However, it's a good idea to make it > optional for the users. > > HTH, > Laurent > -- > Laurent Bugnion, GalaSoft > Software engineering: http://www.galasoft-LB.ch > Private/Malaysia: http://mypage.bluewin.ch/lbugnion > Support children in Calcutta: http://www.calcutta-espoir.ch most likely your sites are abusing viewstate. turn viewstate off for most
controls, and store info in session. if you turn on http compression expect to see cpu go up on the server, usualy you buy a seperate hardware box for this. slow client machines may see worse performance. -- bruce (sqlwork.com) Show quote "Benny Ng" wrote: > Dear All, > > Now I met some performance problems in my application. Because according > to our business. The size of some web forms are larger than 1xxx MB. So it > takes a long time for user opening a web page. Surely we are modifying some > source code for performance improvment. > > But now i'm thinking should we improve the application performance by > IIS Compression? I saw many mentions from Google/Yahoo. Some people said it > can be useful for performance improvment. But some peoples strongly > suggested NOT to enabled this option in IIS. Because it would let the system > and application not stable. Or sometimes the application can't get the > newest data from server. > > I don't know more about the IIS Compression. So Is anyone know this > option and already used it? Any suggestion for this Option? > > Because if this option would let the application not stabled. Then I > prefer NOT to enable this option. Because DATA is more important than SPEED. > > Any suggestions from you are appreciated. Thanks, > > Best Regards, > > Benny Ng > > > Dear All,
I got an answer from the official global technical support team. It doesn't suggest to used the IIS compression when my site are using the dynamic pages.(*.Aspx). Because it would be return the same page to the client side and no matter what session the page using. (It means even the session is different. It would also to return the same content to the users, That's the big problem for my application) So at last. We stop the option for the clients.:) Thanks, Best Regards, Benny Ng "bruce barker (sqlwork.com)" <brucebarkersqlwork***@discussions.microsoft.com> wrote in message Show quote news:0552465C-F76C-4770-85C9-6DD8DC665205@microsoft.com... > most likely your sites are abusing viewstate. turn viewstate off for most > controls, and store info in session. > > if you turn on http compression expect to see cpu go up on the server, > usualy you buy a seperate hardware box for this. slow client machines may > see > worse performance. > > > -- bruce (sqlwork.com) > > > "Benny Ng" wrote: > >> Dear All, >> >> Now I met some performance problems in my application. Because >> according >> to our business. The size of some web forms are larger than 1xxx MB. So >> it >> takes a long time for user opening a web page. Surely we are modifying >> some >> source code for performance improvment. >> >> But now i'm thinking should we improve the application performance by >> IIS Compression? I saw many mentions from Google/Yahoo. Some people said >> it >> can be useful for performance improvment. But some peoples strongly >> suggested NOT to enabled this option in IIS. Because it would let the >> system >> and application not stable. Or sometimes the application can't get the >> newest data from server. >> >> I don't know more about the IIS Compression. So Is anyone know this >> option and already used it? Any suggestion for this Option? >> >> Because if this option would let the application not stabled. Then I >> prefer NOT to enable this option. Because DATA is more important than >> SPEED. >> >> Any suggestions from you are appreciated. Thanks, >> >> Best Regards, >> >> Benny Ng >> >> >> |
|||||||||||||||||||||||