Microservices Expo Authors: Pat Romanski, Elizabeth White, Liz McMillan, Karthick Viswanathan, Andy Thurai

Related Topics: Microservices Expo, Industrial IoT

Microservices Expo: Article

Turning Service-Oriented Events into Business Insight

Event-Stream Processing - tools for an event-driven service oriented architecture

The quest for agility has spurred the recent rise of Service Oriented Architecture (SOA) and the face of modern IT integration architecture is changing. Technology stovepipes of the past are now being connected by Enterprise Service Bus (ESB) technology, which provides the backbone for the networking, communication, mediation, and service container management needed to support an SOA. Every integration software vendor provides some form of ESB in its products and the ESB has risen to the status of a de facto standard for SOA integrating. But what's the next step in the evolution of the IT integration fabric?

The next step is a new class of software called event-stream processing, or ESP. ESP has been hailed as the "next big thing" by both software vendors and analysts because it helps an SOA integration fabric become intelligent and responsive. ESP empowers a business to think differently about its operations and IT infrastructure because it can understand the state of a business in the now, rather than just in the past.

But aren't ESBs already emitting events and aren't all SOA infrastructure elements capable of emitting and carrying events? The answer is "yes," ESBs are event-capable today. However, they don't prescribe what to do with the events that are emitted by their services. That's the critical value that ESP brings.

ESP enables an event-driven SOA to decipher causal (if A is followed by B followed by C), temporal (within four seconds), and spatial (within 10 feet) relationships among events - and can do so in real-time. This kind of "enterprise wiretap" lets a business continuously analyse key performance indicators in real-time, identify threat and opportunity in real-time, and act instantly. These capabilities require a new style of computing - stream computing - that can deliver the missing link between an event-driven SOA and real-time business insight.

This article describes the characteristics of stream computing, how an ESP works, and how ESP and the ESB combine to provide an agile, intelligent integration fabric, and an intelligent, real-time enterprise.

Event-Driven SOA Delivers Real-Time Insight
The goal of an event-driven SOA is not merely the capture of all - or some - of the events generated by the architecture. Its goal is to derive business insight from those events - and derive that insight quickly enough to act. An example of a system that delivers real-time intelligence is the "Delta Nervous System."

Figure 1

Delta Airlines, under pressure from competitors like Southwest Airlines, described a concept in 2003 designed to alter its operational infrastructure. The Delta Nervous System monitors operational events, analyses them in real-time, and makes operational decisions in real-time.

The Delta Nervous System monitors weather forecasts and flight positions, identifies patterns among those events - such as changes in the weather - that determine flights that need rerouting. If flights have to be rerouted, that action triggers further events that cause passengers to be rebooked in real-time. Dashboards alert Delta flight operations personnel of the status of flights, with messages sent to kiosks in terminals and gate agents that keep the whole operational organization synchronized.

This real-time operational infrastructure is an example of an event-driven SOA: with flight positions transported by ESB; passenger itineraries checked by database query; dashboards updated with the state of flights, crews, and passengers; and decisions enacted by emitting events. This is a system that needs event processing to provide real-time insight.

The Missing Piece of an Event-Driven SOA: Event-Stream Processing
Real-time intelligence lets a business think differently about its operations and IT infrastructure because it can understand the state of the business in the now rather than just the past. Stream computing is a new style of computing that enables instant event pattern recognition, and it's vastly different from traditional styles of computing.

Figure 2

Traditional computing is static computing, and static computing uses static data. Static data is like a photograph, which captures information about a moment in time. For example, static business data is a table of customer data, transactions at a retail store, or records of shipments that have occurred in a company's supply chain. Static computing can be used to answer questions like: "How many shoes did we sell in our New York stores last week?" Over $200 billion of software is sold worldwide each year, and almost all of it is designed for static data. Relational databases, for example, are designed to manage static data.

Real-time computing is stream computing, and stream computing uses events. Events arrive in streams that resemble a movie in which streams of images and sounds flow by your senses. Patterns in the stream of images and sounds can make you laugh, cry, or scream. Much like a movie, streaming events in an enterprise let the business feel the pulse of operations as events travel through its arteries - the ESB. With stream computing, a business can identify patterns and make instant decisions while they still matter: "When four transactions against the same credit card number from four different shops happen in one minute, deny the next request, flag the account, and send a message to the fraud detection dashboard." And like a movie's impact on its audience, these patterns might well make a CFO laugh or cry.

Figure 3

Static computing and stream computing have fundamentally different physical characteristics - stream computing enables instant, real-time, intelligent decisions based on the patterns of business operations. These patterns are determined by the temporal, causal, or spatial relationships among events in the stream.

The concept of stream computing isn't new, but the efficacy of the tools that implement it is. In 1985, database researchers began to explore the element of time by extending the relational database with time-series extensions. But this approach was fatally flawed, since databases are designed to answer questions about the past, and event processing must make decisions in the now. So, beginning in 1998, a new approach - ESP - attacked the event-processing problem afresh, introduced the first wave of commercial ESP products, and ushered in a new physics of computing.

A BAM Dashboard Isn't Enough

Figure 4

An event-driven SOA is a technical architecture that lets software systems interoperate dynamically. But an effective SOA doesn't satisfy the requirements for instant business insight alone since it lacks the ability to identify temporal and causal relationships among events in real-time. Some software vendors promote Business Activity Monitoring, or BAM, as a new means of business insight:

BAM is "a business solution that is supported by an advanced technical infrastructure that enables rapid insight into new business strategies, the reduction of operating cost by real-time identification of issues, and improved process performance."

Unfortunately vendors have used BAM as a quasi-technical banner with which to sell flashy dashboards. But serious real-time intelligence demands more than a flashy dashboard. ESP provides a computing foundation from which it can answer real-time questions about streaming data, such as:

  • "How many plasma screens do we have in stock, how many have been ordered, what is our rate of consumption, and how are we doing against our forecasted rates - right now?"
  • "Is bad weather forecast within 10 miles of this flight's path? If so, re-route the plane over New York, determine which passengers will be impacted by the delay, rebook the passengers, update kiosks and gate agents at all locations - and update our real-time P&L."
  • "If transactions have occurred in the last five seconds against this credit card from different businesses in different physical locations deny the most recent request and alert fraud detection of the account in question."
Visualization technology isn't enough to answer these questions. An enterprise can ask and answer these questions with the temporal, causal, and spatial capabilities of ESP, and can visualize the results with the help of a dashboard. As a result, dashboards to visualize streams are an insufficient element to deliver event stream processing.

More Stories By Mark Palmer

Mark has over 14 years of experience in technology, most recently as
CTO of YouthStream Media Networks where he led all technology
initiatives, from internal operations to the creation of the Sodalis
platform for integrating and supporting several hundred of
YouthStream's partners, including leading colleges and universities
in the United States.

Comments (4)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Microservices Articles
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In their Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, and Mark Lav...
The Software Defined Data Center (SDDC), which enables organizations to seamlessly run in a hybrid cloud model (public + private cloud), is here to stay. IDC estimates that the software-defined networking market will be valued at $3.7 billion by 2016. Security is a key component and benefit of the SDDC, and offers an opportunity to build security 'from the ground up' and weave it into the environment from day one. In his session at 16th Cloud Expo, Reuven Harrison, CTO and Co-Founder of Tufin, ...
"NetApp's vision is how we help organizations manage data - delivering the right data in the right place, in the right time, to the people who need it, and doing it agnostic to what the platform is," explained Josh Atwell, Developer Advocate for NetApp, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
Gone are the days when application development was the daunting task of the highly skilled developers backed with strong IT skills, low code application development has democratized app development and empowered a new generation of citizen developers. There was a time when app development was in the domain of people with complex coding and technical skills. We called these people by various names like programmers, coders, techies, and they usually worked in a world oblivious of the everyday pri...
Your homes and cars can be automated and self-serviced. Why can't your storage? From simply asking questions to analyze and troubleshoot your infrastructure, to provisioning storage with snapshots, recovery and replication, your wildest sci-fi dream has come true. In his session at @DevOpsSummit at 20th Cloud Expo, Dan Florea, Director of Product Management at Tintri, provided a ChatOps demo where you can talk to your storage and manage it from anywhere, through Slack and similar services with...
Kin Lane recently wrote a couple of blogs about why copyrighting an API is not common. I couldn’t agree more that copyrighting APIs is uncommon. First of all, the API definition is just an interface (It is the implementation detail … Continue reading →
The Jevons Paradox suggests that when technological advances increase efficiency of a resource, it results in an overall increase in consumption. Writing on the increased use of coal as a result of technological improvements, 19th-century economist William Stanley Jevons found that these improvements led to the development of new ways to utilize coal. In his session at 19th Cloud Expo, Mark Thiele, Chief Strategy Officer for Apcera, compared the Jevons Paradox to modern-day enterprise IT, examin...
DevOps tends to focus on the relationship between Dev and Ops, putting an emphasis on the ops and application infrastructure. But that’s changing with microservices architectures. In her session at DevOps Summit, Lori MacVittie, Evangelist for F5 Networks, will focus on how microservices are changing the underlying architectures needed to scale, secure and deliver applications based on highly distributed (micro) services and why that means an expansion into “the network” for DevOps.
Many organizations are now looking to DevOps maturity models to gauge their DevOps adoption and compare their maturity to their peers. However, as enterprise organizations rush to adopt DevOps, moving past experimentation to embrace it at scale, they are in danger of falling into the trap that they have fallen into time and time again. Unfortunately, we've seen this movie before, and we know how it ends: badly.
Kubernetes is a new and revolutionary open-sourced system for managing containers across multiple hosts in a cluster. Ansible is a simple IT automation tool for just about any requirement for reproducible environments. In his session at @DevOpsSummit at 18th Cloud Expo, Patrick Galbraith, a principal engineer at HPE, discussed how to build a fully functional Kubernetes cluster on a number of virtual machines or bare-metal hosts. Also included will be a brief demonstration of running a Galera MyS...