{"id":91534,"date":"2024-03-22T14:22:55","date_gmt":"2024-03-22T06:22:55","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=91534"},"modified":"2024-03-22T14:22:55","modified_gmt":"2024-03-22T06:22:55","slug":"nginx-clojure-clojure","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/nginx-clojure-clojure.html","title":{"rendered":"\u7b80\u8ff0Nginx \u7684 Clojure \u6a21\u5757 Nginx-Clojure"},"content":{"rendered":"
Nginx-Clojure \u662f\u4e00\u4e2a Nginx \u7684\u6a21\u5757\uff0c\u7528\u4e8e\u5d4c\u5165 Clojure \u6216\u8005 Java \u6216\u8005 Groovy \u7a0b\u5e8f\u3002<\/p>\n
1.\u517c\u5bb9 Ring \u4ee5\u53ca\u652f\u6301\u57fa\u4e8e Ring \u7684\u6846\u67b6\uff0c\u4f8b\u5982 Compojure<\/p>\n
2.\u53ef\u4f7f\u7528 Clojure\/Java\/Groovy \u7f16\u5199\u7b80\u5355\u7684 HTTP \u670d\u52a1\u5904\u7406\u5668<\/p>\n
3.NEW: Nginx Access Handler by Clojure \/ Java \/ Groovy<\/p>\n
4.NEW: Nginx Header Filter by Clojure \/ Java \/ Groovy<\/p>\n
5.\u4f7f\u7528 Clojure\/Java\/Groovy \u7f16\u5199\u7b80\u5355\u7684 URL \u91cd\u5199\u5904\u7406\u5668<\/p>\n
6.\u975e\u5835\u585e\u534f\u7a0b Socket\uff0c\u517c\u5bb9 Java Socket API\uff0c\u53ef\u4ee5\u591a\u6570 Java \u7f51\u7edc\u5e93\u517c\u5bb9\uff0c\u5982Apache HTTP Client\u548c MySQL JDBC\u9a71\u52a8\u7b49<\/p>\n
7.\u53ef\u5728\u4e00\u4e2a\u5b50\u534f\u7a0b\u4e2d\u5e76\u884c\u5904\u7406\u591a\u4e2a\u5957\u63a5\u5b57\uff0c\u5c31\u662f\u8bf4\u53ef\u4ee5\u540c\u65f6\u8c03\u7528\u4e24\u4e2a\u8fdc\u7a0b\u670d\u52a1<\/p>\n
8.Socket\/Channel \u7684\u5f02\u6b65\u56de\u8c03 API<\/p>\n
9.Long Polling & Server Sent Events<\/p>\n
10.\u4f7f\u7528\u5e7f\u64ad\u4e8b\u4ef6 API \u66f4\u5bb9\u6613\u5b9e\u73b0 Sub\/Pub \u670d\u52a1<\/p>\n
11.\u53ef\u5728 Nginx worker \u542f\u52a8\u65f6\u8fd0\u884c\u521d\u59cb Clojure \u4ee3\u7801<\/p>\n
12.\u652f\u6301\u7528\u6237\u81ea\u5b9a\u4e49\u7684 HTTP \u8bf7\u6c42\u65b9\u6cd5<\/p>\n
13.\u517c\u5bb9 Nginx 1.6.0\uff0cNginx 1.4.x \u4e5f OK\uff0c\u4f46\u518d\u8001\u7684\u7248\u672c\u6ca1\u7ecf\u8fc7\u6d4b\u8bd5<\/p>\n
14.\u53d7\u76ca\u4e8e Nginx \u7684\u673a\u5236 worker \u8fdb\u7a0b\u6302\u6389\u540e\uff0c\u4e3b\u8fdb\u7a0b\u4f1a\u81ea\u52a8\u8fdb\u884c\u91cd\u542f<\/p>\n
15.\u91c7\u7528\u5bf9HTTP Header\u8fdb\u884c\u60f0\u6027\u89e3\u6790\u4ee5\u53caNginx\u548cJVM\u4e4b\u95f4\u76f4\u63a5\u7684\u5185\u5b58\u64cd\u4f5c\u6765\u5feb\u901f\u5904\u7406\u52a8\u6001\u5185\u5bb9<\/p>\n
16.\u5229\u7528 Nginx \u96f6\u62f7\u8d1d\u6587\u4ef6\u53d1\u9001\u673a\u5236\u6765\u5feb\u901f\u5904\u7406\u9759\u6001\u5185\u5bb9<\/p>\n
17.\u652f\u6301 Linux x64, Linux x86 32bit, Win32, Win64 and Mac OS X.<\/p>\n
\n\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.oschina.net\/p\/nginx-clojure<\/a><\/p>\n