|
1 | 1 | <h1>
|
2 | 2 | <a id="user-content-core-features" class="anchor" href="#core-features" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Core Features</h1>
|
3 |
| -<p>The latest release is v0.4.5, more detail changes about it can be found from <a href="//nginx-clojure.github.io/downloads.html">Release History</a>.</p> |
| 3 | +<p>The latest release is v0.5.0, more detail changes about it can be found from <a href="//nginx-clojure.github.io/downloads.html" rel="nofollow">Release History</a>.</p> |
4 | 4 | <ol>
|
5 | 5 | <li>Compatible with <a href="https://github.com/ring-clojure/ring/blob/master/SPEC">Ring</a> and obviously supports those Ring based frameworks, such as Compojure etc.</li>
|
6 | 6 | <li>Http Services by using Clojure / Java / Groovy to write simple handlers for http services.</li>
|
7 | 7 | <li>Nginx Access Handler by Clojure / Java / Groovy</li>
|
8 | 8 | <li>Nginx Header Filter by Clojure / Java / Groovy</li>
|
| 9 | +<li>Nginx Body Filter by Clojure / Java / Groovy</li> |
9 | 10 | <li>
|
10 |
| -<strong><em>NEW</em></strong>: Nginx Body Filter by Clojure / Java / Groovy</li> |
| 11 | +<strong><em>NEW</em></strong>: Nginx Log Handler by Clojure / Java / Groovy</li> |
| 12 | +<li> |
| 13 | +<strong><em>NEW</em></strong>: HTTP V2 support in both standard edition and embedded edition which are compiled against Nginx 1.14.2</li> |
| 14 | +<li> |
| 15 | +<strong><em>NEW</em></strong>: Support Java 9, 10, 11, 12</li> |
11 | 16 | <li>Pub/Sub Among Nginx Worker Processes</li>
|
12 | 17 | <li>Shared Map based on shared memory & Shared Map based Ring session store</li>
|
13 | 18 | <li>Support Sente, see <a href="https://github.com/ptaoussanis/sente/pull/160">this PR</a>
|
|
25 | 30 | <li>Long Polling & Server Sent Events</li>
|
26 | 31 | <li>Run initialization clojure code when nginx worker starting</li>
|
27 | 32 | <li>Support user defined http request method</li>
|
28 |
| -<li>Compatible with the Nginx lastest stable version 1.12.0. (Nginx 1.8.x, Nginx 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)</li> |
29 |
| -<li>One of benifits of <a href="http://nginx.org/">Nginx</a> is worker processes are automatically restarted by a master process if they crash</li> |
30 |
| -<li>Utilizes lazy headers and direct memory operation between <a href="http://nginx.org/">Nginx</a> and JVM to fast handle dynamic contents from Clojure or Java code.</li> |
31 |
| -<li>Utilizes <a href="http://nginx.org/">Nginx</a> zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.</li> |
| 33 | +<li>Compatible with the Nginx lastest most stable version 1.14.2. (Nginx 1.12.x, 1.8.x, 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)</li> |
| 34 | +<li>One of benifits of <a href="http://nginx.org/" rel="nofollow">Nginx</a> is worker processes are automatically restarted by a master process if they crash</li> |
| 35 | +<li>Utilizes lazy headers and direct memory operation between <a href="http://nginx.org/" rel="nofollow">Nginx</a> and JVM to fast handle dynamic contents from Clojure or Java code.</li> |
| 36 | +<li>Utilizes <a href="http://nginx.org/" rel="nofollow">Nginx</a> zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.</li> |
32 | 37 | <li>Supports Linux x64, Linux x86 32bit, Win32, Win64 and Mac OS X. Freebsd version can also be got from Freebsd ports.</li>
|
33 | 38 | </ol>
|
| 39 | +<p>By the way it is very fast, the benchmarks can be found <a href="https://github.com/ptaoussanis/clojure-web-server-benchmarks/">HERE(with wrk2)</a>.</p> |
34 | 40 | <h1>
|
35 |
| -<a id="user-content-by-the-way-it-is-very-fast-the-benchmarks-can-be-found-herewith-wrk2jar-repository" class="anchor" href="#by-the-way-it-is-very-fast-the-benchmarks-can-be-found-herewith-wrk2jar-repository" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>By the way it is very fast, the benchmarks can be found <a href="https://github.com/ptaoussanis/clojure-web-server-benchmarks/">HERE(with wrk2)</a>. |
36 |
| -Jar Repository</h1> |
37 |
| -<p>Nginx-Clojure has already been published to <a href="https://clojars.org/">https://clojars.org/</a> whose maven repository is</p> |
| 41 | +<a id="user-content-jar-repository" class="anchor" href="#jar-repository" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Jar Repository</h1> |
| 42 | +<p>Nginx-Clojure has already been published to <a href="https://clojars.org/" rel="nofollow">https://clojars.org/</a> whose maven repository is</p> |
38 | 43 | <div class="highlight highlight-text-xml"><pre><<span class="pl-ent">repository</span>>
|
39 | 44 | <<span class="pl-ent">id</span>>clojars.org</<span class="pl-ent">id</span>>
|
40 | 45 | <<span class="pl-ent">url</span>>http://clojars.org/repo</<span class="pl-ent">url</span>>
|
41 | 46 | </<span class="pl-ent">repository</span>></pre></div>
|
42 |
| -<p>After adding clojars repository, you can reference nginx-clojure 0.4.5 , e.g.</p> |
| 47 | +<p>After adding clojars repository, you can reference nginx-clojure 0.5.0 , e.g.</p> |
43 | 48 | <h2>
|
44 | 49 | <a id="user-content-leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen" class="anchor" href="#leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Leiningen (clojure, no need to add clojars repository which is a default repository for Leiningen)</h2>
|
45 |
| -<div class="highlight highlight-source-clojure"><pre>[nginx-clojure <span class="pl-s"><span class="pl-pds">"</span>0.4.5<span class="pl-pds">"</span></span>]</pre></div> |
| 50 | +<div class="highlight highlight-source-clojure"><pre>[nginx-clojure <span class="pl-s"><span class="pl-pds">"</span>0.5.0<span class="pl-pds">"</span></span>]</pre></div> |
46 | 51 | <h2>
|
47 | 52 | <a id="user-content-gradle-groovyjava" class="anchor" href="#gradle-groovyjava" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Gradle (groovy/java)</h2>
|
48 |
| -<pre><code>compile "nginx-clojure:nginx-clojure:0.4.5" |
| 53 | +<pre><code>compile "nginx-clojure:nginx-clojure:0.5.0" |
49 | 54 | </code></pre>
|
50 | 55 | <h2>
|
51 | 56 | <a id="user-content-maven" class="anchor" href="#maven" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Maven</h2>
|
52 | 57 | <div class="highlight highlight-text-xml"><pre><<span class="pl-ent">dependency</span>>
|
53 | 58 | <<span class="pl-ent">groupId</span>>nginx-clojure</<span class="pl-ent">groupId</span>>
|
54 | 59 | <<span class="pl-ent">artifactId</span>>nginx-clojure</<span class="pl-ent">artifactId</span>>
|
55 |
| - <<span class="pl-ent">version</span>>0.4.5</<span class="pl-ent">version</span>> |
| 60 | + <<span class="pl-ent">version</span>>0.5.0</<span class="pl-ent">version</span>> |
56 | 61 | </<span class="pl-ent">dependency</span>></pre></div>
|
57 | 62 | <h1>
|
58 | 63 | <a id="user-content-more-documents" class="anchor" href="#more-documents" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>More Documents</h1>
|
59 |
| -<p>More Documents can be found from its web site <a href="http://nginx-clojure.github.io/">nginx-clojure.github.io</a></p> |
| 64 | +<p>More Documents can be found from its web site <a href="http://nginx-clojure.github.io/" rel="nofollow">nginx-clojure.github.io</a></p> |
60 | 65 | <h1>
|
61 | 66 | <a id="user-content-license" class="anchor" href="#license" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>License</h1>
|
62 |
| -<p>Copyright © 2013-2017 Zhang, Yuexiang (xfeep) and released under the BSD 3-Clause license.</p> |
| 67 | +<p>Copyright © 2013-2019 Zhang, Yuexiang (xfeep) and released under the BSD 3-Clause license.</p> |
63 | 68 | <p>This program uses:</p>
|
64 | 69 | <ul>
|
65 | 70 | <li>Re-rooted ASM bytecode engineering library which is distributed under the BSD 3-Clause license</li>
|
|
0 commit comments