Learn Solutions from the Great God's Blog

April 14, 2018 Saturday night light rain in Nanjing

Source csdn blog

Scenario: Double the number of users

Problem: Doing day-end at night, regular downtime

Find the cause: Check the jvm process and logs, and preliminarily guess the problem based on the machine performance and server deployment status; then find the root cause based on the logs, design documents, and codes.

Reason: The viewing report data is temporarily stored in the user session, and the index of the array is used to turn the page, and each page turn will be taken from the session.

Emergency solution: first disable the report, use multi-threading to import data into excel file to store share folder; in EOD, change the way of loading the entire SCHEMA into memory first to an external exp command-driven database backup; at the same time, reconstruct performance-related services layer code.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324441125&siteId=291194637