Application performance

Yes! there are still lots of system being deployed in one single VM (I believe they will be moved to PASS soon !).

for these poor deployed babies , this article talk about , how to optimize the performance from UI and business angle .

#UI Layer
– html UI filter. gray the submit button for 5 seconds after click
– JS submit filter. limit every 5 seconds can submit form once
– cache all static pages
<!–more–>
#Cache
– e.g. uid filter.cache result <uid, result>, for same user request within 5 seconds , return from cache.

#Service
– K-V Cache. only get first X thousands requests.

#Business
-Process the request items in service.
-split data into different time range of processing .

 

Single_node_structure_process_high_concurrent.png

Author: lanliang

Programmer.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s