个推微服务实践
Api�� OpenResty�Nginx+Lua� ��Nginx����������Lua�� ����������web�� ����� HTTP REST�JSON ��������������� ����� HTTP REST�JSON����� ��������������� ���� ZK������ ������������� ���� Lua�Node.js�Java ������������������ OpenResty���� � Nginx � Lua ���� Web ���������� ���� Lua ������ ������������ ������������ ����������� Web ���Web ����� ��� ������� LVS+HaProxy API���OpenResty (Nginx+Lua) OpenResty (Nginx+Lua) PM2 Node.js js Jetty Java OpenResty (Nginx+Lua) PM2 Node.js Jetty Java ������� ZooKeeper � etcd/consul ���� ���� lib library lua WebLua conf lib library express+co WebNode conf �������0 码力 | 32 页 | 1.16 MB | 1 年前3Apache APISIX 在金山办公的开发和落地实践
Apache APISIX 在金山办公的开发和落地实践 张强 金山办公 01 前情回顾&增补 02 关于 OpenResty 和 Lua 的思考 03 基于 Apache APISIX 破局 04 解决 Nginx 带来的问题 CONTENT W r i t e h e r e S o m e t h i n g a b o u t 前情回顾 & 增补 01 About •金山办公云原生应用组流量网关 o u t 关于 OpenResty 和 Lua 的思考 一个菜鸟的视角 02 关于 OpenResty 和 Lua 的思考 Lua 适合 “ 平均水平 ” 的大团队做大工程吗 •动态类型语言 •网关产品对 runtime error 容忍度比较低 •Lua 开发环境,特别是 OpenResty 相关的比较弱 •难招人,后端开发转 lua 成本高昂 “A programming language applications” Wikipedia - Lua 关于 OpenResty 和 Lua 的思考 Nginx 的设计给 “ 平均水平 ” 终端开发者带来的问题 •多进程模型 + 异步 •线上问题难以调试 •多进程间同步效率低 •以nginx-lua-prometheus为例 (https://github.com/knyar/nginx-lua-prometheus/issues/107)0 码力 | 27 页 | 4.88 MB | 1 年前3Pandoc User’s Guide (April 7, 2024)
. . . . . . . . . . . . . . . . . . 154 Running pandoc as a web server 155 Running pandoc as a Lua interpreter 157 A note on security 159 Authors 161 vi Synopsis pandoc [options] [input-file]… (TikiWiki markup) • twiki (TWiki markup) • typst (typst) • vimwiki (Vimwiki) • the path of a custom Lua reader, see Custom readers and writers below Extensions can be individually enabled or disabled by typst (typst) 9 Options • xwiki (XWiki markup) • zimwiki (ZimWiki markup) • the path of a custom Lua writer, see Custom readers and writers below Note that odt, docx, epub, and pdf output will not be0 码力 | 168 页 | 475.29 KB | 1 年前3Apache HTTP Server Documentation Version 2.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648 10.68 Apache Module mod lua . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649 10.69 Apache Module restrict certain HTTP methods without interfering with authentication or authorization. MOD LUA Embeds the Lua2 language into httpd, for configuration and small business logic functions. (Experimental) unavailable (error 5xx). MOD CACHE can now insert HIT/MISS/REVALIDATE into an X-Cache header. 2http://www.lua.org/ 1.2. OVERVIEW OF NEW FEATURES IN APACHE HTTP SERVER 2.4 9 MOD INCLUDE Support for the ’onerror’0 码力 | 1031 页 | 3.23 MB | 1 年前3Apache HTTP Server Documentation Version 2.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649 10.68 Apache Module mod lua . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650 10.69 Apache Module restrict certain HTTP methods without interfering with authentication or authorization. MOD LUA Embeds the Lua2 language into httpd, for configuration and small business logic functions. (Experimental) unavailable (error 5xx). MOD CACHE can now insert HIT/MISS/REVALIDATE into an X-Cache header. 2http://www.lua.org/ 1.2. OVERVIEW OF NEW FEATURES IN APACHE HTTP SERVER 2.4 9 MOD INCLUDE Support for the ’onerror’0 码力 | 1031 页 | 3.23 MB | 1 年前3httpd 2.4.28 中文文档
restrict certain HTTP methods without interfering with authentication or authorization. mod_lua Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental) plus the two additional modules mod_ldap and mod_lua: $ CC="pgcc" CFLAGS="-O2" \ ./configure --prefix=/sw/pkg/apache \ --enable-ldap=shared \ --enable-lua=shared When configure is run it will take several then use this connection in a variety of other modules, including mod_rewrite, mod_authn_dbd, and mod_lua. Further usage examples appear in each of those modules' documentation. See DBDParams for connection0 码力 | 2659 页 | 3.10 MB | 1 年前3httpd 2.4.33 中文文档
restrict certain HTTP methods without interfering with authentication or authorization. mod_lua Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental) plus the two additional modules mod_ldap and mod_lua: $ CC="pgcc" CFLAGS="-O2" \ ./configure --prefix=/sw/pkg/apache \ --enable-ldap=shared \ --enable-lua=shared When configure is run it will take several then use this connection in a variety of other modules, including mod_rewrite, mod_authn_dbd, and mod_lua. Further usage examples appear in each of those modules' documentation. See DBDParams for connection0 码力 | 2692 页 | 3.12 MB | 1 年前3httpd 2.4.25 中文文档
restrict certain HTTP methods without interfering with authentication or authorization. mod_lua Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental) plus the two additional modules mod_ldap and mod_lua: $ CC="pgcc" CFLAGS="-O2" \ ./configure --prefix=/sw/pkg/apache \ --enable-ldap=shared \ --enable-lua=shared When configure is run it will take several then use this connection in a variety of other modules, including mod_rewrite, mod_authn_dbd, and mod_lua. Further usage examples appear in each of those modules' documentation. See DBDParams for connection0 码力 | 2573 页 | 2.12 MB | 1 年前3httpd 2.4.8.dev 中文文档
restrict certain HTTP methods without interfering with authentication or authorization. mod_lua Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental) plus the two additional modules mod_ldap and mod_lua: $ CC="pgcc" CFLAGS="-O2" \ ./configure --prefix=/sw/pkg/apache \ --enable-ldap=shared \ --enable-lua=shared When configure is run it will take several Apache Module mod_lua Description: Provides Lua hooks into various portions of the httpd request processing Status: Experimental Module Identifier: lua_module Source File: mod_lua.c Compatibility:0 码力 | 2404 页 | 1.84 MB | 1 年前3httpd 2.4.23 中文文档
restrict certain HTTP methods without interfering with authentication or authorization. mod_lua Embeds the Lua language into httpd, for configuration and small business logic functions. (Experimental) plus the two additional modules mod_ldap and mod_lua: $ CC="pgcc" CFLAGS="-O2" \ ./configure --prefix=/sw/pkg/apache \ --enable-ldap=shared \ --enable-lua=shared When configure is run it will take several Apache Module mod_lua Description: Provides Lua hooks into various portions of the httpd request processing Status: Experimental Module Identifier: lua_module Source File: mod_lua.c Compatibility:0 码力 | 2559 页 | 2.11 MB | 1 年前3
共 495 条
- 1
- 2
- 3
- 4
- 5
- 6
- 50