By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,389 Members | 2,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,389 IT Pros & Developers. It's quick & easy.

About the setting "Http Compression" of IIS. Is is really useful for web application?

P: n/a
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
Nov 29 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Nov 29 '06 #2

P: n/a
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: be**********@hotmail.com

Best Regards,

Benny Ng

"Laurent Bugnion" <ga*********@bluewin.chwrote in message
news:Oc**************@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

Nov 30 '06 #3

P: n/a
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)"
<br*******************@discussions.microsoft.comwr ote in message
news:05**********************************@microsof t.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

Dec 1 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.