Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Andy Pan 2018-07-13 00:12:07 +08:00
commit ebb86ab67f
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Package ants implements a fixed goroutine pool for managing and recycling a mass
## Features:
- Automatically managing and recycling a massive number of goroutines.
- Periodically clearing overdue goroutines.
- Friendly interfaces: submitting tasks, getting the number of running goroutines, readjusting capacity of pool dynamically, closing pool.
- Efficient in memory usage and it even achieves higher performance than unlimited goroutines in golang.

View File

@ -18,6 +18,7 @@
## 功能:
- 实现了自动调度并发的goroutine复用goroutine
- 定时清理过期的goroutine进一步节省资源
- 提供了友好的接口:任务提交、获取运行中的协程数量、动态调整协程池大小
- 资源复用极大节省内存使用量在大规模批量并发任务场景下比原生goroutine并发具有更高的性能