An Example for a custom module integrating java by nginx-clojure module.
This simple example shows how a nginx C module integrates existing Java
libraries by using nginx-clojure.
Example Link:
https://github.com/nginx-clojure/nginx-clojure/tree/master/example-projects/c-module-integration-exa
0.4.3 (2015-10-25)
=
New Feature: Add directive jvm_classpath which supports wildcard character *
(issue #95)
New Feature: Add directive jvm_classpath_check which is enabled by default
and when it is enabled access permission about classpaths will be checked.
N
Nginx-Clojure 0.4.2 (2015-08-31)
1. New Feature: Support Sente (issue #87, see this PR
(https://github.com/ptaoussanis/sente/pull/160)) )
2. New Feature: Per-message Compression Extensions (PMCEs) for WebSocket
(issue #88)
3. New Feature: Add add-aggregated-listener! to makes handling small but
fr
0.4.1 (2015-08-12)
New Feature: Coroutine based socket supports unix domain socket
New Feature: APIs for Embedding Nginx-Clojure into a standard
Clojure/Java/Groovy App (issue #86). This feature makes debug/test with
Nginx Clojure/Java/Groovy handlers very easy.
New Feature: Autodetect jvm_path (i
ain that this will be reported as memory leak by
valgrind.
Just as Maxim said, I plan to write a new process_cycle for my shared
library and record all unreleased memory and do release them at the end of
process_cycle.
Regards.
Xfeep
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,260
ns.
>
You're right.
But for module developers who use valgrind there are maybe some confusion,
the built-in core modules also have "memory leaks" , despite the fact that
those are not real leaks because OS will free them after nginx
master/worker processes exit.
Regards.
Xfe
BTW, after start nginx by valgrind it won't print memory leaks report until
we stop nginx by
$ objs/nginx -c work-dir/test.conf -p work-dir
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,260692,260693#msg-260693
___
nginx mailing list
nginx@
counts of detected and suppressed errors, rerun with: -v
==10039== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
There are a lot of memory leaks. e.g. ngx_epoll_done will never be called
so event_list has no chance to be freed.
Thanks.
Xfeep
Posted at Nginx Forum:
http://forum
Nginx-Access-Plus is a Nginx module allows limiting access to certain http
request methods and client addresses. e.g.
location / {
allow_method all get|head;
allow_method 192.168.1.0/24 post|delete;
deny_method all all;
}
website : https://github.com/nginx-clojure/nginx-access-plus
Nginx-Access-Plus is a Nginx module allows limiting access to certain http
request methods and client addresses.
e.g.
location / {
allow_method all get|head;
allow_method 192.168.1.0/24 post|delete;
deny_method all all;
}
website : https://github.com/nginx-clojure/nginx-access-plu
Freebsd port upgraded nginx clojure module from 0.3.0 to 0.4.0!
So on Freebsd we can chose clojure module to enable it after run
pkg install nginx
cd /usr/ports/www/nginx
make config
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,260065,260105#msg-260105
___
0.4.0 (2015-07-06)
New Feature: Server Side Websocket (issue #73)
New Feature: A build-in Jersey container to support java standard RESTful
web services (JAX-RS 2.0) (issue #74)
New Feature: Tomcat 8 embedding support (so servlet 3.1/jsp/sendfile/JSR-356
websocket work within nginx!) (issue #67)
N
Hi reberto,
Nginx Clojure Module V0.2.0 provides three choices for handling blocked I/O
with Java/Clojure Now.
(1) Coroutine based Socket
It's Non-blocking Java Socket API Compatible and work well with largely
existing java library such as apache http client, mysql jdbc drivers etc.
non-bloc
nginx-clojure v0.2.0 includes new features:
(1) non-blocking socket based on coroutine and compatible with largely
existing java library such as apache http client, mysql jdbc drivers
(2) asynchronous callback API of socket for some advanced usage
(3) run initialization clojure code when nginx wor
Thanks a lot!
So far about the nginx-clojure project the most valuable adviceI have
received is from you!
Best regards!
roberto Wrote:
---
> > Thanks for your good hints.
> >
> > I see there 's a good no-blocking mysql client Libdrizzle fro
Thanks for your good hints.
I see there 's a good no-blocking mysql client Libdrizzle from
https://launchpad.net/drizzle.
With Nginx-lua or Openresty , Libdrizzle has been used in production.
I won't hope every thing is no-blocking and I think it is unnecessary.
Only when blocking hurt us w
roberto Wrote:
---
>
> Sorry, but are you saying that your suggested usage for concurrency is
> multiprocessing ?
>
> Multiprocessing is completely alien in the jvm (the vm is not even
> fork-friendly) and that would mean the nginx worker comple
With the default setting pipe is not used.
Pipe is only used for enable jvm thread pool mode only when jvm_workers > 0
(jvm_workers default = 0).
Further more pipe is never used to transfer the while request or response
message.
When under jvm thread pool mode, pipe is only used to transfer a e
ny mistake.
xfeep Wrote:
---
> Hi!
>
> Nginx-Clojure Module Release 0.1.0 was out several day ago!
>
> It is a module for embedding Clojure or Java programs, typically
> those Ring based handlers.
>
> It is an open so
Hi!
Nginx-Clojure Module Release 0.1.0 was out several day ago!
It is a module for embedding Clojure or Java programs, typically those Ring
based handlers.
It is an open source project hosted on Github, the site url is
https://github.com/xfeep/nginx-clojure
With it we can develope high
20 matches
Mail list logo