How to deal with large number of threads in clients
2019獨角獸企業重金招聘Python工程師標準>>>
http://activemq.apache.org/how-to-deal-with-large-number-of-threads-in-clients.html
另外需要注意一點:ActiveMQSession不用了后需要關閉
Closes the session.
Since a provider may allocate some resources on behalf of a session outside the JVM, clients should close the resources when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough.
There is no need to close the producers and consumers of a closed session.
http://activemq.apache.org/maven/5.10.0/apidocs/overview-summary.html
轉載于:https://my.oschina.net/u/2308739/blog/785485
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的How to deal with large number of threads in clients的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 百篇大计敬本年之系统篇《八》—— Ubu
- 下一篇: Solo 博客系统 1.7.0 发布 -