← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 4585

Lua模块嵌入代理处理链

理解等级:高级

NGINX 可通过 Lua 模块在请求处理的不同阶段执行逻辑,并与事件模型及子请求协作。它把可复用通信处理从上游应用移到代理,但脚本仍须遵守事件循环与运行环境约束。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 定制与集成 · 查看原书依据

      NGINX and Lua NGINX provides the ability to write dynamic modules that can be loaded at runtime based on configuration files. These modules can be unloaded by editing the configuration files and reloading NGINX. NGINX supports embedding custom logic into dynamic modules using Lua. Lua is a lightweight, embeddable scripting language that supports procedural, functional, and object-oriented programming. Lua is dynamically typed and runs by interpreting bytecode with a register-based

    参考来源

    - 位置:《The Enterprise Path to Service Mesh Architectures, 2nd Edition》第04章《定制与集成》(来源项目book-sources;源文件:extracted/The Enterprise Path to Service Mesh Architectures, 2nd Edition/_epub-src/OEBPS/ch04.xhtml) - 结论依据:原文在此说明该机制、范围或取舍;本卡保留其历史语境,不将预测、产品状态或命令作为当前已核验事实。 - 原始内容:NGINX and Lua NGINX provides the ability to write dynamic modules that can be loaded at runtime based on configuration files. These modules can be unloaded by editing the configuration files and reloading NGINX. NGINX supports embedding custom logic into dynamic modules using Lua. Lua is a lightweight, embeddable scripting language that supports procedural, functional, and object-oriented programming. Lua is dynamically typed and runs by interpreting bytecode with a register-based