SlideShare una empresa de Scribd logo
1 de 36
Descargar para leer sin conexión
<Insert Picture Here>




Betting on Data Grids
Dave Felcey
Oracle Sales Consulting
Agenda

•   Oracle High Performance Computing
•   Oracle Coherence Architecture
•   Gaming Industry Challenges
•   Summary
Oracle High Performance Computing
 Comprehensive and Best of Breed

• Oracle 11g WebLogic Server
  • Fastest Applicaton Server, delivering 7,311 SPECjAppServer2004
    JOPS@Standard (jAppServer Operations per Second)
• Oracle JRockit Real-Time JVM
  • Fastest JVM, delivering 537,116 SPECjbb2005 bops/JVM p/s
• Oracle Complex Event Processing
  • Fraud detection, risk mitigation etc.
• Oracle 11g Database
  • Used by Betfair for performance and scalability and one of top 5
    busiest databases in the world
• Oracle TimesTen In-Memeory Database
  • The Hong Kong Jockey Club uses TimesTen to perform very fast
    fraud detection processing
• Oracle Identity Management (IdM)
  • Used by Shanda to manage ID of upto 2M concurrent users
Oracle High Performance Computing
Comprehensive and Best of Breed
 Management    WebCache           WebLogic Server       Tuxedo
 Tools
               Content Cache     J2EE and Messaging
                                                         Low Latency
 Monitoring
                Coherence Data Grid     Complex Event      TPM
                                        Processing
  SLA’s          Low Latency
   and                                                     Mature
                  Scalable              Low Latency
   QoS                                                      and
                  Resilient                EQL             Proven

Diagnostics     JRockit Real-Time JVM
                        Real-
                   Fast     Low Latency Predictable

Provisioning   TimesTen
                                                        Berkeley DB
               In-Memory     Low Latency       SQL
                                                             XML
               Oracle RAC                                Embedded
                  Commodity Hardware Scale Out           Transactional
Oracle Coherence
Data Grid Uses
      Caching
      Applications request data from the Data Grid rather than
      backend data sources

      Analytics
      Applications ask the Data Grid questions from simple queries to
      advanced scenario modeling

      Transactions
      Data Grid acts as a transactional System of Record, hosting
      data and business logic

      Events
      Automated processing based on event
The Coherence Approach…

• Consensus is key
  •   Communication is more efficient (peer-to-peer)
  •   No outages for voting (no need – everyone is a peer)
  •   No SPoF, SPoB
  •   No need for broadcast traffic (yelling at each other)
  •   You can do many things once you have “consensus”.
TCMP Provides the Foundations
What is Coherence?

• Coherence (deployment perspective)
  • Single Library*
     • *Other libraries for integration (L2C, Spring…)
  • Configurable implementations of standard Map interfaces
    (called NamedCache’s)
  • Standard Java Archive “JAR” for Java
  • Standard Dynamically Linked Library “DLL” for .NET
    connectivity (.Net 1.1 and 2.0)
  • Standard DLL or .so for C++ clients
  • No 3rd party dependencies!
  • Minimal “invasion” on standard code*
  • “RemoteException” free distributed computing
Introduction to NamedCaches

• Developers use NamedCaches to manage data
• An composite interface which includes Map
• NamedCache
  •   Logically equivalent to a Database table
  •   Store related types of information (trades, orders, sessions)
  •   May be hundreds / thousands of per Application
  •   May be dynamically created
  •   May contain any data (no need to setup a schema)
  •   No restriction on types (homogeneous and heterogeneous)
  •   Not relational (but may be)
Clustered Hello World!
public void main(String[] args) throws IOException {
   NamedCache nc = CacheFactory.getCache(“test”);
   nc.put(“key”, “Hello World”);
   System.out.println(nc.get(“key”));

     System.in.read();     //may throw exception
}
• Joins / Establishes a cluster
• Places an Entry (key, value) into the Cache “test” (notice no
  configuration)
• Retrieves the Entry from the Cache.
• Displays it.
• “read” at the end to keep the application (and Cluster) from
  terminating.
Caching Strategies (schemes)
 Different cache implementations

• Local
   • Local on-heap caching for non-clustered caching.
• Replicated
   • Perfect for small, read-heavy caches.
• Partitioned
   • True linear scalability for both read and write access. Data is
     automatically, dynamically and transparently partitioned across
     nodes. The distribution algorithm minimizes network traffic and
     avoids service pauses by incrementally shifting data.
• Near Cache
   • Provides the performance of local caching with the scalability of
     distributed caching. Several different near-cache strategies provide
     varying tradeoffs between performance and synchronization
     guarantees.
The Distributed Scheme - Get
The Distributed Scheme - Put
The Distributed Scheme - Failover
The Near Scheme

• A composition of pluggable Front and Back schemes
  • Provides L1 and L2 caching (cache of a cache)
• Why:
  • Partitioned Topology may always go across the wire
  • Need a local cache (L1) over the distributed scheme (L2)
  • Best option for scalable performance!
• How:
  • Configure ‘front’ and ‘back’ topologies
• Configurable Expiration Policies:
  • LFU, LRU, Hybrid (LFU+LRU), Time-based, Never,
    Pluggable
The Near Scheme - Get
Coherence*Extend
WAN Topology
Queries

• Filters applied in parallel (in the Grid)

• A large range of filters out-of-the-box:
  All, Always, And, Any, Array, Between,
  ContainsAll, ContainsAny, Contains, Equals,
  GreaterEquals, Greater, In, InKeySet,
  IsNotNull, IsNull, LessEquals, Less, Like,
  Limit, Never, NotEquals, Not, Or…

Filter filter = new AndFilter(
   new EqualsFilter("getTrader", traderId),
     new EqualsFilter("getStatus", Status.OPEN));

Set setOpenTrades = mapTrades.entrySet(filter);
Executing a query
Real Time Events

• Maintain real time visibility into data changes
• Desktops
  • The usual example is the “Trader desktop”
  • Watch data change in near real time
     • Typically a few milliseconds
• Servers
  • Monitoring data to trigger additional processing
     • Event Driven Architecture within the data grid
  • Very wide-ranging set of use cases
  • Not many common patterns of usage
Continuous Query Cache
Coherence implements Continuous Query using a combination
of its data fabric parallel query capability and its real-time event-
filtering and streaming. The result is support for thousands of
client application instances, such as trading desktops. Using the
previous trading system example, it can be converted to a
Continuous Query with only one a single line of code changed

NamedCache mapTrades = ...
Filter filter = new AndFilter(new
  EqualsFilter("getTrader", traderid),
    new EqualsFilter("getStatus", Status.OPEN));
NamedCache mapOpenTrades = new
  ContinuousQueryCache(mapTrades, filter);
Transaction Management

• Explicit transaction management
  • Using the general pattern for pessimistic transactions is "lock
    -> read -> write -> unlock". For optimistic transactions, the
    sequence is "read -> lock & validate -> write -> unlock".
• Implicit transaction management
  • Locking "by convention" – for example, requiring that all
    acessors lock only the "parent" Order object. Doing this can
    reduce the scope of the lock from table-level to order-level,
    enabling far higher scalability
• Further transaction optimizations
  • Using EntryProcessors – sending the code to the data, so
    that operations are queued and all locking is local. Operations
    must be idempotent.
Cache Through
Reading ahead or on-demand
Persisting Data
Write-through, write-behind, coalescing and batching
HTTP Session Caching
Overview
• No code changes required
  to use
• Portlet state can be cached
• Built into WLS and WLP
Benefits
• Enables stateless middle
  tier
• Better hardware utilization
• Simpler network
  infrastructure
• Facilitates modular
  application improvements
• Scales out middle tier
Serialization
          Portable Object Format (POF)
        • Benefits
               • Can store more data
               • Can read/write and move data faster

                            5x Smaller                                                             10x Faster De-Serialization
                                                                                                                           Coherence Serialization Test Results

                       Coherence Compression Test Results
                                                                                       12000
                                                                                                             10078
        1000

        900     867
                                                                                       10000

        800

                                                                                        8000
        700

        600
                                                                           Time (ms)    6000
Bytes




        500

        400                                                                              4000
                                    309             322                                                                             1625             2070
        300                                                                                           2360
                                                                                                                                                                    1234
                                                             186                         2000
        200

                                                                                                                         484
        100                                                                                    0                                               734                              De-serialization
                                                                                                                                                              547
          0                                                        Serialization                   Java
                                                                                                                                                                           Serialization
                Java         ExternalizationLite   XMLBean   POF   De-serialization                           ExternalizationLite
                                                                                                                                           XMLBean
                                                                                                          Se rialization M echanisum                        POF
Coherence Incubator
 Patterns

• Pre-built examples
• Used in production
  systems
• Thoroughly tested
• Extensible
• Optimised
• Incorporate best
  practice
Gaming Challenges

• Extreme scalability 500k+ users
• Reliability. Outages damage reputation and can cost
  £100k+ p/hr
• Flexibility. Enable products to be quickly brought to
  market
Extreme Scalability

• Scaling Users
  • 100k – 1M online users
  • Asynchronously update database so reduce latency, open
    connections etc.
• Scaling Transactions and Processing
  • Betfair
  • INCERNO processed 5k TPS in simulation tests with no
    discernable deterioration in performance or reliability.
• Scaling Data Capacity, >100 GB
  • Off-heap storage option in release 3.5
  • Potential storage limit now > TB
Extreme Reliability

• Non-Stop running
  • 2 years+ continuous running
• Withstand database or link replication failure
  • Queue requests
• Failure of multiple servers
  • No ‘Single Point Of Failure’
• Processing (as well as data) failover
Extreme Flexibility

•   Native Java, C++ and .NET clients
•   Simple Map and IDictionary API
•   Simple to install
•   Pre-built examples (Incubator Projects)
•   Seamless HTTP Session integration for J2EE and .NET
•   Support of Hibernate, JPA and Spring

Support
• Active forums and SIG’s
• Well documented
Summary

• Coherence™ is the leading product for high      <Insert Picture Here>

  performance distributed in-memory data
  services
  • Proven technology, 100+ customers and 1500+
    production systems
  • Offers a unique combination of features
• Coherence™ is easy to use and delivers
  data performance, scalability and reliability
Betting On Data Grids
Betting On Data Grids

Más contenido relacionado

La actualidad más candente

Developing polyglot persistence applications #javaone 2012
Developing polyglot persistence applications  #javaone 2012Developing polyglot persistence applications  #javaone 2012
Developing polyglot persistence applications #javaone 2012Chris Richardson
 
Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...
Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...
Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...CUBRID
 
"Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,...
"Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,..."Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,...
"Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,...lisapaglia
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Kamalesh Ramasamy
 
Using Spring with NoSQL databases (SpringOne China 2012)
Using Spring with NoSQL databases (SpringOne China 2012)Using Spring with NoSQL databases (SpringOne China 2012)
Using Spring with NoSQL databases (SpringOne China 2012)Chris Richardson
 
WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup WSO2
 
NoSQL overview #phptostart turin 11.07.2011
NoSQL overview #phptostart turin 11.07.2011NoSQL overview #phptostart turin 11.07.2011
NoSQL overview #phptostart turin 11.07.2011David Funaro
 
CodeFutures - Scaling Your Database in the Cloud
CodeFutures - Scaling Your Database in the CloudCodeFutures - Scaling Your Database in the Cloud
CodeFutures - Scaling Your Database in the CloudRightScale
 
Developing polyglot persistence applications (SpringOne India 2012)
Developing polyglot persistence applications (SpringOne India 2012)Developing polyglot persistence applications (SpringOne India 2012)
Developing polyglot persistence applications (SpringOne India 2012)Chris Richardson
 
Innovations in Grid Computing with Oracle Coherence
Innovations in Grid Computing with Oracle CoherenceInnovations in Grid Computing with Oracle Coherence
Innovations in Grid Computing with Oracle CoherenceBob Rhubart
 
Cloudcon East Presentation
Cloudcon East PresentationCloudcon East Presentation
Cloudcon East Presentationbr7tt
 
DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?DataStax
 
keyvi the key value index @ Cliqz
keyvi the key value index @ Cliqzkeyvi the key value index @ Cliqz
keyvi the key value index @ CliqzHendrik Muhs
 
Developing polyglot persistence applications (SpringOne China 2012)
Developing polyglot persistence applications (SpringOne China 2012)Developing polyglot persistence applications (SpringOne China 2012)
Developing polyglot persistence applications (SpringOne China 2012)Chris Richardson
 
How to Stop Worrying and Start Caching in Java
How to Stop Worrying and Start Caching in JavaHow to Stop Worrying and Start Caching in Java
How to Stop Worrying and Start Caching in Javasrisatish ambati
 
Yes sql08 inmemorydb
Yes sql08 inmemorydbYes sql08 inmemorydb
Yes sql08 inmemorydbDaniel Austin
 

La actualidad más candente (20)

Developing polyglot persistence applications #javaone 2012
Developing polyglot persistence applications  #javaone 2012Developing polyglot persistence applications  #javaone 2012
Developing polyglot persistence applications #javaone 2012
 
Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...
Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...
Database Sharding the Right Way: Easy, Reliable, and Open source - HighLoad++...
 
"Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,...
"Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,..."Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,...
"Navigating the Database Universe" by Dr. Michael Stonebraker and Scott Jarr,...
 
qcon
qconqcon
qcon
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020
 
Using Spring with NoSQL databases (SpringOne China 2012)
Using Spring with NoSQL databases (SpringOne China 2012)Using Spring with NoSQL databases (SpringOne China 2012)
Using Spring with NoSQL databases (SpringOne China 2012)
 
WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup WSO2 Carbon and WSO2 Stratos Summer Release Roundup
WSO2 Carbon and WSO2 Stratos Summer Release Roundup
 
NoSQL overview #phptostart turin 11.07.2011
NoSQL overview #phptostart turin 11.07.2011NoSQL overview #phptostart turin 11.07.2011
NoSQL overview #phptostart turin 11.07.2011
 
Database TCO
Database TCODatabase TCO
Database TCO
 
CodeFutures - Scaling Your Database in the Cloud
CodeFutures - Scaling Your Database in the CloudCodeFutures - Scaling Your Database in the Cloud
CodeFutures - Scaling Your Database in the Cloud
 
My Sql Presentation
My Sql PresentationMy Sql Presentation
My Sql Presentation
 
Developing polyglot persistence applications (SpringOne India 2012)
Developing polyglot persistence applications (SpringOne India 2012)Developing polyglot persistence applications (SpringOne India 2012)
Developing polyglot persistence applications (SpringOne India 2012)
 
Innovations in Grid Computing with Oracle Coherence
Innovations in Grid Computing with Oracle CoherenceInnovations in Grid Computing with Oracle Coherence
Innovations in Grid Computing with Oracle Coherence
 
Cloudcon East Presentation
Cloudcon East PresentationCloudcon East Presentation
Cloudcon East Presentation
 
Xs sho niboshi
Xs sho niboshiXs sho niboshi
Xs sho niboshi
 
DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?DataStax C*ollege Credit: What and Why NoSQL?
DataStax C*ollege Credit: What and Why NoSQL?
 
keyvi the key value index @ Cliqz
keyvi the key value index @ Cliqzkeyvi the key value index @ Cliqz
keyvi the key value index @ Cliqz
 
Developing polyglot persistence applications (SpringOne China 2012)
Developing polyglot persistence applications (SpringOne China 2012)Developing polyglot persistence applications (SpringOne China 2012)
Developing polyglot persistence applications (SpringOne China 2012)
 
How to Stop Worrying and Start Caching in Java
How to Stop Worrying and Start Caching in JavaHow to Stop Worrying and Start Caching in Java
How to Stop Worrying and Start Caching in Java
 
Yes sql08 inmemorydb
Yes sql08 inmemorydbYes sql08 inmemorydb
Yes sql08 inmemorydb
 

Destacado

How to think like a startup
How to think like a startupHow to think like a startup
How to think like a startupLoic Le Meur
 
Teaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakTeaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakShelly Sanchez Terrell
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 

Destacado (6)

Sindhuja Sales Coaching 1.0
Sindhuja Sales  Coaching 1.0Sindhuja Sales  Coaching 1.0
Sindhuja Sales Coaching 1.0
 
Inaugural Addresses
Inaugural AddressesInaugural Addresses
Inaugural Addresses
 
How to think like a startup
How to think like a startupHow to think like a startup
How to think like a startup
 
Teaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & TextspeakTeaching Students with Emojis, Emoticons, & Textspeak
Teaching Students with Emojis, Emoticons, & Textspeak
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 

Similar a Betting On Data Grids

SnappyData at Spark Summit 2017
SnappyData at Spark Summit 2017SnappyData at Spark Summit 2017
SnappyData at Spark Summit 2017Jags Ramnarayan
 
SnappyData, the Spark Database. A unified cluster for streaming, transactions...
SnappyData, the Spark Database. A unified cluster for streaming, transactions...SnappyData, the Spark Database. A unified cluster for streaming, transactions...
SnappyData, the Spark Database. A unified cluster for streaming, transactions...SnappyData
 
Fixing twitter
Fixing twitterFixing twitter
Fixing twitterRoger Xia
 
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...smallerror
 
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...xlight
 
Modernización del manejo de datos con v fabric
Modernización del manejo de datos con v fabricModernización del manejo de datos con v fabric
Modernización del manejo de datos con v fabricSoftware Guru
 
MySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion QueriesMySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion QueriesBernd Ocklin
 
Fom io t_to_bigdata_step_by_step-final
Fom io t_to_bigdata_step_by_step-finalFom io t_to_bigdata_step_by_step-final
Fom io t_to_bigdata_step_by_step-finalLuis Filipe Silva
 
Riga dev day: Lambda architecture at AWS
Riga dev day: Lambda architecture at AWSRiga dev day: Lambda architecture at AWS
Riga dev day: Lambda architecture at AWSAntons Kranga
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architectureandreaskallberg
 
Squeak DBX
Squeak DBXSqueak DBX
Squeak DBXESUG
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoServer Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoJUG Genova
 
Internet Scale Architecture
Internet Scale ArchitectureInternet Scale Architecture
Internet Scale ArchitectureRightScale
 
John adams talk cloudy
John adams   talk cloudyJohn adams   talk cloudy
John adams talk cloudyJohn Adams
 
7.) convergence (w automation)
7.) convergence (w automation)7.) convergence (w automation)
7.) convergence (w automation)Jeff Green
 
Whiptail XLR8r SSD Array
Whiptail XLR8r SSD ArrayWhiptail XLR8r SSD Array
Whiptail XLR8r SSD ArrayDarren Williams
 
IBM Cloud Native Day April 2021: Serverless Data Lake
IBM Cloud Native Day April 2021: Serverless Data LakeIBM Cloud Native Day April 2021: Serverless Data Lake
IBM Cloud Native Day April 2021: Serverless Data LakeTorsten Steinbach
 
Exadata 11-2-overview-v2 11
Exadata 11-2-overview-v2 11Exadata 11-2-overview-v2 11
Exadata 11-2-overview-v2 11Oracle BH
 

Similar a Betting On Data Grids (20)

SnappyData at Spark Summit 2017
SnappyData at Spark Summit 2017SnappyData at Spark Summit 2017
SnappyData at Spark Summit 2017
 
SnappyData, the Spark Database. A unified cluster for streaming, transactions...
SnappyData, the Spark Database. A unified cluster for streaming, transactions...SnappyData, the Spark Database. A unified cluster for streaming, transactions...
SnappyData, the Spark Database. A unified cluster for streaming, transactions...
 
Fixing twitter
Fixing twitterFixing twitter
Fixing twitter
 
Fixing_Twitter
Fixing_TwitterFixing_Twitter
Fixing_Twitter
 
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...
 
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...Fixing Twitter  Improving The Performance And Scalability Of The Worlds Most ...
Fixing Twitter Improving The Performance And Scalability Of The Worlds Most ...
 
Modernización del manejo de datos con v fabric
Modernización del manejo de datos con v fabricModernización del manejo de datos con v fabric
Modernización del manejo de datos con v fabric
 
MySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion QueriesMySQL Cluster Scaling to a Billion Queries
MySQL Cluster Scaling to a Billion Queries
 
Fom io t_to_bigdata_step_by_step-final
Fom io t_to_bigdata_step_by_step-finalFom io t_to_bigdata_step_by_step-final
Fom io t_to_bigdata_step_by_step-final
 
Riga dev day: Lambda architecture at AWS
Riga dev day: Lambda architecture at AWSRiga dev day: Lambda architecture at AWS
Riga dev day: Lambda architecture at AWS
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
 
Squeak DBX
Squeak DBXSqueak DBX
Squeak DBX
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoServer Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
 
Internet Scale Architecture
Internet Scale ArchitectureInternet Scale Architecture
Internet Scale Architecture
 
John adams talk cloudy
John adams   talk cloudyJohn adams   talk cloudy
John adams talk cloudy
 
7.) convergence (w automation)
7.) convergence (w automation)7.) convergence (w automation)
7.) convergence (w automation)
 
Whiptail XLR8r SSD Array
Whiptail XLR8r SSD ArrayWhiptail XLR8r SSD Array
Whiptail XLR8r SSD Array
 
JavaOne_2010
JavaOne_2010JavaOne_2010
JavaOne_2010
 
IBM Cloud Native Day April 2021: Serverless Data Lake
IBM Cloud Native Day April 2021: Serverless Data LakeIBM Cloud Native Day April 2021: Serverless Data Lake
IBM Cloud Native Day April 2021: Serverless Data Lake
 
Exadata 11-2-overview-v2 11
Exadata 11-2-overview-v2 11Exadata 11-2-overview-v2 11
Exadata 11-2-overview-v2 11
 

Más de gojkoadzic

Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)gojkoadzic
 
Maximum Impact, Minimum Effort
Maximum Impact, Minimum EffortMaximum Impact, Minimum Effort
Maximum Impact, Minimum Effortgojkoadzic
 
Painless visual testing
Painless visual testingPainless visual testing
Painless visual testinggojkoadzic
 
Serverless JavaScript
Serverless JavaScriptServerless JavaScript
Serverless JavaScriptgojkoadzic
 
Serverless Code Camp Barcelona
Serverless Code Camp BarcelonaServerless Code Camp Barcelona
Serverless Code Camp Barcelonagojkoadzic
 
Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015 Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015 gojkoadzic
 
How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014gojkoadzic
 
Sabotage product
Sabotage productSabotage product
Sabotage productgojkoadzic
 
Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013gojkoadzic
 
5 key challenges
5 key challenges5 key challenges
5 key challengesgojkoadzic
 
Death to the testing phase
Death to the testing phaseDeath to the testing phase
Death to the testing phasegojkoadzic
 
Challenging Requirements/Oredev
Challenging Requirements/OredevChallenging Requirements/Oredev
Challenging Requirements/Oredevgojkoadzic
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teamsgojkoadzic
 
Agile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your teamAgile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your teamgojkoadzic
 
From dedicated to cloud infrastructure
From dedicated to cloud infrastructureFrom dedicated to cloud infrastructure
From dedicated to cloud infrastructuregojkoadzic
 
Specification Workshops - The Missing Link
Specification Workshops - The Missing LinkSpecification Workshops - The Missing Link
Specification Workshops - The Missing Linkgojkoadzic
 
Specification by example and agile acceptance testing
Specification by example and agile acceptance testingSpecification by example and agile acceptance testing
Specification by example and agile acceptance testinggojkoadzic
 
Space Based Programming
Space Based ProgrammingSpace Based Programming
Space Based Programminggojkoadzic
 
Getting business people and developers to listen to testers
Getting business people and developers to listen to testersGetting business people and developers to listen to testers
Getting business people and developers to listen to testersgojkoadzic
 
Is the cloud a gamble
Is the cloud a gambleIs the cloud a gamble
Is the cloud a gamblegojkoadzic
 

Más de gojkoadzic (20)

Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)Descaling Agile (Agile Tour Vienna 2019)
Descaling Agile (Agile Tour Vienna 2019)
 
Maximum Impact, Minimum Effort
Maximum Impact, Minimum EffortMaximum Impact, Minimum Effort
Maximum Impact, Minimum Effort
 
Painless visual testing
Painless visual testingPainless visual testing
Painless visual testing
 
Serverless JavaScript
Serverless JavaScriptServerless JavaScript
Serverless JavaScript
 
Serverless Code Camp Barcelona
Serverless Code Camp BarcelonaServerless Code Camp Barcelona
Serverless Code Camp Barcelona
 
Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015 Test Automation Without the Headache: Agile Tour Vienna 2015
Test Automation Without the Headache: Agile Tour Vienna 2015
 
How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014How I learned to stop worrying and love flexible scope - at JFokus 2014
How I learned to stop worrying and love flexible scope - at JFokus 2014
 
Sabotage product
Sabotage productSabotage product
Sabotage product
 
Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013Reinventing Software Quality, Agile Days Moscow 2013
Reinventing Software Quality, Agile Days Moscow 2013
 
5 key challenges
5 key challenges5 key challenges
5 key challenges
 
Death to the testing phase
Death to the testing phaseDeath to the testing phase
Death to the testing phase
 
Challenging Requirements/Oredev
Challenging Requirements/OredevChallenging Requirements/Oredev
Challenging Requirements/Oredev
 
Effective specifications for agile teams
Effective specifications for agile teamsEffective specifications for agile teams
Effective specifications for agile teams
 
Agile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your teamAgile Testers: Becoming a key asset for your team
Agile Testers: Becoming a key asset for your team
 
From dedicated to cloud infrastructure
From dedicated to cloud infrastructureFrom dedicated to cloud infrastructure
From dedicated to cloud infrastructure
 
Specification Workshops - The Missing Link
Specification Workshops - The Missing LinkSpecification Workshops - The Missing Link
Specification Workshops - The Missing Link
 
Specification by example and agile acceptance testing
Specification by example and agile acceptance testingSpecification by example and agile acceptance testing
Specification by example and agile acceptance testing
 
Space Based Programming
Space Based ProgrammingSpace Based Programming
Space Based Programming
 
Getting business people and developers to listen to testers
Getting business people and developers to listen to testersGetting business people and developers to listen to testers
Getting business people and developers to listen to testers
 
Is the cloud a gamble
Is the cloud a gambleIs the cloud a gamble
Is the cloud a gamble
 

Último

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

Betting On Data Grids

  • 1.
  • 2. <Insert Picture Here> Betting on Data Grids Dave Felcey Oracle Sales Consulting
  • 3. Agenda • Oracle High Performance Computing • Oracle Coherence Architecture • Gaming Industry Challenges • Summary
  • 4. Oracle High Performance Computing Comprehensive and Best of Breed • Oracle 11g WebLogic Server • Fastest Applicaton Server, delivering 7,311 SPECjAppServer2004 JOPS@Standard (jAppServer Operations per Second) • Oracle JRockit Real-Time JVM • Fastest JVM, delivering 537,116 SPECjbb2005 bops/JVM p/s • Oracle Complex Event Processing • Fraud detection, risk mitigation etc. • Oracle 11g Database • Used by Betfair for performance and scalability and one of top 5 busiest databases in the world • Oracle TimesTen In-Memeory Database • The Hong Kong Jockey Club uses TimesTen to perform very fast fraud detection processing • Oracle Identity Management (IdM) • Used by Shanda to manage ID of upto 2M concurrent users
  • 5. Oracle High Performance Computing Comprehensive and Best of Breed Management WebCache WebLogic Server Tuxedo Tools Content Cache J2EE and Messaging Low Latency Monitoring Coherence Data Grid Complex Event TPM Processing SLA’s Low Latency and Mature Scalable Low Latency QoS and Resilient EQL Proven Diagnostics JRockit Real-Time JVM Real- Fast Low Latency Predictable Provisioning TimesTen Berkeley DB In-Memory Low Latency SQL XML Oracle RAC Embedded Commodity Hardware Scale Out Transactional
  • 6. Oracle Coherence Data Grid Uses Caching Applications request data from the Data Grid rather than backend data sources Analytics Applications ask the Data Grid questions from simple queries to advanced scenario modeling Transactions Data Grid acts as a transactional System of Record, hosting data and business logic Events Automated processing based on event
  • 7. The Coherence Approach… • Consensus is key • Communication is more efficient (peer-to-peer) • No outages for voting (no need – everyone is a peer) • No SPoF, SPoB • No need for broadcast traffic (yelling at each other) • You can do many things once you have “consensus”.
  • 8. TCMP Provides the Foundations
  • 9. What is Coherence? • Coherence (deployment perspective) • Single Library* • *Other libraries for integration (L2C, Spring…) • Configurable implementations of standard Map interfaces (called NamedCache’s) • Standard Java Archive “JAR” for Java • Standard Dynamically Linked Library “DLL” for .NET connectivity (.Net 1.1 and 2.0) • Standard DLL or .so for C++ clients • No 3rd party dependencies! • Minimal “invasion” on standard code* • “RemoteException” free distributed computing
  • 10. Introduction to NamedCaches • Developers use NamedCaches to manage data • An composite interface which includes Map • NamedCache • Logically equivalent to a Database table • Store related types of information (trades, orders, sessions) • May be hundreds / thousands of per Application • May be dynamically created • May contain any data (no need to setup a schema) • No restriction on types (homogeneous and heterogeneous) • Not relational (but may be)
  • 11. Clustered Hello World! public void main(String[] args) throws IOException { NamedCache nc = CacheFactory.getCache(“test”); nc.put(“key”, “Hello World”); System.out.println(nc.get(“key”)); System.in.read(); //may throw exception } • Joins / Establishes a cluster • Places an Entry (key, value) into the Cache “test” (notice no configuration) • Retrieves the Entry from the Cache. • Displays it. • “read” at the end to keep the application (and Cluster) from terminating.
  • 12. Caching Strategies (schemes) Different cache implementations • Local • Local on-heap caching for non-clustered caching. • Replicated • Perfect for small, read-heavy caches. • Partitioned • True linear scalability for both read and write access. Data is automatically, dynamically and transparently partitioned across nodes. The distribution algorithm minimizes network traffic and avoids service pauses by incrementally shifting data. • Near Cache • Provides the performance of local caching with the scalability of distributed caching. Several different near-cache strategies provide varying tradeoffs between performance and synchronization guarantees.
  • 16. The Near Scheme • A composition of pluggable Front and Back schemes • Provides L1 and L2 caching (cache of a cache) • Why: • Partitioned Topology may always go across the wire • Need a local cache (L1) over the distributed scheme (L2) • Best option for scalable performance! • How: • Configure ‘front’ and ‘back’ topologies • Configurable Expiration Policies: • LFU, LRU, Hybrid (LFU+LRU), Time-based, Never, Pluggable
  • 20. Queries • Filters applied in parallel (in the Grid) • A large range of filters out-of-the-box: All, Always, And, Any, Array, Between, ContainsAll, ContainsAny, Contains, Equals, GreaterEquals, Greater, In, InKeySet, IsNotNull, IsNull, LessEquals, Less, Like, Limit, Never, NotEquals, Not, Or… Filter filter = new AndFilter( new EqualsFilter("getTrader", traderId), new EqualsFilter("getStatus", Status.OPEN)); Set setOpenTrades = mapTrades.entrySet(filter);
  • 22. Real Time Events • Maintain real time visibility into data changes • Desktops • The usual example is the “Trader desktop” • Watch data change in near real time • Typically a few milliseconds • Servers • Monitoring data to trigger additional processing • Event Driven Architecture within the data grid • Very wide-ranging set of use cases • Not many common patterns of usage
  • 23. Continuous Query Cache Coherence implements Continuous Query using a combination of its data fabric parallel query capability and its real-time event- filtering and streaming. The result is support for thousands of client application instances, such as trading desktops. Using the previous trading system example, it can be converted to a Continuous Query with only one a single line of code changed NamedCache mapTrades = ... Filter filter = new AndFilter(new EqualsFilter("getTrader", traderid), new EqualsFilter("getStatus", Status.OPEN)); NamedCache mapOpenTrades = new ContinuousQueryCache(mapTrades, filter);
  • 24. Transaction Management • Explicit transaction management • Using the general pattern for pessimistic transactions is "lock -> read -> write -> unlock". For optimistic transactions, the sequence is "read -> lock & validate -> write -> unlock". • Implicit transaction management • Locking "by convention" – for example, requiring that all acessors lock only the "parent" Order object. Doing this can reduce the scope of the lock from table-level to order-level, enabling far higher scalability • Further transaction optimizations • Using EntryProcessors – sending the code to the data, so that operations are queued and all locking is local. Operations must be idempotent.
  • 27. HTTP Session Caching Overview • No code changes required to use • Portlet state can be cached • Built into WLS and WLP Benefits • Enables stateless middle tier • Better hardware utilization • Simpler network infrastructure • Facilitates modular application improvements • Scales out middle tier
  • 28. Serialization Portable Object Format (POF) • Benefits • Can store more data • Can read/write and move data faster 5x Smaller 10x Faster De-Serialization Coherence Serialization Test Results Coherence Compression Test Results 12000 10078 1000 900 867 10000 800 8000 700 600 Time (ms) 6000 Bytes 500 400 4000 309 322 1625 2070 300 2360 1234 186 2000 200 484 100 0 734 De-serialization 547 0 Serialization Java Serialization Java ExternalizationLite XMLBean POF De-serialization ExternalizationLite XMLBean Se rialization M echanisum POF
  • 29. Coherence Incubator Patterns • Pre-built examples • Used in production systems • Thoroughly tested • Extensible • Optimised • Incorporate best practice
  • 30. Gaming Challenges • Extreme scalability 500k+ users • Reliability. Outages damage reputation and can cost £100k+ p/hr • Flexibility. Enable products to be quickly brought to market
  • 31. Extreme Scalability • Scaling Users • 100k – 1M online users • Asynchronously update database so reduce latency, open connections etc. • Scaling Transactions and Processing • Betfair • INCERNO processed 5k TPS in simulation tests with no discernable deterioration in performance or reliability. • Scaling Data Capacity, >100 GB • Off-heap storage option in release 3.5 • Potential storage limit now > TB
  • 32. Extreme Reliability • Non-Stop running • 2 years+ continuous running • Withstand database or link replication failure • Queue requests • Failure of multiple servers • No ‘Single Point Of Failure’ • Processing (as well as data) failover
  • 33. Extreme Flexibility • Native Java, C++ and .NET clients • Simple Map and IDictionary API • Simple to install • Pre-built examples (Incubator Projects) • Seamless HTTP Session integration for J2EE and .NET • Support of Hibernate, JPA and Spring Support • Active forums and SIG’s • Well documented
  • 34. Summary • Coherence™ is the leading product for high <Insert Picture Here> performance distributed in-memory data services • Proven technology, 100+ customers and 1500+ production systems • Offers a unique combination of features • Coherence™ is easy to use and delivers data performance, scalability and reliability