[专题]openresty学习路线图

参考openresty技能图谱,准备写一系列的博客来记录自己学习openresty的历程

一、openresty必知基本概念

 1、restful API和API gateway
 2、微服务
 3、DSL(领域特定语言)
 4、c10k和c1M
 5、非阻塞/异步I/O
 6、事件循环
 7、协程
 8、测试驱动开发(TDD)

二、openresty基本指令和API(nginx for lua api)

 1、nginx for lua API
 2、主要指令
 3、热加载lua代码
 4、cosocket TCP/UDP
 5、SSL_certificate_by_lua
 6、balancer_by_lua
 7、semphore
 8、resty_core
  • lua-resty-memcached
  • lua-resty-mysql
  • lua-resty-redis
  • lua-resty-dns
  • lua-resty-upload
  • lua-resty-websocket
  • lua-resty-lock
  • lua-resty-logger-socket
  • lua-resty-lrucache
  • lua-resty-string
  • ngx_memc
  • ngx_postgres
  • ngx_redis2
  • ngx_redis
  • ngx_proxy
  • ngx_fastcgi

三、LuaJIT相关API

 1、JIT
 2、JIT库
 3、ffi API
 4、NYI

四、nginx用法及相关指令

 1、nginx log
 2、if 是邪恶的
 3、性能调优
 4、零拷贝机制
 5、nginx请求阶段
 6、代理proxy
 7、负载均衡 upstream
 8、静态资源管理

五、openresty缓存

 1、ngx.shared.DICT
 2、lua-resty-shcache
 3、lua-resty-lock
 4、缓存风暴
 5、lua-resty-lrucache

六、openresty及lua调试

 1、调试日志
 2、ngx-gdb-utils
 3、stapxx
 4、nginx-systemtap-toolkit
 5、火焰图
 6、core dump

七、openresty测试技巧

 1、测试驱动开发及单元测试
 2、curl、ab及wrk
 3、test:::nginx

八、openresty周边与相关技术延伸

1、mysql
2、redis
3、正则表达式
4、kafka
5、docker
6、KONG

  评论

  我要发表看法

通知

相关文章