原创 給字符串list排序

https://www.cnblogs.com/c9999/p/10844654.html /** *倒敘取最大 */ List<String> fileNames=new ArrayList<String>(); fileNames

原创 springboot-簡單測試-文件配置

springboot項目案例:https://blog.52itstyle.vip/archives/3344/ springboot詳解:https://blog.csdn.net/m0_37106742/article/details

原创 在多客戶端訪問同一塊代碼,這個代碼如果同時訪問會造成錯誤,處理方法

public class ControlThreadRun { private static final AtomicBoolean downing=new AtomicBoolean(false); public f

原创 spring 接口有兩個實現類的情況下@Autowired 如何區分使用哪個

https://blog.csdn.net/mhbsoft/article/details/104427463

原创 linux下查看目錄下顯示各文件佔用

linux下查看目錄下顯示各文件佔用命令:ll -h

原创 配置定時任務

https://blog.csdn.net/u010142437/article/details/81629294

原创 rest的http和https

https://blog.csdn.net/qq_21383435/article/details/80032375 http與httpshttps://blog.51cto.com/11883699/2160032 https://bl

原创 DruidDataSource連接池配置

https://www.cnblogs.com/woaixiaobai/p/6906815.html <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource

原创 mysql併發insert死鎖問題——gap、插入意向鎖衝突

https://my.oschina.net/hebaodan/blog/1835966

原创 數據庫中insert,delete,select,update這個幾個語句的運算速度問題

https://www.phpfans.net/ask/question4/4639180833.html

原创 壓測遇到數據庫死鎖

https://blog.csdn.net/qq_16605855/article/details/89183976 分析步驟: 現象還原: 1.查看redis死鎖日誌:show engine innodb status 2.分析死鎖日誌

原创 nmon監控CPU情況

https://www.cnblogs.com/wnfindbug/p/5719181.html 參數解釋: -s10 每 10 秒採集一次數據。 -c60 採集 60 次,即爲採集十分鐘的數據。 -f 生成的數據文件名中包含文件創建的時

原创 壓測準備

1.腳本是否正確 2.redis情況(使用redis情況看壓測的數量) 3.數據庫數據量 4.主機cpu和內存情況 5.壓測時調用方法的耗時情況 6.錯誤日誌         如果jmeter那邊出現錯誤率: 1.查看錯誤日誌查看是不是調

原创 下載dubbo源碼

1.https://github.com/yuluoqianmu/incubator-dubbo 2.在紅色的圈地方可以進行版本搜索 3.進行下載

原创 linux中查看cpu和內存情況

cpu: 命令:top       如果向看cpu核數按鍵盤數字1 1.load average 當前系統負載的平均值,後面的三個值分別爲1分鐘前、5分鐘前、15分鐘前進程的平均數,一般的可以認爲這個數值超過 CPU 數目時,CPU 將