項目中遇到的bug及面試問題總結

1.Redis服務器 can not get resource from pool.  1000個線程併發還能跑,5000個線程的時候出現這種問題,查後臺debug日誌,發現redis 線程池不夠。剛開始設置的是:javascript # redis 配置文件 #redis redis.host=127.0.0.1 redis.port=6379 redis.timeout=300
相關文章
相關標籤/搜索