Professional Documents
Culture Documents
REPORT
ON
Service-Oriented Architecture
SUBMITTED BY:-NamrataMahapatra
140704ITR015
MscIT 4th Sem
Consolidation of Data
Services Raises Scale and
Performance Issues
The role of data services is to
provide access to enterprise
data by expressing the data in
terms of the business without
requiring any external
knowledge of how the data is
actually managed. The value of
data services lies in the
consolidation that
they bring, allowing centralized
control of data without the
proliferation of data silos
throughout the enterprise.
Unfortunately, this centralization
also brings significant scalability
and performance challenges.
Scalability issues arise when
many business services depend
on a single data service,
overwhelming back-end
datasources. Performance issues
result directly from scalability
limitations, because poorly
scaling data services will
become bottlenecks and
requests to those services will
queue. need more data, resulting in
Performance more service invocations. In
is also either case, performance will be
influenced affected, and with application
significantly service level agreement (SLA)
by the requirements moving toward
granularity of response times measured in
an SOA data milliseconds, every data service
service, request can represent a
which often significant portion of the
provides application response time.
either too
Reliability and
little or too
Availability Can Be
much data.
Compromised by
Data
Complex Workflows
services built
Reliability and availability may
around a
also be affected. As business
specific use
services are integrated into
case will
increasingly complex workflows,
provide too
the added dependencies
much data
decrease availability. If a
for simpler
business process depends on
use cases,
several services, the availability
and more-
of the process is actually the
complex use
product of the weaknesses of all
cases will
the SOA Environments Differ from
composed Traditional User-Centric
services. For Applications
example, if a Conversational state, such as the
business hypertext transfer protocol
process (HTTP) session state utilized by
depends on Web services, is often short-lived,
rapidly modified, and repeatedly
six services,
used. The life span of the data
each of which
may be a matter of seconds,
achieves 99
spanning a dozen requests, each
percent
of which may need to read or
uptime, the
update the data. Moving from
business
traditional user-centric
process itself
applications to an SOA
will have a
environment means that, in
maximum of
addition to users, machines are
94 percent
now accessing services—at
uptime,
machine speed. This means that
meaning
the “user count” increases
more than
dramatically while the average
500 hours of
“think time” decreases to almost
unplanned
nothing, causing the maximum
downtime
sustained request rate to far
each year.
exceed the original specification.
The result is that technologies
that were l state is critical, but its rapid
capable of churn rate and transient nature
handling make it particularly difficult to
traditional manage by traditional means.
user loads Using database servers is the
are almost traditional solution for scalable
inevitably data services, but they cannot
crushed by cost-effectively meet the
the increased throughput and latency
load requirements of modern large-
associated scale SOA environments. Most in-
with an SOA memory solutions depend on
deployment. compromises such as queued
Ensuring the (asynchronous) updates,
reliability and master/slave high-availability
integrity of (HA) solutions, and static
conversationa partitioning to hide scalability
issues, all at the
cost of substantially reduced
reliability and scalability. Most
SOA vendors go as far as to
strongly recommend avoiding
stateful services if at all possible,
due to these scaling and
performance challenges.
Avoiding Distributed
Computing
A key differentiator for
clustering products is whether
they assume full responsibility
for virtualizing the cluster or
delegate the difficult
responsibilities
back to the application
developer. Support for clustering
features such as transactions,
“no lease” data access, and
clusterwide locking is critical in
enabling developers to
implement cluster-safe services
without needing to develop
custom distributed computing
algorithms for each business
process. Oracle Coherence takes
responsibility for handling server
and network failures.
Failover and Failback
With the increasing complexity
of SOA environments, automated
and transparent failover and
failback become even more
critical. Ensuring that these
transitions do not result in an
interruption of service means
that applications will be not only
highly available but also highly
reliable.
Oracle services must be able to
Coherence is compensate for the lack of
designed for availability of those services. This
lights-out and is particularly critical for services
zero- composed of other services.
administratio The key to preventing failures in
n one service from affecting
environments another is to appropriately
and employs decouple the two services. For
self-healing services that support loose
network coupling, interposing read-
capabilities to
through/write-behind caching
not only
between the consuming and
survive
producing services can provide
failures but
an effective means of isolating
also repair
reliability issues.
them.
In many cases, it is possible for a
Insulation service to use write-behind
from
caching to continue operating—
Failures in
Other even when an underlying
Services database is unavailable. In such
Any service a configuration, Oracle
that depends Coherence will queue the
on other transactions for the database
until the environment are similar in many
database is ways to those faced in
brought online traditional applications. The less
and its distance and transformation that
transaction is required for using a piece of
logs are information, the more efficient
recovered. the application will be. However,
This capability the scale of the problems has
is absolutely been dramatically increased.
crucial for Furthermore, in addition to the
continuously traditional challenges related to
available conversational state and data
systems, access, there is now the added
because element of increased “distance”
system between the various services
maintenance that are working together to
is inevitable. handle each incoming request.
SCALABLE Enormous Loads Challenge
PERFORMAN Scalability
CE VITAL IN Enterprise systems built on an
SOA
SOA face a host of challenges
Scalability
and relating to unprecedented scale.
performance Request volume is growing in
challenges in multiple dimensions at once.
a services
There are more requests, more
parameters, and more resulting
data per request. Additionally, as
business processes become
increasingly automated, load can
increase enormously. In financial
services, the use of algorithmic
trading systems has increased
load in some cases by several
orders of magnitude, and growth
is anticipated to continue at a
breakneck pace. Retailers are
seeing similar swells from
personalization and closed-loop
analytics. The travel and
hospitality industries are working
to address the need for real-time
pricing and the increased load
generated by third-party
inventory engines. Many other
industries are experiencing
similar exponential growth in
service load.
The most fundamental challenge
for large-scale, data-intensive
systems is of the major strengths of the
to provide Oracle Coherence peer-to-peer
multipoint architecture is that it enables
access to data to be pushed and/or pulled
shared data within a distributed
while environment, either on-demand
preserving a or as the data is updated. It
true single efficiently and directly moves
system data to where it is needed
image (SSI). without depending on time-
Oracle based invalidation or other
Coherence artificial means of
offers fully synchronization. This means
coherent that services have the full
caching in a benefit of instantaneous data
clustered access from any server without
environmen the possibility of accidentally
t, achieving obtaining out-of-date data.
linear The Data Grid Agent feature in
scalability Oracle Coherence ensures ultra
on low transactional latency without
commodity compromising throughput or
hardware fault-tolerance. The next step—
with a fixed platform-portable invocation and
worst-case data services—is a giant leap in
latency. One Oracle’s Fusion Middleware
strategy. Oracle Coherence is well known
Together, for its singular ability to handle
these enormous transaction volumes
capabilities (300,000+ transactions per
make high- second) for conversational state
volume, without compromising read
transactional performance or fault tolerance.
ly consistent Although there are clustering
data and solutions that support scale-out
event or high availability, Oracle
streams Coherence remains the only
universally viable option for applications
available to that need to sustain intense
business read/write data access without
services resorting to non-fault-tolerant
throughout techniques such as
the asynchronous updates.
enterprise.
Deployment Flexibility
Large Through the Data Grid
Transaction Oracle Coherence enables
Volumes capacity on demand in two key
Handled
steps. First, it helps move
Without
Compromis conversational state out of the
e application and into the Oracle
Coherence Data Grid. This
enables manual provisioning of data.
requests to Oracle Coherence’s mesh
be routed to architecture also means that
any additional application instances
application can be started on the fly,
instance without the need for manual
without the repartitioning of data and with
need for minimal delay, because
application state is already
prepared in the data grid. This
compares admirably to products
that depend on static
partitioning and “buddy”
replication for failover.
Second, the Oracle Coherence
Data Grid is designed for lights-
out management/zero
administration (LOM/ZA), which
provides the ability to expand
and contract Oracle Coherence
almost instantaneously in
response to changing demand.
The Oracle Coherence mesh
architecture becomes
increasingly nimble as the cluster
size increases, with rebalancing
occurring even faster and server
failures having smaller and
smaller impacts.
By shifting
state into
Oracle
Coherence
and using
Oracle
Coherence’s
dynamic
mesh
architecture
to Figure 3: In an SOA
dynamically
scale data environment, state
managemen management is the
t,
responsibility of the data
applications
can achieve grid, which easily and cost-
near-real-
effectively scales data access
time
provisioning far beyond what can be
without
achieved with a database and
risking loss
or abortion also delivers significantly
of requests. better scalable performance
and data Require Scalable
Performance
integrity SOAs and Web services in
for general exhibit the same
requirements for scalable
conversatio
performance as any other line-
nal state. of-business or outward-facing
At the application. In the same way
that advanced Web applications
same time,
manage HTTP sessions to
the data provide conversational state on
the server on behalf of the
grid results
user, Web services and other
in a
substantial
increase in
deployment
agility.
Web
Services
SOA infrastructures often have to
implement stateful conversations
and workflow.
In fact, many Web services
implementations simply use
HTTP sessions.
On a request-by-request basis,
the data access requirements for
Web services appear to be
significantly higher than for Web
applications, due to the nature of
Web services, in which ancillary
data is often included to
eliminate the need for
subsequent requests. In some
cases, the request volumes are
also significantly higher and
growing at a much higher rate,
largely because the service
clients are no longer humans
impeded by think time.
CONCLUSION
Clustered caching and data grid
infrastructures ensure
availability, reliability, and
scalable performance for SOA.
SOA environments are adopting
these two technologies much
more rapidly than earlier
architectures, due to their
combined value. As the
recognized market leader in
clustered caching, Oracle has
been at the forefront of making
SOA a reality, with Oracle
Coherence already powering
many of the world’s largest and
most demanding SOA
environments.