Resin (software)

Resin
DeveloperCaucho Technology
Stable release
4.0.67 Edit this on Wikidata / 20 November 2024; 23 months ago (20 November 2024)
Written inJava and C
Operating systemCross-platform
TypeWeb server
LicenseGPLv3 or Proprietary
Websitecaucho.com

Resin is a web server and Java application server developed by Caucho Technology. Currently, only two versions are available: Resin (GPL), which is free for production use, and Resin Pro, designed for enterprise and production environments with a licensing fee. Resin supports the Java EE standard and features a mod_php/PHP-like engine called Quercus.

Resin (GPL) offers essential functionalities for web and application serving, while Resin Pro includes additional optimizations, such as:

Resin is primarily written in Java, with parts in C.

Product features

Resin Pro has been engineered to include:

Scalability

Development

Production Ready

App Server

Web Server

Usage

Resin's market share is small in the grand scheme of Java Application Servers, but some high-traffic sites use it, such as the Toronto Stock Exchange, Salesforce.com, Condé Nast (parent company of Wired, Vogue, GQ) and CNET. NetCraft's February 2012 Survey stated Resin grew to 4,700,000 sites; Resin was the only Java-based web server mentioned.

A 2012 page on a Caucho wiki site describes a test procedure, with results showing that Resin tested 0k (empty HTML page), 1K, 8K, and 64K byte files. At every level, Resin matched or exceeded Nginx web server performance.

Quercus

Quercus is a Java-based implementation of the PHP language included with Resin. According to a slideshow presented by Emil Ong (from Caucho) to a San Francisco Java Meetup Group in April 2008 pertaining to Resin 3.1, an essential difference in the operation of Quercus between the Resin Open Source and the Resin Professional editions is that in Resin Professional, the PHP is compiled to Java bytecode. In contrast, in the open-source version, PHP is executed by an interpreter.

Caucho stated in 2007 that Quercus was faster than standard PHP 5 (PHP 8 with JIT is much faster than older PHP versions; PHP 5 is no longer supported), although this is only true for the JIT-compiled version in Resin Professional. Quercus ships with Resin.

Licensing

One license covers all components of the Resin architecture.

Resin is provided in both an open-source GPL license and a Pro version with enhancements for enterprises.

See also