打赏

相关文章

OpenResty搭建游戏服务器(三)使用 Protobuf

lua 的 protobuf 库 之前一直用的 云风的pbc ,一直用的很嗨皮。 但这个库好像已经不怎么维护了,而我想要的是支持 proto3。 最终我找到 lua-protobuf 这个库。 1、下载库并将 pb.c 和 pb.h 编译成 pb.so git clone https://github.com/starwing/lu…

openresty lua-resty-balancer动态负载均衡

openresty lua-resty-balancer动态负载均衡 lua-resty-balancer:https://github.com/openresty/lua-resty-balancer.git ngx.balancer:https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md lua-resty-balancer 说明 This lib…

Openresty 标准部署手册

一、概述 1.1、概念 OpenResty 是一个基于 Nginx 与 Lua 的高性能 Web 平台,其内部集成了大量精良的 Lua 库、第三方模块以及大多数的依赖项。用于方便地搭建能够处理超高并发、扩展性极高的动态 Web 应用、Web 服务和动态网关。 1.2、应用及版本 应用 版本 Openresty1.17.8…

OpenResty和Lua以及nginx的应用

OpenResty安装 下载:http://openresty.org/en/linux-packages.html#centos add the yum repo: wget https://openresty.org/package/centos/openresty.repo sudo mv openresty.repo /etc/yum.repos.d/ ​ update the yum index: sudo yum check-update ​ sudo yum insta…

openresty实现动态服务转发

文章目录 为什么要用openrest,而没有选择nginxopenresty是什么业务场景:在openresty解析所遇到的问题: 作者:李林成 推荐理由:该篇文档把openresty请求分发讲解的比较通俗易懂,而且有demo输出,其…

openresty及lor入门教程

openresty及lor入门教程 一、开发环境准备1、openresty安装2、eclipse安装lua插件3、环境配置说明 二、Lor框架基本使用1、分配置文件dev.conf介绍2、main入口文件介绍3、router文件介绍4、action文件夹介绍5、service文件夹介绍6、filter文件夹介绍7、综述 三、补充1、调式2、…

手机版浏览

扫一扫体验

微信公众账号

微信扫一扫加关注

返回
顶部