WXS XC10 Overview

download WXS XC10 Overview

of 29

Transcript of WXS XC10 Overview

  • 7/24/2019 WXS XC10 Overview

    1/29

    IBM WebSphere eXtreme Scale & XC10:An introduction to Elastic Caching

    Seema Kumar

    WebSphere Product Management

  • 7/24/2019 WXS XC10 Overview

    2/29

    2

    Agenda What is Elastic Cache?

    WebSphere eXtreme Scale v7.1

    WebSphere DataPower XC10 Appliance Common Usage Patterns

  • 7/24/2019 WXS XC10 Overview

    3/29

    3

  • 7/24/2019 WXS XC10 Overview

    4/29

    4

    Very powerful cache

    Scales from simple in-process topologies topowerful distributedtopologies.

    Platform for buildingpowerful XTP/Data Gridapplications

    Form of in-memory data grid

    Manage application state

    Scales to 1000s of servers

    Sometimes referred to asDistributed ApplicationState Management.

    A flexible framework for realizing highperformance, scalable and data-intensive

    applicationsNew York San Francisco

    London Shanghai

    3UseCases

    What is Elastic Cache?

  • 7/24/2019 WXS XC10 Overview

    5/29

    5

    Modern Application Infrastructure Topology

    Web Server Tier Back-end SystemsDatabase Tier

    App Server Tier Elastic Data Grid

    IBM HTTP ServerWebSphere

    Application ServerDB2 UDB

    DataPower XC10 for simpledata oriented scenarios: HTTP Session Replication Elastic Dynacache

    Web Side Cache

    eXtreme Scale for maximumflexibility covering data andapplication oriented scenarios

    1

    2

  • 7/24/2019 WXS XC10 Overview

    6/29

    6

    When do I need an Elastic Grid?

  • 7/24/2019 WXS XC10 Overview

    7/29

    7Redundant copies of dataat different versions

    Traditional Cache Operation Cache capacitydetermined by individualJVM Size. Size of each cache = M # JVMs = N Total cache = M

    Invalidation load perserver increases as cluster

    grows.

    Cold start servers hit thedatabase. AApplication

    AApplication

    AApplication

    AApplication Invalida

    tionChatter

    Database

    Application

    Invalidation load

    increases with clustersize

    New Serverwith cold cache

    High load onDatabase

  • 7/24/2019 WXS XC10 Overview

    8/29

    8

    Application E

    D

    WebSphere eXtreme Scale Cache Operation

    Cache capacity determined bytotal cluster size

    Size of each cache = M # JVMs = N Total Cache = M x N

    No invalidation chatter

    Linearly scalable

    Less load on database and no

    cold start spikes

    Application D C

    Application C B

    Application B A

    Application A

    Cache4x Larger

    Cache

    5x Larger

    E

  • 7/24/2019 WXS XC10 Overview

    9/29

    9

    Innovative Elastic Caching SolutionsData Oriented

    Application Oriented

    Session management

    Elastic DynaCache

    Web side cache

    Event Processing

    In-memory OLTP

    Worldwide cache

    Petabyte analytics

    Data buffer

    In-memory SOA

    eXtreme Scale

    DataPower XC10 Appliance

    Ultimate flexibility acrossa broad range of cachingscenarios

    In-memory capabilitiesfor application oriented

    scenarios

    Drop-in cache solutionoptimized and hardenedfor data orientedscenarios

    High density, lowfootprint improvesdatacenter efficiency

    Elastic caching for linear scalabilityHigh availability data replication

    Simplified management, monitoring and administration

  • 7/24/2019 WXS XC10 Overview

    10/29

    10

    10

    IBM WebSphere eXtreme Scale Proven mature product:

    Fourth major release of product with V7.1 in 2010 Used at some of the largest web sites in the world

    Lightweight runtime footprint (15MB jar)

    Integrates with all versions of WebSphereApplication Server and almost any Java-basedapplication container or Java Virtual Machine

    Only requires JavaTM

    SE run-time environment Exploits WAS-ND environment when available

    Meets the needs of a variety of applicationenvironments: Java SE, Java EE (WAS, WebLogic, Tomcat),

    as well as for .Net applications via REST APIs*

    Proven multi-data center capabilities

    Proven low-latency access to data

  • 7/24/2019 WXS XC10 Overview

    11/29

    11

    11

    IBM WebSphere DataPower XC10 Appliance V2 Scale out with ease

    Large, 240GB elastic cache allows you toscale more economically while providing highQuality of Service

    Scales elastically without application downtime

    Linear, predictable scaling at predictable cost

    Easy drop in use for commonscenarios Support for data-oriented caching scenarios

    without rip & replace Unbinds cache from application server memory

    constraints

    Fault tolerance Lower risk of data loss while providing

    continuous availability

    Flexible and simple usermanagement Simple solution for real world management

    and monitoring

  • 7/24/2019 WXS XC10 Overview

    12/29

    12

    Easy drop-in use for common scenarios

    Simple Cache

    HTTP Session Cache

    WAS Dynamic Cache

    Service (Dynacache)support

    Little or no codechanges required!

  • 7/24/2019 WXS XC10 Overview

    13/29

    13

    Fault Tolerance Create an appliance collective

    for high availability

    Lowers risk of data loss throughautomatic replication of data

    Continuous Availability!

    Self Healing - Failures areautomatically detected

    Easy to configure

  • 7/24/2019 WXS XC10 Overview

    14/29

    1414

    Common Elastic Caching Scenarios

    HTTP Session ReplicationSide CacheData Access LayerData Grid

  • 7/24/2019 WXS XC10 Overview

    15/29

    1515

    HTTP Session Replication Many enterprise applications today

    require HTTP session persistence. A grid of JVMs can be established

    with the sole purpose of storingHTTP session (or any java)objects.

    Isolating the application runtimefrom grid runtime, thereby, freeingup the JVM heap for application

    use. Provide linear scalability toaccommodate growth (in # ofsessions or size of sessionobjects).

    Providing replication and

    management of session objectswithin the grid.

    Can even store session objectsacross datacenters.

    Session GridWeb App Layer

  • 7/24/2019 WXS XC10 Overview

    16/29

    16

    16 DataPower XC10 Overview

    Common set of Patterns - HTTP Session data cache

    No new code required

    Extension of legacy session management caching mechanism in WebSphere ApplicationServer

    Extensions to WebSphere Application Server administrative console to support WebSphereDataPower XC10 session management caching and WebSphere eXtreme Scale sessionmanagement caching

    WebSphere Application Server connects seamlessly to the WebSphere DataPower XC10appliance or WebSphere eXtreme Scale

    Client code must be installed on WebSphere Application Server systems

    Easily configure WebSphere applications to store HTTP session data to a data cache on theWebSphere DataPower XC10 appliance through the WebSphere Application Severadministrative console

    Replaces other session replication mechanisms (memory-to-memory replication)

    Removes the need for Database traditionally used for persistence

    Enables HTTP session failover between WebSphere Application Server cells

  • 7/24/2019 WXS XC10 Overview

    17/29

    17

    Active/Active Datacenter HTTP Session Failover

    Web Server

    PlantsByWebSphereCluster

    memory to memoryreplication

    Datacenter1

    xPlantsByWebSphereCluster

    Deployment Manager

    PlantsByWebSphereCluster

    memory to memoryreplication

    Datacenter2

    xPlantsByWebSphereCluster

    Deployment Manager

    WebSphere eXtreme Scale

    OR

    WebSphere eXtreme Scale

  • 7/24/2019 WXS XC10 Overview

    18/29

    18

    18

    Side Cache Client first checks the grid before using

    the data access layer to connect to aback end data store.

    If an object is not returned from the grid(a cache miss), the client uses the dataaccess layer as usual to retrieve the data.

    The result is put into the grid to enablefaster access the next time.

    The back end remains the system of

    record, and usually only a small amountof the data is cached in the grid.

    An object is stored only once in thecache, even if multiple clients use it.Thus, more memory is available forcaching, more data can be cached, whichincreases the cache hit rate.

    Improve performance and offloadunnecessary workload on backendsystems.

  • 7/24/2019 WXS XC10 Overview

    19/29

    19

    19 DataPower XC10 Overview

    Elastic Caching used as a Side Cache Used to store data for fast, lower-cost access than a database

    Uses ObjectMap APIs from WebSphere eXtreme Scale

    Client can run in a standard Java EE compliant server environment or inany Java Virtual Machine compliant with Java SE V1.4 or beyond

    Dynamic Cache Service Provider for WebSphere Application Server (ND6.1 / ND 7.0) Page fragment cache

    Web services cache Command cache

    Support L2 Cache Open JPA/Hibernate (WXS only)

    Side Cache for Datapower XI50 thru REST Gateway (XC10 only)

    Side Cache for WPS/WESB Side Cache for Message Broker

  • 7/24/2019 WXS XC10 Overview

    20/29

    20

    Objects in the Elastic Data Grid Key, Value pairsKey Value pair examples:

    integer key, string value (hex) integer key, compound value

    compound key, compound value

  • 7/24/2019 WXS XC10 Overview

    21/29

    21

    21

    Data Access Layer (WXS only) The grid can be used as a special

    data access layer where it isconfigured to use a loader to getdata from the back-end system.

    The loader can be configured toasynchronously write back thechanges to the back-end system

    Even when the back end is down,the application can write changes.They are buffered in the grid to bewritten back when the back-endsystem comes online again.

    Reduced dependency on back enddata store

  • 7/24/2019 WXS XC10 Overview

    22/29

    22

    22

    Client Usage: Online BankingRetail Banking

    35xreducedresponsetimes

    22 Milliononline banking users

    Next-generation Online Banking

    Before: 700ms to login with 2 backend calls

    After: 20ms to login with profile cache

    access

    $6M/yr cost savings in MIPs reduction

    3 datacenters: If one datacenter goes downit fails over seamlessly to the others

    8Gb of data transfer per hour between DCs

    $500kreducedcosts permonth

    20xreductionin FCIs

    Provide seamless cache infrastructure across applications

    Deliver high performance & consistent response times

    Ensure high availability of critical online applications

  • 7/24/2019 WXS XC10 Overview

    23/29

    23

    23

    Entertainment 10xreduced

    responsetimes7 Billionrequests per day

    23

    Support transaction-intensive services

    Deliver consistent & predictable response times

    Take action on growing volumes of business events

    Scale with simplicity and lower cost

    Fantasy Sports Web InfrastructureBefore: 60ms response time against

    database

    After: WXS improved to 6ms responsetime 450k concurrent users 80k requests per second up to 1M in

    2011

    6 weeks from concept to production

    Client Usage: Worldwide Fantasy Sports Web Site

  • 7/24/2019 WXS XC10 Overview

    24/29

    24

    24

    Resources

    Fully functional J2SE trial downloadhttp://www.ibm.com/developerworks/downloads/ws/wsdg

    /learn.html

    Wiki documentationhttp://www.ibm.com/developerworks/wikis/display/objectgrid/Getting+started

    User's Guide to WebSphere eXtreme Scalehttp://www.redbooks.ibm.com/abstracts/sg247683.html

    Data Sheet

    ftp://public.dhe.ibm.com/common/ssi/pm/sp/n/wsd14088usen/WSD14088USEN.PDF

    XC10 Web Sitehttp://www-01.ibm.com/software/webservers/appserv/xc10/

    Getting Started Wiki for XC10

    http://www.ibm.com/developerworks/wikis/display/extremescale/2010/06/25/IBM+WebSphere+DataPower+XC10+appliance+now+available

    http://www.ibm.com/developerworks/spaces/xtp

    WebSphere Extreme TransactionProcessing for Developers Space willdiscuss various topics for developing anddeploying XTP applications and will pointout emerging trends, benefits, challenges,and features associated with it.

    http://www.youtube.com/user/ibmextremescale#p/a

    Weekly video podcasts coveringcustomers questions and forum posts onthe IBM WebSphere eXtreme Scale

    product.

    Additional resources

  • 7/24/2019 WXS XC10 Overview

    25/29

    25

    Questions?

  • 7/24/2019 WXS XC10 Overview

    26/29

    26

    Java is the registered trademark of Oracle Corp

    2

  • 7/24/2019 WXS XC10 Overview

    27/29

    27

    7

  • 7/24/2019 WXS XC10 Overview

    28/29

    28

    Backup

  • 7/24/2019 WXS XC10 Overview

    29/29

    29

    Elastic Caching for WebSphere Portal