System update plan

1. Switch from raw ssh to springmvc

There are too many loopholes in struts

2. Switch from webservice to restfull

     1) webservice is heavyweight, restful is lightweight

     2) CRUDet, put, post and delete based on abstract operations correspond to the four operations of read, update, create and delete respectively

   3) The key to using REST is how to abstract resources. The more precise the abstraction, the better the application of REST

   4) Http is an application protocol rather than a transport protocol

   5) Resource-oriented interface design

3. Performance stress test

jmeter test concurrency output report

4. Denial of service added

 Some businesses use netty instead of tomcat to increase denial of service requests

5. Change synchronous request to asynchronous request

   Prevent blocking a message from being sent without blocking subsequent messages

6. Sub-meter technology

   When the amount of data reaches tens of millions, the principle of table splitting is adopted. The table splitting rule is divided into 255 tables after MD5, and the suffix is ​​hexadecimal.

7. Sub-library

   The single table record is too large.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326861933&siteId=291194637