17
Resin 4.0 Overview Emil Ong オング、エミール Senior Software Engineer シニア ソフトウェア エンジニア Caucho Technology [email protected]

Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

Resin 4.0 Overview

Emil Ongオング、エミール

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

Caucho [email protected]

Page 2: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 3: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 4: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 5: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 6: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with
Page 7: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 8: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

Cloud Computing Support

Resin 4.0 introduces new clusteringarchitecture for cloud environments

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

Page 9: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 10: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

Distributed Sessions andObject Caching

Distributed sessionsimprove availability withfailover

Load balancer candirect sessions todynamic servers− Sticky sessions for

performance

Page 11: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

Distributed Sessions andObject Caching

JCache API provides access to distributedobject cache

Cached objects available and modifiable fromany server, including dynamic servers

Page 12: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 13: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 14: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 15: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

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

Page 16: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

OEM/VAR Features

JavaEE conformance ensures quick time-to-market

10 year record of performance and strongindustry reputation

Embeddable server for special deployments

Page 17: Resin 4.0 Overview - INTRA-MARToss.intra-mart.org/study_meeting/2009-05-19/2009... · JSR-299 – Java Contexts and ... Object Caching Distributed sessions improve availability with

Thank you!Emil Ong

オング、エミール

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

Caucho [email protected]

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