- it only happens with heavy traffic and multiple threads;
- it always happen in a particular code line;
大家有好的建议么?
g*****g 发帖数: 34805
2
Concurrency issue is tricky. Normally I'd do
1. Add as much logging as you can to understand the context
2. Write a load test client to simulate the traffic
Experience is very useful for such issue.
【在 i*******3 的大作中提到】 : - it only happens with heavy traffic and multiple threads; : - it always happen in a particular code line; : 大家有好的建议么?