Nginx-Clojure is a Nginx module for embedding Clojure or Java or Groovy programs, typically those Ring based handlers.

Check http://nginx-clojure.github.io for more details

Features

  • Compatible with Ring and obviously supports those Ring based frameworks, such as Compojure etc.
  • Http Services by using Clojure / Java / Groovy to write simple handlers for http services.
  • Utilizes lazy headers and direct memory operation between Nginx and JVM to fast handle dynamic contents from Clojure or Java code.
  • Utilizes Nginx zero copy file sending mechanism to fast handle static contents controlled by Clojure or Java code.
  • Supports Linux x64, Linux x86 32bit, Win32, Win64 and Mac OS X. Freebsd version can also be got from Freebsd ports.
  • Non-blocking coroutine based socket which is Compatible with Java Socket API
  • Asynchronous callback API of socket for some advanced usage
  • Run initialization clojure code when nginx worker starting
  • Compatible with the Nginx lastest stable version 1.8.0. (Nginx 1.4.x, 1.6.x is also ok, older version is not tested and maybe works.)
  • One of benifits of Nginx is worker processes are automatically restarted by a master process if they crash
  • Nginx Access Handler by Clojure / Java / Groovy
  • Nginx Header Filter by Clojure / Java / Groovy
  • NEW: Server Side Websocket
  • NEW: A build-in Jersey container to support java standard RESTful web services (JAX-RS 2.0)
  • NEW: Tomcat 8 embedding support (so servlet 3.1/jsp/sendfile/JSR-356 websocket work within nginx!)
  • Long Polling & Server Sent Events
  • More easier to archive Sub/Pub services with broadcast events API
  • Support user defined http request method

Project Activity

See All Activity >

Follow nginx-clojure

nginx-clojure Web Site

Other Useful Business Software
The All-in-One Commerce Platform for Businesses - Shopify Icon
The All-in-One Commerce Platform for Businesses - Shopify

Shopify offers plans for anyone that wants to sell products online and build an ecommerce store, small to mid-sized businesses as well as enterprise

Shopify is a leading all-in-one commerce platform that enables businesses to start, build, and grow their online and physical stores. It offers tools to create customized websites, manage inventory, process payments, and sell across multiple channels including online, in-person, wholesale, and global markets. The platform includes integrated marketing tools, analytics, and customer engagement features to help merchants reach and retain customers. Shopify supports thousands of third-party apps and offers developer-friendly APIs for custom solutions. With world-class checkout technology, Shopify powers over 150 million high-intent shoppers worldwide. Its reliable, scalable infrastructure ensures fast performance and seamless operations at any business size.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of nginx-clojure!

Additional Project Details

Registered

2014-01-06