Skip to content

Instantly share code, notes, and snippets.

@shijinkui
Created March 30, 2012 06:48
Show Gist options
  • Save shijinkui/2247944 to your computer and use it in GitHub Desktop.
Save shijinkui/2247944 to your computer and use it in GitHub Desktop.
caches使用点滴
1. 线程池的大小根据程序调整,最好使用默认配置。
如果是声明单例对象,就把池子开大点,如果是worker里的实例对象,根据处理能力做调整。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment