xianlaioy / memcache-client-forjava

Automatically exported from code.google.com/p/memcache-client-forjava
0 stars 0 forks source link

线程池和nio的性能比较? #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.请问client为什么用线程池而不用nio呢?nio的性能是不是更好
些呢? 
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by liu0...@gmail.com on 29 Dec 2009 at 9:32

GoogleCodeExporter commented 9 years ago
1.最早先的memcached的协议是没有会话码的因此无法作异步方式
处理,现在的二进制协议已经支持,后续在
实现二进制协议的时候会用nio。
2.操作系统没有限制。服务端版本应该比较早,不过现在上层
都兼容,具体的最低版本可以看看我的项目时间
就知道对应的服务端时间。

Original comment by cenwen...@gmail.com on 10 Jan 2010 at 3:18