Skip to content

Commit 7e774ce

Browse files
committed
completed 实现 Memcached 编解码器
1 parent 88bfe8d commit 7e774ce

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
实现 Memcached 编解码器
2+
====
3+
4+
5+
当想要实现一个给定协议的编解码器,我们应该花一些事件来了解它的运作原理。通常情况下,协议本身都有一些详细的记录。在这里你会发现多少细节?幸运的是 Memcached 的二进制协议可以很好的扩展。
6+
在 RFC 中有相应的规范,可以在 <https://code.google.com/p/Memcached/wiki/MemcacheBinaryProtocol> 找到 。
7+
8+
我们不会实现 Memcached 的所有命令,只会实现三种操作:SET,GET 和 DELETE。这样做事为了让事情变得简单。
9+

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ This is the summary of my book.
9393
* 高级主题
9494
* [实现自定义的编解码器](ADVANCED TOPICS/Implement a custom codec.md)
9595
* [编解码器的范围](ADVANCED TOPICS/Scope of the codec.md)
96+
* [实现 Memcached 编解码器](ADVANCED TOPICS/Implementing the Memcached codec.md)
9697
* [EventLoop 和线程模型](ADVANCED TOPICS/EventLoop and thread model.md)
9798
* [用例1:Droplr Firebase 和 Urban Airship](ADVANCED TOPICS/Droplr Firebase and Urban Airship.md)
9899
* [用例2:Facebook 和 Twitter](ADVANCED TOPICS/Facebook and Twitter.md)

0 commit comments

Comments
 (0)