OpenResty 技能图谱以及学习要点,


这是早些时候openresty社区发布的技能图谱,留着备用。

下面是文字版本

基本概念

 

  • HTTP
  • TDD (驱动测试开发)
  • RESTful API & API GateWay
  • 微服务
  • DSL
  • C10K & C1M
  • 非阻塞 & 异步 I/O
  • event loop
  • coroutine
  • Streaming process 流处理
  • I/O mutiplexing (多路I/O技术)

Nginx

 

  • phase (nginx的执行阶段非常重要了)
  • log
  • static file
  • load balancer
  • proxy
  • tuning for performance
  • if is evil

LuaJIT

  • luajit 大部分语法对 lua5.1
  • JIT
  • NYI (Not Yet Implemented) 要熟悉哪些指令可以被jit化
  • ffi.* API
  • jit.* Library
  • Standard lua (标准的lua)

ngx_lua

 

  • directives (指令时nginx配置中的重要概念)
  • Nginx API for Lua(ngx.*, tcpsock.*, coroutine.*)
  • resty-core
  • semaphore
  • balancer_by_lua
  • ssl_certificat_by_lua
  • cosocket TCP/UDP (openresty的精髓之一)
  • hot load lua code

cache

 

  • openresty 提供了丰富的缓存方案
  • ngx.shared.DICT (基于共享内存)
  • lua-resty-lrucache (单个worker内共享)
  • dog-pile effect
  • lua-resty-lock
  • lua-resty-shcache
  • ngx_srcache

Debugging


静态和动态调试,log调试等

  • debugging log
  • core dump
  • flame graph
  • on-CPU & off-CPU
  • nginx-systemtap-tookit
  • stapxx
  • nginx-gdb-utils

Testing

  • TDD & Unit Testing
  • Test::Nginx
  • curl & ab & wrk

Around Tech Stack

  • MySQL
  • Redis
  • Kafka
  • Docker
  • Kong
  • regex
  • memcached
  • Postgresql

其他非常多了。。
这是16年时候发布的,列举了很多的知识点,很有参考价值。
--------------------- 
作者:orangleliu 
来源:CSDN 
原文:https://blog.csdn.net/orangleliu/article/details/60325268 
版权声明:本文为博主原创文章,转载请附上博文链接!

相关内容

    暂无相关文章