Documente Academic
Documente Profesional
Documente Cultură
Industrial-strength
Microservice Architecture with
Next-Generation Oracle Database
SCAN IP
Container 2 Container 3
Private Interconnect
Support for different data models i.e. Relational, Document, Graph, Key Value
Materialized views to support caching of data from other services to support cross
service analytics
• State Grid is biggest electrical utility in the world – serves 1.1 billion people
– #2 in Fortune Global 500 (2nd largest company globally by revenue)
• State Grid is adopting Microservice architecture for the growing business
– Microservice architecture provides resiliency through loose coupling and flexibility to meet
growing and changing business needs
• Microservice architecture in turn requires a highly scalable, loosely-coupled,
and ultra-reliable distributed database
• State Grid wanted to prove that their business-critical ordering service system
can leverage Oracle Sharding to meet these requirements
– Ordering service currently has 200-300 million users distributed across 26 subsidiaries. Goal is to
build centralized ordering service
Availabilit
Scalability Globality Cloud Portal Integration IaaS Integration PaaS Integration SaaS Integration
y
Cloud Identity Platform Suite (IDCS)
Service
Messaging Job Scheduler Cache Storage Reports SSO Node.js Keys/Creds
Manager
IDCS Infrastructure Micro Services
END;
/
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 24
Identity Cloud Service based on AQ
Publish Subscribe
IDCS Service JMS Listener Audit Handler
JMS Listener Audit Handler
Event Worker
Manager Group #1
AQ DB JMS Listener Notif y Handler
Q1
JMS Listener Notif y Handler
Shard Part
ENQ DEQ
ENQ DEQ Instance 2
Shard Part
ENQ DEQ
ENQ DEQ
Instance 3
Shard Part
ENQ DEQ ENQ DEQ
PROCEDURE CREATE_SHARDED_QUEUE (
queue_name IN VARCHAR2,
storage_clause IN VARCHAR2 DEFAULT NULL,
multiple_consumers IN BOOLEAN DEFAULT FALSE,
max_retries IN NUMBER DEFAULT NULL,
comment IN VARCHAR2 DEFAULT NULL);
65,536
Key benefits
JMS Queue with
same number of
32,768 enq and deq threads
committing after every
10 operations
16,384
dequeues/second
8,192
• Higher throughput
Nonsharded - 1 node
4,096
Sharded - 4 nodes
1,024
No JMS-AQ extensions
EVENT
AQ MSG AQ MSG
ANALYTICS RETURNS CROSS PDB
QUERIES