Teknik Informatika    
   
Daftar Isi
(Sebelumnya) Resilient Packet RingResolution (logic) (Berikutnya)

Resin Server

Resin
Developer(s)Caucho Technology
Stable release4.0.33 / December 21, 2012; 3 months ago (2012-12-21)
Development statusActive
Written inJava and C
Operating systemCross-platform
TypeWeb server
LicenseGNU General Public License
Websitewww.caucho.com

Resin is a web server and Java application server from Caucho Technology. Resin is provided in two versions, Resin Professional and Resin Open Source (GPL). Resin supports the Java EE standard[1] as well as a mod_php/PHP like engine called Quercus.[2]

Resin Open Source is a crippleware open source version of the open core Resin Professional version that is designed for hobbyists, developers, and low traffic web sites.[3] Open core means an open source version of the proprietary version has been made available, and licensed in a manner that donates it to the software community at large for partial or complete re-use.

Resin Open Source lacks optimizations such as built-in caching and features such as clustering support, advanced administration, and the health system that includes HTTP session replication, Java Monitoring, distributed cache replication, and JMS queue replication.[4] Caucho describes these as "features and enhancements commonly needed in a production environment."[3]

Within the "resin-admin" web-based management interface of Resin Open Source the majority of menu options return the message "This feature requires Resin Professional and a valid license. Please download Resin Professional and request a free evaluation license." when chosen. Setting many configuration file options and accessing many API methods do not work and generate log error messages to the same effect.

Resin market share is typically viewed[by whom?] as small in the grand scheme of Java Application Servers, but many high traffic sites use Resin, including Toronto Stock Exchange, SalesForce.com, Condé Nast (parent company of Vogue, GQ), CNET.[5] NetCraft's February 2012 Survey states Resin grew to 4,700,000 sites and Resin is used on a number of the Million Busiest Sites.[6] Resin was the only Java-based web server mentioned in NetCraft's survey.

Caucho claims that Resin is faster than Apache httpd (v 2.2), (presumably Resin Professional since in Resin Open Source errors such as "<proxy-cache> requires Resin Professional" appear in the log and other performance-optimizing features are unavailable) and therefore focuses on competing with nginx web server. Caucho claims Resin to have comparable speeds to nginx, and that this is one of the reasons for Resin's strong growth.[7]

Although a Java based server, key pieces of Resin's core networking are written in highly optimized C. Caucho claims Java is the layer that allows Resin to be "full featured" while C provides the speed.[7]

Resin predates Tomcat, and is one of the oldest application servers and web servers.[citation needed]

Contents

Product features

Scalability

  • Elastic Clustering / Cloud support[8]
    • 3rd generation clustering optimized for Virtualization 2.0, EC2 and OpenStack deployments[9]
  • Session Replication
  • Load balancing
  • Distributed Cache

Development

  • Class compilation
  • JIT Profiling and heap analysis
  • No GUI required
  • JUnit support
  • Web Admin
  • DevOps support via CLI and REST control of Resin
  • Apache Ant/Maven/Ivy integration
  • IDE integration
  • Flexible project management
  • Logging

Production Ready

  • Reliability
  • Server Monitoring
  • Deployment / Cloud deployment
  • Versioned deployment
  • Merge paths
  • Troubleshooting aids
  • Server health reports, baselining and post mortem reporting[11]
  • Throttling

App Server'

  • Java EE Web Profile certified,[1][12]
  • Java CDI[13]
    • standard Java dependency injection similar to Guice and Spring, part of Java EE
  • Transaction support

Web Server[14]

  • Static files/JSP/Servlet/JSF
  • Extensible access logging
  • URL rewriting
  • Proxy caching (similar to Squid)
  • Gzip compression
  • SSL
  • Virtual Hosts
  • Comet/Server push
  • WebSocket
  • mod-php like support via Quercus
  • FastCGI

Quercus

Quercus is a Java-based implementation of the PHP language that is 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 whereas in the open source version PHP is executed by an interpreter.[15]

Caucho states that Quercus is faster than standard PHP[2][16] although this is only true for the JIT-compiled version in Resin Professional.[17] Quercus ships with Resin.

Licensing

Early versions of the Resin Open Source product were released with problematic licensing but more recent versions are available under a conventional open source license.

Early licensing

The software license under which Resin was initially released deviated significantly from the conventional definition of open source software. Initially Resin was non-redistributable, and the copyright of any improvements made to the code of the application, if communicated to others, became the property of Caucho Technology. Furthermore, the license stipulated that if any legal action arose out of breach of the licensing terms and a court decision was granted in favor of Caucho Technology all of Caucho's legal expenses must be paid by the licensee.[18] Hence even firms and individuals simply using the software may have been exposed to substantial risk had Caucho found them in breach of any term of the license.

Previous licensing terms for the product included the following, which may have introduced something like a copyleft legal status into the products and services offered by earlier users of Resin:

See the license has the full details. If you distribute a product based on or linked to any Resin code, you must either contact us for a distribution license or satisfy the following:
  • You must make a version of your product available for free.
  • You must make the source of your product available for free.
  • You must allow anyone to redistribute the product or the source to anyone they choose.

—Support FAQ, section "Who must purchase a license", circa 2000[19]

As long as you used standard JSP or Java Servlet APIs you did not have any issues.

Current licensing

Since version 3.0.9, Resin Open Source has been licensed under the GPL License (version 2 or later),[20] a license which has passed through the Open Source Initiative's License Review Process.[21] Consequently current versions of Resin are significantly less hazardous to use or incorporate into software systems than were previous versions.

See also

References

  1. ^ a b "Caucho Resin is Officially Certified Against the Java EE 6 Web Profile". Infoq.com. Retrieved 2012-10-25. 
  2. ^ a b "PHP on Java: Best of Both Worlds?". Infoq.com. Retrieved 2012-10-25. 
  3. ^ a b "Features - Resin and Resin Professional". Archived from the original on 2012-02-27. Retrieved 2012-02-27. 
  4. ^ "Caucho Resin | Java Application Server | Web Server | Java EE Certified | PaaS/Cloud Ready » resin pro". Caucho.com. Retrieved 2012-10-25. 
  5. ^ PRWeb – Wed, Feb 22, 2012 (2012-02-22). "Caucho's Resin Web Server Powers Over 4.7 Million Sites - Yahoo! News". News.yahoo.com. Retrieved 2012-10-25. 
  6. ^ "February 2012 Web Server Survey | Netcraft". News.netcraft.com. 2012-02-07. Retrieved 2012-10-25. 
  7. ^ a b "Caucho's Resin Application Server Grew by a Factor of Almost Ten Last Year According to Netcraft". Infoq.com. Retrieved 2012-10-25. 
  8. ^ "Paul Cowan Discusses the Resin Application Server and Cloud". Infoq.com. Retrieved 2012-10-25. 
  9. ^ "Caucho: Resin Cloud Support: 3rd generation Clustering For Elastic Cloud Scaling". s3.amazonaws.com. Retrieved 2012-10-25. 
  10. ^ "Resin Can Now Act As a Drop-in Replacement for Memcached Solution". Infoq.com. Retrieved 2012-10-25. 
  11. ^ "Caucho Technology » Blog Archive » Resin Pro Health System now and in the future". Blog.caucho.com. 2011-08-26. Retrieved 2012-10-25. 
  12. ^ "Caucho Resin | Java Application Server | Java EE | PaaS Ready » Java EE Web Profile and beyond". Caucho.com. Retrieved 2012-10-25. 
  13. ^ "Caucho Resin | Java Application Server | Java EE | PaaS Ready » Java CDI | Candi". Caucho.com. Retrieved 2012-10-25. 
  14. ^ "Caucho Resin | Java Application Server | Web Server | Java EE Certified | PaaS/Cloud Ready » Resin Web Server". Caucho.com. 2012-02-07. Retrieved 2012-10-25. 
  15. ^ Emil Ong (2008-04-09), Getting Started With Quercus, Caucho Technology, http://blog.caucho.com/wp-content/upl oads/2008/04/quercus.pdf, retrieved 2009-08-19 (accompanying Caucho blog entry,additional copy of PDF)
  16. ^ "Powered by Google Docs". Docs.google.com. Retrieved 2012-10-25. 
  17. ^ New Monthly Caucho Newsletter, Caucho Technology, 2008-02-26, http://blog.caucho.com/2008/02/26/new -monthly-caucho-newsletter/, retrieved 2013-02-27, "I think we’re finally getting to the point where we mimic the other implementation of PHP quite precisely (except we have distributed sessions, are faster in compiled mode, etc. :-))."
  18. ^ Caucho Developer Source License, Version 1.2, Caucho Technology, http://www.webcitation.org/5eDKTNOvm, retrieved 2009-01-30
  19. ^ Christopher Stacy (2000-04-21). "Re: Resin vs Tomcat". org.apache.tomcat.users. Web link. Retrieved 2009-01-30., archived by WebCite here [1]
  20. ^ Resin GPL'ed, http://www.caucho.com/resin-3.0/featu res/resin-3.0.9.xtp#Distribution/lice nsing-changes, retrieved 2009-06-29
  21. ^ Licenses approved through the OSI License Review Process by name, Open Source Initiative, http://opensource.org/licenses/alphab etical, retrieved 2009-07-28

External links

(Sebelumnya) Resilient Packet RingResolution (logic) (Berikutnya)