
分布式缓存
hyyangyang
这个作者很懒,什么都没留下…
展开
-
ATS系列之http管线
原创 2014-12-10 11:26:28 · 548 阅读 · 0 评论 -
ATS系列之插件编写流程
1 首先判断要写的插件是否基于http的协议的。 2 要写的功能是在ATS整个流水线的哪个环节插入(hook)处理的 (这里类似于渲染管线中做顶点shader还是片段shader,勾住的地方是不同的) 3 以 header-based example 为例学习如何书写插件(包括创建continuation和建立hook),如果要对data进行变原创 2014-12-10 11:22:56 · 863 阅读 · 0 评论 -
ATS系列之插件编写步骤
1 c语言编写插件框架,需要包含TSPluginInit 入口函数 2 tsxs -o -i (install)hello-world.so -c hello-world.c (类似于apxs 编写apache的module) 3 hello-world.so arg1 arg2 (变量的参数对应于TSPluginInit的入口接口)写入原创 2014-12-10 11:12:08 · 990 阅读 · 0 评论