Client Server Performance - Very Long Distance

We have a site on which one side of the planet is located, and the client on the other.

Its asp.net and theres load complex business rules for forms. Thus, there are many cases where the user takes some action and the site returns to change the form based on business rules.

So, now the client complains about the backlog of the site.

For us, the lag is barely noticeable, so I think this is a fairly clear geographical distance.

What are the options for increasing productivity ...

a) Place the mirrored data center closer to the client country b) Rewrite the entire application trying to implement the business rules entirely on the client side script (it may not be possible)

Other than that, anyone has tips or tricks that can improve performance.

We already have heavy caching between db and the web server, but in this case this is not a problem, since they are nevertheless side by side ...

The problem is the 30,000-mile junction between the client and server ...

(I notice that the opposite is also slow - when I use websites in the country of clients, they always seem slow ...)

+3
source share
6 answers

I have this problem too. Some of my clients are in New Zealand, and I am in the UK. This is as cool as you can get, with the exception of deep space probes.

Start here:

http://www.aspnet101.com/2010/03/50-tips-to-boost-asp-net-performance-part-i/ http://www.aspnet101.com/2010/04/50-tips-to-boost-asp-net-performance-part-ii/

, :

, Firefox YSlow Add-on. , .

, , ASP.NET MVC . , , , . , , .

, , - - Silverlight. , - #, , .

, , , .

+6

, , , , . - Firebug ( Firefox), , . , . , CDN ( ) ...

, (- ..), ,

+1

, : , , javascript.

: , " ", "" ( javascript) javascript, . = .

ajax, , . ( ) - "" html. (, json), , javascript. , , " " .

, , ; , , . , javascript " " , , "" "", .

+1

" ", , ( x KB/s), . , .

100% - Javascript, . .

, , , , , . .

+1

, , - ViewState. viewstate. - "", .

- viewstate , , , aspx , postback .

, , , (gzip) , , , .

, , (js, css, images).

Fiddler - , , .

0

, .

. , .

, db .

, , , , , pdf xml , , . , : , pdf, xml

, , post backs

I spoke with the architect in my company that we probably need several copies around the world - it is impossible to launch a global system for people from different countries from one European data center.

Some forms are huge, the client does not want to see the point and breaks them into smaller parts, so this also adds extra overhead.

The only thing I haven't tried yet is to run something like gzip to reduce the payload sent back and forth ...

0
source

Source: https://habr.com/ru/post/1758361/


All Articles