Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 –...

Preview:

Citation preview

Resin 4.0 Overview

Emil Ongオング、エミール

Senior Software Engineerシニア ソフトウェア エンジニア

Caucho Technologyemil@caucho.com

2009 Milestones

Sun Microsystems Java EE certification (webprofile) ‏

Resin 4.0 Release Support for the latest Java specifications Leading performance and reliability Cloud Computing Quercus on Google App Engine Outstanding support for ISP, VAR, and OEM

Key Features of Resin 4.0

JavaEE compatibility− Servlet, JSP, JSTL, JSF, EJB 3.1 Lite, CanDI, and

more

Cloud computing support Quercus – PHP in Java Pomegranate Jar dependency support Resin 10,000

− 10,000 simultaneous connections

JavaEE featuring Java CanDI

Caucho will announce JavaEEconformance in 2009

JSR-299 – Java Contexts andDependency Injection

Annotation-based framework with fullintegration into JavaEE container

Resin implementation of Java CanDIthe first and most complete

Quercus

Interpreted and compiled PHP in Java Only 100% Java implementation of PHP 2x-8x faster than C implementation of PHP Sites such as Webmonkey.com, Style.com, and

Wired.com run on Quercus and Resin Easy integration of PHP Java

Quercus on Google App Engine

Google App Engine provides a Java Servletenvironment

Quercus is implemented as a Servlet Very promising early results

− Basic PHP pages− Integration with Java entities

Database and filesystem not available− Workarounds in progress

Cloud Computing Support

Resin 4.0 introduces new clusteringarchitecture for cloud environments

Main features− Dynamic servers− Distributed sessions− Distributed object cache− Remote deployment

Dynamic Servers

Servers may be added or removed fromclusters at runtime

All applications and sessions are available ondynamic servers automatically

Dynamic servers add capacity and improveredundancy against failures

Distributed Sessions andObject Caching

Distributed sessionsimprove availability withfailover

Load balancer candirect sessions todynamic servers− Sticky sessions for

performance

Distributed Sessions andObject Caching

JCache API provides access to distributedobject cache

Cached objects available and modifiable fromany server, including dynamic servers

Remote deployment

Clients deploy applications to a single clusternode once

Applications are distributed across clusterautomatically

New dynamic servers populated with allapplications in the cluster on startup

ISP features

Cloud features enable ISPs to offer easyapplication deployment and scaling

Client applications can ask for more or lesscapacity by adding or removing dynamicservers

Distributed sessions and object cache relieveclients from knowing exact hardwareconfiguration

Pomegranate

Using Maven pom.xml files, Resin's classloaderautomatically manages dependencies

Simpler alternative to OSGi dependencymanagement without the need to modify codeor create bundles

Works with many existing Maven-enabled .jarfiles today

Resin 10,000

Resin 4.0 introduces new asynchronous I/Oarchitecture

10,000 simultaneous HTTP connectionspossible with minimal memory or load overhead

Allows large numbers of Keepalive and Cometconnections

Competitive with many C-based HTTP serversincluding nginx

OEM/VAR Features

JavaEE conformance ensures quick time-to-market

10 year record of performance and strongindustry reputation

Embeddable server for special deployments

Thank you!Emil Ong

オング、エミール

Senior Software Engineerシニア ソフトウェア エンジニア

Caucho Technologyemil@caucho.com

http://caucho.com/http://blog.caucho.com/