openresty 第三方模块列表 这个是YagamiFramework(八神框架)系列文章的一部分,有遇到好的插件,我会持续的更新这篇文章的.

最近爱上openresty了,倒腾了后端,用Lua重写了第三方模块了,所以将涉及到的第三方模块分享给大家.

Yagami框架整合了以下的第三方模块,用了之后感觉还是挺赞的.

yagami..ko from dependent

——– need to add ————–

logger-socket
https://github.com/cloudflare/lua-resty-logger-socket
这个插件是由openresty作者agentzh所在的公司开发的一个logger插件,将产生的Log发送syslog到特定的的机器的

lua-resty-beanstalkd
https://github.com/smallfish/lua-resty-beanstalkd
一个beanstalkd队列的第三方的lua客户端,做着似乎smallfish是ngx_lua的作者之一,很赞的项目,最近在学习beanstalkd中.

——– need to add ————–

一些扩展的Mysql数据库相关的操作方法 https://github.com/LuaDist/dado/blob/master/src/dado/sql.lua
https://github.com/LuaDist/dado/blob/master/src/table/extra.lua

lua-multipart-post
https://github.com/catwell/lua-multipart-post
这个是一个基于lua实现的multipart post的插件,将数据拼装成请求发送到后端的存储服务上.

lua_waf
https://github.com/loveshell/ngx_lua_waf
这个是loveshell写的一个nginx的防火墙插件,功能很强大,推荐给大家试用.

resty http:
https://github.com/liseen/lua-resty-http
https://github.com/dcshi/lua-resty-http
https://github.com/bakins/lua-resty-http-simple
Http的后端发送插件,自己拼装请求后往后端的特定服务器发送自己构造的请求很常用,推荐实用….

qrdecode: (todo)
https://github.com/dcshi/lua-resty-QRDecode (error)
https://github.com/dcshi/lua-resty-QRcode
QRCode相关的插件,是由就职于腾讯的dcshi写的, 实现了nginx lua生成和解析qrcode. 生成的我调试通过了,但是decode qrcode的部分,在centos下编译没有通过,这块需要在完善下.

ipquery:
https://github.com/charlieYong/ipquery
ipquery是在lua下查下纯真ip库的一个插件,挺赞的……

uuid:
https://github.com/dcshi/lua-resty-UUID
这个是uuid生成插件,可以生成长度为20和长度为8的uuid,测试过,很赞….推荐使用,在centos 5.6/6.4下编译通过..

websocket:
https://github.com/agentzh/lua-resty-websocket
强大的websocket支持,貌似最新版本的Openresty已经提供支持了!

weedfs:
https://github.com/medcl/lua-resty-weedfs
http://log.medcl.net/item/2012/10/lua-resty-weedfs/ 这个是由medcl写weedfs插件,weedfs是用go写的类似facebook图片存储系统的一个文件存储系统,支持sharding,很赞,就一个weed的单个文件,就可以跑起来了. 我现在将这个作为自己的服务器的小型文件存储后端.通过上面提到的multipost拼接请求将这些数据发送到后端的服务器存储起来,保存为一个uuid关联起来,写入到后端的数据库中…很赞….

validate:
https://bitbucket.org/djerius/validate.args
这个插件可以将validate做验证.

lua-cmsgpack:(todo)
https://github.com/guanlan/lua-cmsgpack
这个还没有测试过.

lua int64(error)
https://github.com/cloudwu/lua-int64
这个是云风写的,由于不支持luajit,所以在nginx_lua下失败了…..

暂时用的就这些,欢迎大家有更好的插件,一起交流!

::...
免责声明:
当前网页内容, 由 大妈 ZoomQuiet 使用工具: ScrapBook :: Firefox Extension 人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:

或是邮件反馈可也:
askdama[AT]googlegroups.com


订阅 substack 体验古早写作:


点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

关注公众号, 持续获得相关各种嗯哼:
zoomquiet


自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
粤ICP备18025058号-1
公安备案号: 44049002000656 ...::