SlideShare a Scribd company logo
Coherence 12.1.3 hidden gems
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
12.1.3 Hidden Gems
Harvey Raja
Consulting Member Technical Staff
Fusion Middleware, Coherence
Month 07, 2014
Oracle Confidential – Internal/Restricted/Highly Restricted
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Note: The speaker notes for this slide include
instructions for when to use Safe Harbor
Statement slides.
Tip! Remember to remove this text box.
Oracle Confidential – Internal/Restricted/Highly Restricted 3
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Program Agenda
Deserialization Accelerator
Asynchronous Index Build
Guardian stats
Project Shrapnel
Asynchronous EntryProcessors
Pop the hood…
1
2
3
4
5
Oracle Confidential – Internal/Restricted/Highly Restricted 4
6
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Deserialization Accelerator
• Anybody want ObjectLocalBackingMap?
• Hold deserialized value in MapIndex
• ReflectionExtractor queries (BinaryEntry.getValue) will use deserialized
value
• Optimized MapIndex implementation
Oracle Confidential – Internal/Restricted/Highly Restricted 5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Asynchronous Index Maintenance
• Partition Transfer blocks access to the partition for the window of transfer
• Pre 12.1.3 this included updated MapIndex with the newly owned entries
• 12.1.3 MapIndex is updated asynchronously by a thread in the pool
• Query request waits until index update job completes
Oracle Confidential – Internal/Restricted/Highly Restricted 6
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 7
C
Build Index
NamedCache.get(K)
Synchronous Index Update
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 8
Asynchronous Index Update
C
Build Index
NamedCache.get(K)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Guardian Improvements
• Public Guardian
• JMX Statistics:
Oracle Confidential – Internal/Restricted/Highly Restricted 9
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Shrapnel
• PartialResultAggregator
– Single invocation of aggregatePartialResults per member
• NamedCache.putAll/invokeAll -> CacheStore.storeAll
• Deadlock avoidance
– Always were able to detect
– Tried to prevent
– Now avoid
Oracle Confidential – Internal/Restricted/Highly Restricted 10
• Service Quiesce
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Deserialization Accelerator
Asynchronous Index Build
Guardian stats
Project Shrapnel
Asynchronous EntryProcessors
Pop the hood…
Oracle Confidential – Internal/Restricted/Highly Restricted 11
5
1
3
4
6
2
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Entry Processors
• Avoids lock(K), get(K), mutate(V), put(K, V), unlock(K)
• Executed on the member that owns K
• Possible to be invoked with a Collection<K> or a Filter (Predicate)
• Allow features such as Partition Lite Transactions
Oracle Confidential – Internal/Restricted/Highly Restricted 12
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Entry Processors
• Are the steps in a processing pipeline parallelizable?
• If so the answer is simple:
Oracle Confidential – Internal/Restricted/Highly Restricted 13
A B EP C D
A
B
EP
C
D
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Entry Processors
• As of 12.1.3 OOTB we provide an AsynchronousProcessor
• Wrapper processor
• AsynchronousProcessor extends AsyncAgent implements Future
• Can specify
– Unit of Order {default: Thread.getId()}
– Automatic Flow Control {default: true}
Oracle Confidential – Internal/Restricted/Highly Restricted 14
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 15
Coherence 12.1.3 hidden gems

More Related Content

PPTX
Oracle Application Container Cloud Service
PPTX
Bitnami & Oracle Cloud Platform
PPTX
Snap Clone & EM12c - Utilisation Self Service
PDF
AIOUG-GroundBreakers-2018 -Using Oracle Autonomous Health Framework to Preser...
PDF
Oracle Solaris Overview
PDF
NZOUG - GroundBreakers-2018 -Using Oracle Autonomous Health Framework to Pres...
PDF
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...
PDF
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
Oracle Application Container Cloud Service
Bitnami & Oracle Cloud Platform
Snap Clone & EM12c - Utilisation Self Service
AIOUG-GroundBreakers-2018 -Using Oracle Autonomous Health Framework to Preser...
Oracle Solaris Overview
NZOUG - GroundBreakers-2018 -Using Oracle Autonomous Health Framework to Pres...
OOW16 - Oracle E-Business Suite: Technology Certification Primer and Roadmap ...
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]

What's hot (20)

PDF
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
PDF
Introducing New AI Ops Innovations in Oracle 19c Autonomous Health Framework ...
PDF
Manual oracle
PDF
Oracle Solaris Cloud Management and Deployment with OpenStack
PDF
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
PDF
Rapid private cloud with oracle vm and oracle openstack for oracle linux
PDF
MySQL Security Best Practises
PPTX
Path to Resilient and Observable Microservices
PDF
OOW16 - Ready or Not: Applying Secure Configuration to Oracle E-Business Suit...
PDF
[2015 Oracle Cloud Summit] 5. Java Cloud Service _Java의 모든 개발, 테스트 환경을 클라우드에서 구현
PDF
NZOUG-GroundBreakers-2018 - Troubleshooting and Diagnosing 18c RAC
PDF
AUSOUG - Applied Machine Learning for Database Autonomous Health
PDF
MySQL Enterprise Edition
PDF
MySQL as a Document Store
PDF
Troubleshooting tldr
PDF
Rootconf admin101
PDF
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
PDF
Percona Live - Dublin 02 security + tuning
PDF
Oracle super cluster for oracle e business suite
PDF
No sql from the web’s favourite relational database MySQL
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
Introducing New AI Ops Innovations in Oracle 19c Autonomous Health Framework ...
Manual oracle
Oracle Solaris Cloud Management and Deployment with OpenStack
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...
Rapid private cloud with oracle vm and oracle openstack for oracle linux
MySQL Security Best Practises
Path to Resilient and Observable Microservices
OOW16 - Ready or Not: Applying Secure Configuration to Oracle E-Business Suit...
[2015 Oracle Cloud Summit] 5. Java Cloud Service _Java의 모든 개발, 테스트 환경을 클라우드에서 구현
NZOUG-GroundBreakers-2018 - Troubleshooting and Diagnosing 18c RAC
AUSOUG - Applied Machine Learning for Database Autonomous Health
MySQL Enterprise Edition
MySQL as a Document Store
Troubleshooting tldr
Rootconf admin101
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Percona Live - Dublin 02 security + tuning
Oracle super cluster for oracle e business suite
No sql from the web’s favourite relational database MySQL
Ad

Viewers also liked (20)

PPTX
Κλασική εποχή β'
PDF
Igor Pandžić prezentacija
PPTX
Ministarstvo prosvjete u kulture - Sanela Dojčinović
PPTX
Od 09
PPTX
Program Konferencije o IKT
PPTX
Samir Mesić prezentacija
PPTX
Program Konferencije o IKT
DOCX
ραψωδία Ζ στ. 369 465
PPTX
Radna snaga u it industriji - Brano Vujičić
PPTX
Prezentacija east code
PDF
Primjena informaciono-komunikacionih tehnologija u privrednim društvima kao b...
PDF
WeB Početni sastanak - Igor Pandžić
PDF
Zakonsko okruženje kao preduslov razvoja informacionog društva - Srđan Rajčević
PDF
Coherence 12.1.2 Hidden Gems
PPTX
Caster111111111
PDF
JavaOne-2013: Save Scarce Resources by Managing Terabytes of Objects off-heap...
PDF
Zakonsko okruženje kao preduslov razvoja informacionog društva - Igor Pandžić
PDF
Coherence 12.1.2 Live Events
PDF
Banche centrali
PDF
Tasso di cambio reale
Κλασική εποχή β'
Igor Pandžić prezentacija
Ministarstvo prosvjete u kulture - Sanela Dojčinović
Od 09
Program Konferencije o IKT
Samir Mesić prezentacija
Program Konferencije o IKT
ραψωδία Ζ στ. 369 465
Radna snaga u it industriji - Brano Vujičić
Prezentacija east code
Primjena informaciono-komunikacionih tehnologija u privrednim društvima kao b...
WeB Početni sastanak - Igor Pandžić
Zakonsko okruženje kao preduslov razvoja informacionog društva - Srđan Rajčević
Coherence 12.1.2 Hidden Gems
Caster111111111
JavaOne-2013: Save Scarce Resources by Managing Terabytes of Objects off-heap...
Zakonsko okruženje kao preduslov razvoja informacionog društva - Igor Pandžić
Coherence 12.1.2 Live Events
Banche centrali
Tasso di cambio reale
Ad

Similar to Coherence 12.1.3 hidden gems (20)

PDF
OOW-TBE-12c-CON7307-Sharable
PPTX
Database as a Service, Collaborate 2016
PDF
Oracle Cloud Platform - Migrer vers la Database 12c
PDF
Performance in the Oracle Cloud
PDF
Using MySQL Enterprise Monitor for Continuous Performance Improvement
PPTX
Oracle EM12c Release 4 New Features!
PDF
Oracle DB 12c 加速企业转型之十大功能
PDF
Kscope Not Your Father's Enterprise Manager
PPTX
BGOUG 2014 Decrease Your MySQL Attack Surface
PPTX
Em13c New Features- Two of Two
PPTX
Securing data in Oracle Database 12c - 2015
PDF
MySQL For Linux Sysadmins
PDF
P6 Resource Management in the web
PPTX
Oracle Coherence Strategy and Roadmap (OpenWorld, September 2014)
PDF
Oracle database in cloud, dr in cloud and overview of oracle database 18c
PDF
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
PDF
Extensibility in the cloud – power to the business user
PPTX
Tame Big Data with Oracle Data Integration
PDF
10 Razões para Usar MySQL em Startups
PDF
Turning Relational Database Tables into Hadoop Datasources by Kuassi Mensah
OOW-TBE-12c-CON7307-Sharable
Database as a Service, Collaborate 2016
Oracle Cloud Platform - Migrer vers la Database 12c
Performance in the Oracle Cloud
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Oracle EM12c Release 4 New Features!
Oracle DB 12c 加速企业转型之十大功能
Kscope Not Your Father's Enterprise Manager
BGOUG 2014 Decrease Your MySQL Attack Surface
Em13c New Features- Two of Two
Securing data in Oracle Database 12c - 2015
MySQL For Linux Sysadmins
P6 Resource Management in the web
Oracle Coherence Strategy and Roadmap (OpenWorld, September 2014)
Oracle database in cloud, dr in cloud and overview of oracle database 18c
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Extensibility in the cloud – power to the business user
Tame Big Data with Oracle Data Integration
10 Razões para Usar MySQL em Startups
Turning Relational Database Tables into Hadoop Datasources by Kuassi Mensah

Recently uploaded (20)

PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
top salesforce developer skills in 2025.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
history of c programming in notes for students .pptx
PPT
Introduction Database Management System for Course Database
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
System and Network Administration Chapter 2
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
AI in Product Development-omnex systems
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Transform Your Business with a Software ERP System
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
ai tools demonstartion for schools and inter college
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
top salesforce developer skills in 2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
history of c programming in notes for students .pptx
Introduction Database Management System for Course Database
Navsoft: AI-Powered Business Solutions & Custom Software Development
System and Network Administration Chapter 2
Operating system designcfffgfgggggggvggggggggg
AI in Product Development-omnex systems
Design an Analysis of Algorithms I-SECS-1021-03
ISO 45001 Occupational Health and Safety Management System
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
CHAPTER 2 - PM Management and IT Context
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Transform Your Business with a Software ERP System
Upgrade and Innovation Strategies for SAP ERP Customers
How Creative Agencies Leverage Project Management Software.pdf
ai tools demonstartion for schools and inter college
How to Choose the Right IT Partner for Your Business in Malaysia
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf

Coherence 12.1.3 hidden gems

  • 2. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 12.1.3 Hidden Gems Harvey Raja Consulting Member Technical Staff Fusion Middleware, Coherence Month 07, 2014 Oracle Confidential – Internal/Restricted/Highly Restricted
  • 3. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Note: The speaker notes for this slide include instructions for when to use Safe Harbor Statement slides. Tip! Remember to remove this text box. Oracle Confidential – Internal/Restricted/Highly Restricted 3
  • 4. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Program Agenda Deserialization Accelerator Asynchronous Index Build Guardian stats Project Shrapnel Asynchronous EntryProcessors Pop the hood… 1 2 3 4 5 Oracle Confidential – Internal/Restricted/Highly Restricted 4 6
  • 5. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Deserialization Accelerator • Anybody want ObjectLocalBackingMap? • Hold deserialized value in MapIndex • ReflectionExtractor queries (BinaryEntry.getValue) will use deserialized value • Optimized MapIndex implementation Oracle Confidential – Internal/Restricted/Highly Restricted 5
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Asynchronous Index Maintenance • Partition Transfer blocks access to the partition for the window of transfer • Pre 12.1.3 this included updated MapIndex with the newly owned entries • 12.1.3 MapIndex is updated asynchronously by a thread in the pool • Query request waits until index update job completes Oracle Confidential – Internal/Restricted/Highly Restricted 6
  • 7. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 7 C Build Index NamedCache.get(K) Synchronous Index Update
  • 8. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 8 Asynchronous Index Update C Build Index NamedCache.get(K)
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Guardian Improvements • Public Guardian • JMX Statistics: Oracle Confidential – Internal/Restricted/Highly Restricted 9
  • 10. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Shrapnel • PartialResultAggregator – Single invocation of aggregatePartialResults per member • NamedCache.putAll/invokeAll -> CacheStore.storeAll • Deadlock avoidance – Always were able to detect – Tried to prevent – Now avoid Oracle Confidential – Internal/Restricted/Highly Restricted 10 • Service Quiesce
  • 11. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Deserialization Accelerator Asynchronous Index Build Guardian stats Project Shrapnel Asynchronous EntryProcessors Pop the hood… Oracle Confidential – Internal/Restricted/Highly Restricted 11 5 1 3 4 6 2
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Entry Processors • Avoids lock(K), get(K), mutate(V), put(K, V), unlock(K) • Executed on the member that owns K • Possible to be invoked with a Collection<K> or a Filter (Predicate) • Allow features such as Partition Lite Transactions Oracle Confidential – Internal/Restricted/Highly Restricted 12
  • 13. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Entry Processors • Are the steps in a processing pipeline parallelizable? • If so the answer is simple: Oracle Confidential – Internal/Restricted/Highly Restricted 13 A B EP C D A B EP C D
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Entry Processors • As of 12.1.3 OOTB we provide an AsynchronousProcessor • Wrapper processor • AsynchronousProcessor extends AsyncAgent implements Future • Can specify – Unit of Order {default: Thread.getId()} – Automatic Flow Control {default: true} Oracle Confidential – Internal/Restricted/Highly Restricted 14
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 15

Editor's Notes

  • #4: This is a Safe Harbor Front slide, one of two Safe Harbor Statement slides included in this template. One of the Safe Harbor slides must be used if your presentation covers material affected by Oracle’s Revenue Recognition Policy To learn more about this policy, e-mail: Revrec-americasiebc_us@oracle.com For internal communication, Safe Harbor Statements are not required. However, there is an applicable disclaimer (Exhibit E) that should be used, found in the Oracle Revenue Recognition Policy for Future Product Communications. Copy and paste this link into a web browser, to find out more information.   http://my.oracle.com/site/fin/gfo/GlobalProcesses/cnt452504.pdf For all external communications such as press release, roadmaps, PowerPoint presentations, Safe Harbor Statements are required. You can refer to the link mentioned above to find out additional information/disclaimers required depending on your audience.
  • #5: Deserialization Accelerator Asynchronous EntryProcessors Asynchronous Index Build Thread-count = -1 putAll -> storeAll Guardian stats Public Guardian PartialResultAggregator Exception handling for bulk ops (COH-3746) Reporter changes (submit report) NameService Down the rabbit hole…
  • #12: Deserialization Accelerator Asynchronous EntryProcessors Asynchronous Index Build Thread-count = -1 putAll -> storeAll Guardian stats Public Guardian PartialResultAggregator Exception handling for bulk ops (COH-3746) Reporter changes (submit report) NameService Down the rabbit hole…