<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: event]]></title>
    <link>http://securityratty.com/tag/event</link>
    <description></description>
    <pubDate>Mon, 01 Sep 2008 20:00:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Modelling Shoplifting]]></title>
      <link>http://securityratty.com/article/3943f3c70f24e801812a87cf0b0b61f8</link>
      <guid>http://securityratty.com/article/3943f3c70f24e801812a87cf0b0b61f8</guid>
      <description><![CDATA[The other day I was thinking that I should write about specific situation models and by coincident Marc Adler pens CEP and Shoplifting . In Marcs post, Marc begins to model shoplifting as if...]]></description>
      <content:encoded><![CDATA[<p>The other day I was thinking that I should write about specific situation models and by coincident Marc Adler pens <a href="http://magmasystems.blogspot.com/2008/09/cep-and-shoplifting.html" target="_blank">CEP and Shoplifting</a>.  In Marc&#8217;s post, Marc begins to model shoplifting as if shoplifting is &#8220;market data,&#8221; with Level 1 to Level 4 shoplifting &#8220;quotes&#8221; - the natural approach for a brilliant guy from Citi.   In reality, this model does not work very well, and I&#8217;ll touch on a few reasons why today.</p>
<p>Marc&#8217;s initial shoplifting model in his post is based on John <span id="SPELLING_ERROR_3" class="blsp-spelling-error">Colapinto&#8217;s concepts of matching a pattern of customer movements in the store with their estimated patterns of shoplifting behavioral patterns.    Marc&#8217;s asks how Coral8 might address this.   We are not ready to seek a vendor solution.  We do not yet have a workable detection model.</span></p>
<p><span class="blsp-spelling-error">As indicated above, I don&#8217;t think the example situation cited by John and Marc is a viable model for automated processing.    Tracking the behavior of customer&#8217;s movements, by machine, would require some very sophisticated image processing technology that would be too expensive compared to any possible loss at most retails stores.    This type of behavioral pattern recognition. in retail stores, is performed by people (security personnel), not machines, observing people.  </span></p>
<p><span class="blsp-spelling-error">To develop a machine pattern recognition application to detect retail shoplifting we need to build detection models that are economically feasible.  If we are going to use a model of shoplifting pattern recognition versus anomaly detection, we need to define the objects we must track.   </span></p>
<p><span class="blsp-spelling-error">In the most simple model, we have merchandise-objects.   Stores normally (physically) track merchandise-objects only at the exit/entry points of the store using some electromagnetic proximity detection technology.   In this model, the detection configuration is a combination of simple alerting with humans watching the store (&#8221;minding the store&#8221;).    This is not complex event processing.</span></p>
<p><span class="blsp-spelling-error">However, if we added another object to our model, the customer-object, then we start to get more &#8220;complex,&#8221; but we have not defined &#8220;complexity&#8221; yet because we have not defined the object properties, the possible states of the objects, and the relationships between the objects that are the basis for estimated situations.</span></p>
<p><span class="blsp-spelling-error">Hence, model building is constrained by available resources, simple economics and risk (cost-benefit).  If we are detecting shoplifting in Walmart the cost-benefit model for implementing an automated shoplifting detection system would be different than at a top diamond store on 5th Avenue in NYC.   Protecting loss at a weapons-grade uranium respository follows a different model than protecting loss at a handicraft shop, naturally.</span></p>
<p><span class="blsp-spelling-error">Like Marc, I find models to automatically detect shoplifting interesting, so permit me to close with a general discussion of shoplifting in the context of our <a href="http://www.thecepblog.com/what-is-complex-event-processing/" target="_blank">CEP/EP reference model</a>.</span></p>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">One approach would be do determine what objects will be represented in our model.   For example, if we are going to track merchandise, we need to model the &#8221;merchandise-object&#8221;.  If we are going to track people, we need to define the properties of this &#8220;person object.&#8221;  If we are going to represent the store layout, we need to define all these objects (store-object, table-object, shelf-object, entry-object and so forth).  The model can get &#8220;complex&#8221; quite quickly.  </span></span></p>
<blockquote><p><span class="blsp-spelling-error"><span class="blsp-spelling-error">Editorial Note:  <em>An object-oriented approach greatly assists complex model building because we can benefit from OO properties such as encapsulation and polymorphism.  For example, we can define a basic &#8220;person object class&#8221; and then create superclasses of this object for &#8220;customer-object&#8221;, &#8220;manager-object&#8221;, &#8220;or criminal-object.&#8221;</em></span></span></p></blockquote>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">Generally speaking, each object we define will require a state-model, for example, in Marc&#8217;s example of a customer moving around the store, we would need to model the possible states (customer at the entrance, at table 1, at table 2, at shelf 1, in the bathroom, at the cashier, etc.)  Indeed Marc, this is complex event processing if we have modelled multiple objects and defined object-object relationships that indicate situations of interest.   For example, customer-object at table2 where merchandise-object has the property of  &#8221;very expensive, high risk&#8221; and then customer-object changes state to &#8220;in bathroom&#8221;.  Of course, we need more key indicators, but you get the idea.</span></span></p>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">Right now, I am typing from the <a href="http://www.taste4heaven.com">Taste from Heaven Vegetarian Restaurant</a> in Chiang Mai and my battery is running low.  The owner of this excellent restaurant also runs the <a href="http://www.elephantnaturefoundation.org/" target="_blank">Elephant Nature Park</a>, a non-profit organization advocating and acting on behalf of the rights of the mighty elephants in Thailand.  Would be great if we could also automatically detect the situation of &#8220;elephant abuse&#8221; by poachers and other crimes against nature.   Time to get back to my delicious mushroom salad, Northeastern Thai style.</span></span></p>
<p><span class="blsp-spelling-error"><span class="blsp-spelling-error">As always, thanks for reading, time for me to get back to eating!</span></span></p>
<p> </p>
]]></content:encoded>
      <pubDate>Sun, 07 Sep 2008 03:30:15 +0000</pubDate>
      <category domain="http://securityratty.com/tag/store">store</category>
      <category domain="http://securityratty.com/tag/store-object">store-object</category>
      <category domain="http://securityratty.com/tag/complex">complex</category>
      <category domain="http://securityratty.com/tag/model canget complex">model canget complex</category>
      <category domain="http://securityratty.com/tag/model">model</category>
      <category domain="http://securityratty.com/tag/simple">simple</category>
      <category domain="http://securityratty.com/tag/simple economics">simple economics</category>
      <category domain="http://securityratty.com/tag/simple model">simple model</category>
      <category domain="http://securityratty.com/tag/object">object</category>
      <source url="http://www.thecepblog.com/2008/09/07/modelling-shoplifting/">Modelling Shoplifting</source>
    </item>
    <item>
      <title><![CDATA[Supporting CEP with Solace Content Routers]]></title>
      <link>http://securityratty.com/article/8d902f5832f1d3b5efbfc1f409e130b5</link>
      <guid>http://securityratty.com/article/8d902f5832f1d3b5efbfc1f409e130b5</guid>
      <description><![CDATA[Interested in content routing and event preprocessingsupporting futureCEP applications? Check out Solace Systems . You can click on the image below for a better picture of the Solace architecture for...]]></description>
      <content:encoded><![CDATA[<p>Interested in content routing and event preprocessing supporting future CEP applications?  Check out <a href="http://wwww.solacesystems.com" target="_blank">Solace Systems</a>.  You can click on the image below for a better picture of the Solace architecture for event processing.</p>
<p style="text-align: center;"><a href="http://www.solacesystems.com/images/solutions/cep_architecture.gif" target="_blank"><img class="aligncenter" src="http://www.solacesystems.com/images/solutions/cep_architecture.gif" alt="" width="450" height="283" /></a></p>
<p>Solace provides <a href="http://www.solacesystems.com/solutions/fs_event_processing.asp" target="_blank">sophisticated middleware functionality</a> in hardware to monitor, filter, route, transform and secure very large volumes of events in real time and with minimal processing overhead.  Solace uses leading-edge FPGA, ASIC and network processor technology to increase throughput and lower latency of event processing. Applications such as fraud detection, algorithmic trading, compliance, insider trade monitoring, risk management and more can be tackled more effectively by separating the simple monitoring, filtering and normalization of raw events from the complex processing of select events. This event pre-processing takes the burden off CEP engines allowing individual engines to be much more effective. </p>
]]></content:encoded>
      <pubDate>Sat, 06 Sep 2008 07:42:30 +0000</pubDate>
      <category domain="http://securityratty.com/tag/solace">solace</category>
      <category domain="http://securityratty.com/tag/solace systems">solace systems</category>
      <category domain="http://securityratty.com/tag/events">events</category>
      <category domain="http://securityratty.com/tag/raw events">raw events</category>
      <category domain="http://securityratty.com/tag/event">event</category>
      <category domain="http://securityratty.com/tag/solace architecture">solace architecture</category>
      <category domain="http://securityratty.com/tag/network processor technology">network processor technology</category>
      <category domain="http://securityratty.com/tag/select events">select events</category>
      <category domain="http://securityratty.com/tag/applications">applications</category>
      <source url="http://www.thecepblog.com/2008/09/06/supporting-cep-with-solace-3230-and-solace-3260-content-routers/">Supporting CEP with Solace Content Routers</source>
    </item>
    <item>
      <title><![CDATA[Towards a Streaming SQL Standard]]></title>
      <link>http://securityratty.com/article/11661732df3a8a5a25e83671bf0c6979</link>
      <guid>http://securityratty.com/article/11661732df3a8a5a25e83671bf0c6979</guid>
      <description><![CDATA[In More Towards a Streaming SQL Standard , Marc Adler says, Despite what I think about Streambases marketing and sales organization, you must admit that Zdonik and Cherniack are first-class...]]></description>
      <content:encoded><![CDATA[<p>In <a href="http://www.cs.brown.edu/~ugur/streamsql.pdf" target="_blank">More Towards a Streaming SQL Standard</a>, Marc Adler says,<em> &#8220;Despite what I think about <span id="SPELLING_ERROR_3" class="blsp-spelling-error">Streambase&#8217;s</span> marketing and sales organization, you must admit that <span id="SPELLING_ERROR_4" class="blsp-spelling-error">Zdonik</span> and <span id="SPELLING_ERROR_5" class="blsp-spelling-error">Cherniack</span> are first-class researchers, and have contributed a lot to the field of <span id="SPELLING_ERROR_6" class="blsp-spelling-error">CEP.&#8221;</span></em></p>
<p>I agree that these gentlemen are top notch researchers, witnessed by the fact that the authors do not mention nor claim to be &#8220;complex event processing&#8221; anywhere in their paper!  This paper is not about CEP, nor does it claim to be about CEP, it is about stream processing and unifying SQL standards.</p>
<blockquote><p><em>ABSTRACT: This paper describes a unification of two different SQL extensions for streams and its associated semantics. We use the data models from Oracle and StreamBase as our examples. Oracle uses a time-based execution model while StreamBase uses a tuple-based execution model. Time-based execution provides a way to model simultaneity while tuple-based execution provides a way to react to primitive events as soon as they are seen by the system.</em></p></blockquote>
<p>Asmentioned on numerous occasions, stream processing is a very important area in CEP/EP.   It is important not to confuse the higher situational knowledge from object-object correlation and state management with the single-object event refinement that occurs in stream processsing.    Event stream processing is fundamentally different than complex event processing. </p>
<p>Event stream processing performs operations on streaming event objects.   In almost all advanced CEP/EP applications is is necessary to perform robust track and trace operations on streaming event objects, like tracking the position of an airplane.    Tracking the position of an aircraft can be modelled very nicely with event stream processing.  Tracking individual event objects is a precuror to multiclass object situation refinement.</p>
<p>When we manage the state of all the aircraft in the skies over New York, you need more than a stream processing construct.  You need to manage the state of all the aircraft.  Paul Vincent of TIBCO Software being to address this important point in <a title="Permalink" href="http://tibcoblogs.com/cep/2008/09/02/the-value-of-state/"><span style="color: #055486;">The Value of State…</span></a>  </p>
<p>Again, we will be better equiped to solve complex distributed event processing problems if we do not confuse the notion of event stream processing and complex event processing.   These technologies are indeed complimentary, both very important, but they are not the same.</p>
<p>I applaud Oracle and StreamBase&#8217;s work toward a unified standard for <em>SQL extensions for streams.</em></p>
]]></content:encoded>
      <pubDate>Fri, 05 Sep 2008 13:39:08 +0000</pubDate>
      <category domain="http://securityratty.com/tag/individual event objects">individual event objects</category>
      <category domain="http://securityratty.com/tag/event objects">event objects</category>
      <category domain="http://securityratty.com/tag/event">event</category>
      <category domain="http://securityratty.com/tag/single-object event refinement">single-object event refinement</category>
      <category domain="http://securityratty.com/tag/complex event">complex event</category>
      <category domain="http://securityratty.com/tag/event stream">event stream</category>
      <category domain="http://securityratty.com/tag/stream">stream</category>
      <category domain="http://securityratty.com/tag/standard">standard</category>
      <category domain="http://securityratty.com/tag/sql standard">sql standard</category>
      <source url="http://www.thecepblog.com/2008/09/05/towards-a-streaming-sql-standard/">Towards a Streaming SQL Standard</source>
    </item>
    <item>
      <title><![CDATA[Customers Being Heard Dell OEM Customer Advisory Council]]></title>
      <link>http://securityratty.com/article/b5bf6c31cfb46c51caf3436e68450bcd</link>
      <guid>http://securityratty.com/article/b5bf6c31cfb46c51caf3436e68450bcd</guid>
      <description><![CDATA[It was a surprise and a great honor when Dell asked us to participate on their Industry Solutions Group (ISG) OEM Customer Advisory Council even more so when I met some of the other members from...]]></description>
      <content:encoded><![CDATA[<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 10px 10px 0px; border-right-width: 0px" height="234" alt="dell" src="http://blog.sciencelogic.com/wp-content/uploads/2008/09/dell.jpg" width="240" align="left" border="0"> It was a surprise and a great honor when Dell asked us to participate on their <a href="http://www.dell.com/content/topics/global.aspx/sitelets/solutions/industry_application/oem_solutions/oem_industry_solutions_group?c=us&amp;cs=555&amp;l=en&amp;s=biz&amp;redirect=1" target="_blank">Industry Solutions Group (ISG) OEM Customer Advisory Council</a> – even more so when I met some of the other members from companies like Google, Teradata, Siemens Medical and Cisco. Not so shabby.</p>
<p>I arrived in Austin Sunday night to get ready for a factory tour on Monday, a kickoff dinner and then two days of briefings from Dell executives, including Michael Dell himself! Dell’s ISG business is growing at a very fast pace and continues to build momentum and focus within the broader organization.</p>
<p>We had a nice <a href="http://www.lockergnome.com/blade/2008/08/02/microsoft-has-oems-adding-defender-one-care-to-pcs/" target="_blank">overview of the product roadmap</a>, including some of the exciting enhancements Dell is making to their <a href="http://gigaom.com/2008/09/04/pc-makers-give-storage-startups-a-boost/" target="_blank">storage products</a> <a href="http://blogs.smugmug.com/don/2007/10/01/dell-md3000-great-das-db-storage/" target="_blank">such as the MD3000</a> and the new <a href="http://jpowell.blogs.com/jason_powell_church_it/2008/04/equallogic-app.html" target="_blank">EqualLogic PS5000 series iSCSI</a> solutions.</p>
<p>I really enjoyed the Council meeting and it reminds me all over again; what I admire about Dell is the way they and Michael Dell himself stay close to the customer. The entire purpose of this event is to “get it right” and determine meaningful ways to embrace change (including change in the manufacturing process) in order to make their customers more successful. Ah shucks, you may say that all companies behave this way… well I must tell you that is not true and at times, I find it difficult as we continue to grow to stay as close as I would like to all of our customers varying needs and directions.</p>
<p><img style="border-right: 0px; border-top: 0px; margin: 0px 10px 10px 0px; border-left: 0px; border-bottom: 0px" height="228" alt="Ideastorm" src="http://blog.sciencelogic.com/wp-content/uploads/2008/09/ideastorm1.jpg" width="456" border="0"> </p>
<p>This concept of <a href="http://www.briansolis.com/2008/07/comcast-cares-and-why-your-business.html" target="_blank">gathering, internalizing and embracing customer feedback is a simple principle</a> of Business Success stories. <a href="http://www.beingpeterkim.com/2008/09/ive-been-thinki.html" target="_blank">Always trying to improve</a> the pace of change and build meaningful sticky relationships with customers. Dell’s very successful <a href="http://www.dellideastorm.com/" target="_blank">Ideastorm</a> site where customers post <a href="http://www.pronetadvertising.com/articles/how-richard-binhammer-is-changing-the-face-of-dell-online34379.html" target="_blank">product feedback and are active participants</a> in the Dell community is a <a href="http://www.bloggingstocks.com/2008/07/07/how-dell-can-leap-ahead-in-consumer-laptop-sales/" target="_blank">great example of how to do this right</a>. No other hardware vendor that we have worked with or attempted to work with has ever gone to the extent of embracing change that Dell has during our 5-year relationship.</p>
<p>From the custom factory integration services to the attention to detail in the order and manufacturing, and logistics processes, Dell helps us execute for our customers and I must admit that we could not have built the business as quickly or efficiently without Dell!</p>
<p>So thank you Michael Dell for building a business that embraces change and is focused on helping your ISG customers succeed.</p>
]]></content:encoded>
      <pubDate>Fri, 05 Sep 2008 11:54:54 +0000</pubDate>
      <category domain="http://securityratty.com/tag/dell">dell</category>
      <category domain="http://securityratty.com/tag/michael dell">michael dell</category>
      <category domain="http://securityratty.com/tag/dells isg business">dells isg business</category>
      <category domain="http://securityratty.com/tag/isg">isg</category>
      <category domain="http://securityratty.com/tag/customers">customers</category>
      <category domain="http://securityratty.com/tag/dell community">dell community</category>
      <category domain="http://securityratty.com/tag/dell helps">dell helps</category>
      <category domain="http://securityratty.com/tag/business">business</category>
      <category domain="http://securityratty.com/tag/dell executives">dell executives</category>
      <source url="http://blog.sciencelogic.com/customers-being-heard-dell-oem-customer-advisory-council/09/2008">Customers Being Heard Dell OEM Customer Advisory Council</source>
    </item>
    <item>
      <title><![CDATA[Streaming SQL Approaches Insist in Ignoring Causality by PatternStorm]]></title>
      <link>http://securityratty.com/article/46fcc325a183e0e5f0b350bcc9aeb6b5</link>
      <guid>http://securityratty.com/article/46fcc325a183e0e5f0b350bcc9aeb6b5</guid>
      <description><![CDATA[The following excellent discussion is reposted from Streaming SQL approaches insist in ignoring causality by PatternStorm
The recent paper Towards a Streaming SQL Standard by Oracle and Streambase...]]></description>
      <content:encoded><![CDATA[<blockquote><p>The following excellent discussion is reposted from <a href="http://www.thecepblog.com/wp-admin/#p452">Streaming SQL approaches insist in ignoring causality</a> by PatternStorm.</p></blockquote>
<p>The recent paper &#8220;<a href="http://www.cs.brown.edu/%7Eugur/streamsql.pdf" target="_blank">Towards a Streaming SQL Standard</a>&#8221; by Oracle and Streambase unifies and generalizes two different execution models of Streaming SQL: Oracle&#8217;s and StreamBase&#8217;s.</p>
<p>While it&#8217;s true that the generalization succeeds in overcoming the unability of both execution models of producing correct results for astonishing simple queries (showing evidence of the actual limitations of these two Streaming SQL languages) it is also true that the generalization is closer to being overly complex than natural and intuitive.</p>
<p>The root cause behind the actual limitations of these two Streaming SQL languages is that their execution models &#8220;hardcode&#8221; the way events can be related to each other: in the Oracle case events are partially ordered by timestamp, in the StreamBase case events are totally ordered by time of arrival. These design decisions (natural in a stream oriented lamguage) have strong implications on what queries can be answered correctly, particularly when these queries involve joins of derived streams.</p>
<p>The generalization, of course, mainly consists in providing a new operator that allows the user to establish custom ordering relationships among the events (the SPREAD operator), which is good news but takes us to the fundamental issue: event processing cannot be reduced to stream processing, that is, to the processing of events that are totally or partially ordered by a pre-defined relationship (as Oracle and StreamBase actual implementations do), on the contrary, no particular ordering can be assumed because the user needs to be able to order the events in different ways in order to solve different problems. This is what event processing is about and the paper provides evidence that Streaming SQL approaches have found the need to move towards that direction and are having trouble in their way.</p>
<p>For instance, one of the queries used in the paper as an example of a query that StreamBase cannot solve (but Oracle can) is the following: correlate the stream that contains the total number of cars on the road for each time interval with the stream that contains the total average speed of the cars on the road for each time interval in order to detect the situation where the avergae speed is below 45 and the total number of cars is two or more. This query can be very easily and more robustly solved if you order the events by causality rather than by time, that is, if you have each position report update the average speed stream and the total number of cars stream and then you causally relate each position report to the new average speed event and the new total number of cars event that it generates; then the query is just a matter of detecting all report speeds that are causally related both to an average speed event below 45 and a total number of cars event of two or more (notice that this approach is more robust than Oracle&#8217;s time-based one because it works without requiring derived streams to be synchronized with the report speed stream)</p>
<p>Conclusions:</p>
<ul>
<li>Event Processing is a generalization of Stream Processing (as the paper shows)</li>
<li>Event Processing requires providing the ability to the user of creating custom relationships among events and then define patterns/queries using those custom relationships.</li>
<li>Causality is more often than not a more robust and easier criteria to order events than time or order of arrival.</li>
<li>Event Processing Languages should support causality.</li>
</ul>
<p>Regards,<br />
PatternStorm</p>
]]></content:encoded>
      <pubDate>Fri, 05 Sep 2008 10:25:35 +0000</pubDate>
      <category domain="http://securityratty.com/tag/sql">sql</category>
      <category domain="http://securityratty.com/tag/sql approaches insist">sql approaches insist</category>
      <category domain="http://securityratty.com/tag/cars stream">cars stream</category>
      <category domain="http://securityratty.com/tag/stream">stream</category>
      <category domain="http://securityratty.com/tag/average speed event">average speed event</category>
      <category domain="http://securityratty.com/tag/event">event</category>
      <category domain="http://securityratty.com/tag/sql languages">sql languages</category>
      <category domain="http://securityratty.com/tag/languages">languages</category>
      <category domain="http://securityratty.com/tag/cars event">cars event</category>
      <source url="http://www.thecepblog.com/2008/09/05/streaming-sql-approaches-insist-in-ignoring-causality-by-patternstorm/">Streaming SQL Approaches Insist in Ignoring Causality by PatternStorm</source>
    </item>
    <item>
      <title><![CDATA[More on Why Routing is Not Complex Event Processing]]></title>
      <link>http://securityratty.com/article/b2a2132904db8b6f400e9dc6e9ba65b1</link>
      <guid>http://securityratty.com/article/b2a2132904db8b6f400e9dc6e9ba65b1</guid>
      <description><![CDATA[Interestingly, CEP is Not BPM, BAM, BRE, BRMS or SOA stimulated many great comments andthe rebuttal Smart Order Routing and CEP - Made for Each Other . James Taylor responded with Business rules,...]]></description>
      <content:encoded><![CDATA[<p>Interestingly, <a href="http://www.thecepblog.com/2008/08/27/cep-is-not-bpm-bam-bpm-brms-or-soa/">CEP is Not BPM, BAM, BRE, BRMS or SOA</a> stimulated many great comments and the rebuttal <a href="http://streambase.typepad.com/streambase_stream_process/2008/09/smart-order-routing-and-cep.html">Smart Order Routing and CEP - Made for Each Other</a>.  James Taylor responded with <a href="http://www.ebizq.net/blogs/decision_management/2008/08/business_rules_decisions_and_e.php">Business rules, decisions and events</a>.   I followed up with <a href="http://www.thecepblog.com/2008/09/03/cep-is-not-low-latency-messaging-eai-or-esb/">CEP is Not Low Latency Messaging, EAI or ESB</a> and James replied in turn with <a href="http://www.ebizq.net/blogs/decision_management/2008/09/still_more_on_event_processing.php" target="_blank">Still More on Event Processing</a>.  It&#8217;s great to see the blogosphere doing so well.  Continuing, I would like to discuss smart order routing (SOR) a bit more and why routing is not CEP.</p>
<p>First of all, let&#8217;s ground the discussion a bit by translating &#8220;smart order routing&#8221; to &#8220;rule-based message routing&#8221; since in this application &#8220;smart&#8221;  translates to &#8220;using rules&#8221; and &#8220;order&#8221; translates to &#8220;message&#8221;.    Basically, Mark (and other &#8220;new on the routing scene&#8221; stream processing players) argue that rule-based message routing is CEP.  I will argue that routing is not even close to CEP.  Here is why,</p>
<p>Let&#8217;s take a look at a router on the backbone of the global Internet.   A backbone router has very sophisticated software developed over many decades.   These routers run sophisticated, mature algorithms to determine how to route messages (packets) and use these algorithms to build complex routing tables. </p>
<p>In addition, these routers process messages (packets) from countless sources and route messages (packets) to countless destinations.  Using some of the terms in early posts (above), there is a great &#8220;confluence of events&#8221; processed by routers.    Futhermore, there are normally quite complex authentication, authorization and other security parameters managed in a router, all in real time.   Routers do much more, but I don&#8217;t want to get too deep into routing in this post.</p>
<p>My point is that, without any doubt, global Internet routers process very &#8220;cloudy&#8221; &#8220;confluence of events&#8221; with much more sophistication than order routing applications.    However, we do not call Internet routing &#8220;CEP&#8221;, regardless of how many connections are processed or how much sophisticated processing occurs.  The reason is because the &#8220;C&#8221; in &#8220;CEP&#8221; defines a complexity that is at a higher abstraction than messaging and routing.</p>
<p>If you study the literature on CEP, some of which I posted recently, CEP was envisioned to solve complex event processing problems &#8220;on top of the routing layer&#8221; because the routing layer is a mature technology layer.  We can route, pure and simple.  Of course, we are always seeking faster, more scaleable and more secure routing. </p>
<p>I admire some of the startups in the CEP/ESP/EP space for working hard to make money and for aggressively positioning their products and attempting to build market share.   However, issues surface when these same companies seem to believe they are the first companies to work in the event processing or message routing space and that they can define whatever they want as &#8220;complex event processing&#8221; as long as it benefits their sales targets.</p>
<p>There is no doubt that a router does much more sophisticated event processing than the new rule-based stream processing systems running continuous queries across streaming data.  There is no doubt that a router processes a complex &#8220;confluence of events&#8221;.   However, we don&#8217;t call routers &#8220;CEP&#8221;. </p>
<p>We do not call routers &#8220;CEP&#8221; because CEP is about a higher level of knowledge processing.  CEP was created to detect the &#8220;complex events&#8221; that happen above the mediation and routing layer.     The literature and original examples on CEP are quite clear on this.</p>
<p> </p>
]]></content:encoded>
      <pubDate>Thu, 04 Sep 2008 05:38:58 +0000</pubDate>
      <category domain="http://securityratty.com/tag/complex">complex</category>
      <category domain="http://securityratty.com/tag/complex event">complex event</category>
      <category domain="http://securityratty.com/tag/solve complex event">solve complex event</category>
      <category domain="http://securityratty.com/tag/upwith cep">upwith cep</category>
      <category domain="http://securityratty.com/tag/cep">cep</category>
      <category domain="http://securityratty.com/tag/event">event</category>
      <category domain="http://securityratty.com/tag/cep defines">cep defines</category>
      <category domain="http://securityratty.com/tag/call routers cep">call routers cep</category>
      <category domain="http://securityratty.com/tag/call">call</category>
      <source url="http://www.thecepblog.com/2008/09/04/more-on-why-routing-is-not-complex-event-processing/">More on Why Routing is Not Complex Event Processing</source>
    </item>
    <item>
      <title><![CDATA[CEP is Not Low Latency Messaging, EAI or ESB]]></title>
      <link>http://securityratty.com/article/ca4a4c065cad28536dda34d18757089d</link>
      <guid>http://securityratty.com/article/ca4a4c065cad28536dda34d18757089d</guid>
      <description><![CDATA[In respose to CEP is Not BPM, BAM, BRE, BRMS or SOA , fellow blogger Mark Palmer posts, Smart Order Routing and CEP - Made for Each Other . Mark does a good job describing his perspective on smart...]]></description>
      <content:encoded><![CDATA[<p>In respose to <a title="CEP is Not BPM, BAM, BRE, BRMS or SOA" rel="bookmark" href="http://www.thecepblog.com/2008/08/27/cep-is-not-bpm-bam-bpm-brms-or-soa/"><span style="color: #105cb6;">CEP is Not BPM, BAM, BRE, BRMS or SOA</span></a>, fellow blogger Mark Palmer posts, <a href="http://streambase.typepad.com/streambase_stream_process/2008/09/smart-order-routing-and-cep.html" target="_blank">Smart Order Routing and CEP - Made for Each Other</a>.   Mark does a good job describing his perspective on smart order routing (SOR), yet his counterpoint that SOR is &#8220;complex event processing&#8221; is quite unconvincing.</p>
<p>I agree with Mark that SOR is important and very interesting; but in his reply he seems to be confusing CEP with &#8220;complex EAI&#8221; or a &#8220;complex messaging&#8221; application.  For example, Mark says,</p>
<blockquote><p><em>&#8220;It&#8217;s not uncommon for a single SOR system to connect to 10 or more markets and multiple asset classes.  Not only is this a confluence of events, it&#8217;s a stunningly complicated environment in which to create a complex, real-time model in which to apply &#8220;simple&#8221; routing decisions. On this basis alone, SOR needs CEP</em>.&#8221;</p></blockquote>
<p>Connecting to many market feeds with multiple asset classes might be complicated, but &#8220;complicated connections&#8221; are an EAI  (adaptation layer) function, not a core CEP function.   In fact, TIBCO Software has been doing this type of low latency back-office order routing for many years, and TIBCO historically calls this &#8220;messaging.&#8221;  Adding some rules to high speed, low latency messaging does not make it a &#8220;CEP&#8221; application.</p>
<p>Mark goes on to set up a counter argument to ILOG&#8217;s <a rel="external nofollow" href="http://forums.ilog.com/brms/index.php?action=profile;u=16"><strong>Changhai Ke</strong></a>, comments with,</p>
<blockquote><p><em>&#8220;SOR operates by analyzing the confluence of events from market data feeds, order flows from OMS systems, and executions, aggregating and analyzing those events in real time, and adjust routing decisions on the fly.&#8221;</em></p></blockquote>
<p>This is the well travelled argument the &#8220;new stream processing vendors in capital markets&#8221; have been saying, still unconvincingly, for the last few years.  Basically their perspective is that if you have a lot of &#8221;feeds&#8221; and a core requirement for &#8220;speed&#8221; - &#8220;feeds and speed&#8221; - you are doing &#8220;complex event processing.&#8221; </p>
<p>Mark Palmer forcefully stated his opinon that the folks who do not agree with him do not &#8220;understand&#8221; modern day SOR.    However,  a strong counter argument can be made that the &#8220;newcomers&#8221; to capital markets like StreamBase do not understand that &#8220;feeds and speeds&#8221; with order routing is little more than moderan day EAI.   This is a basic message routing capability and it has been around for a long time.  After all, Wall Street operated quite well before the term CEP was coined!  TIBCO technology was providing Wall Street back office, low latency, smart order routing a decade ago, and they called this technology &#8220;messaging&#8221;.  </p>
<p>So, I remain unconvinced, at least by Mark&#8217;s passionate counter post, that SOR is CEP.   SOR, as Mark and other have described it, is a low latency messaging technology.  Message routing rules have exisited in this technology space for decades.</p>
<p>I agree with Mark completely that low latency EAI (like SOR has been described) can be quite complex, from a &#8220;feeds and speeds&#8221; perspective.   However,  I remain skeptical that &#8220;feeds and speeds&#8221; is much more than  modern day messaging and message routing.</p>
<p>In closing, in the network and security management world we have been dealing with &#8220;myriad feeds and speeds&#8221; for as long as I can remember, but admitted not like capital markets.    Taking myriad feeds, running rules against the feeds and then routing the messages/events for further processing, regardless of the complexity of the feeds and the data, is actually more of a messaging/ESB technology than a CEP technology. </p>
<p>I remain completely open minded to any convincing counter arguments.</p>
]]></content:encoded>
      <pubDate>Wed, 03 Sep 2008 08:31:49 +0000</pubDate>
      <category domain="http://securityratty.com/tag/cep">cep</category>
      <category domain="http://securityratty.com/tag/cep technology">cep technology</category>
      <category domain="http://securityratty.com/tag/low latency">low latency</category>
      <category domain="http://securityratty.com/tag/modern day sor">modern day sor</category>
      <category domain="http://securityratty.com/tag/feeds">feeds</category>
      <category domain="http://securityratty.com/tag/myriad feeds">myriad feeds</category>
      <category domain="http://securityratty.com/tag/sor">sor</category>
      <category domain="http://securityratty.com/tag/vendorsin capital markets">vendorsin capital markets</category>
      <category domain="http://securityratty.com/tag/capital markets">capital markets</category>
      <source url="http://www.thecepblog.com/2008/09/03/cep-is-not-low-latency-messaging-eai-or-esb/">CEP is Not Low Latency Messaging, EAI or ESB</source>
    </item>
    <item>
      <title><![CDATA[Tomoko in Bangkok with Emerson Lake & Palmer]]></title>
      <link>http://securityratty.com/article/b74e32f4452f74ee922157fa286d06d3</link>
      <guid>http://securityratty.com/article/b74e32f4452f74ee922157fa286d06d3</guid>
      <description><![CDATA[A few friends and colleagues have written privately, or blogged , and kindly mentioned how much they will miss not seeing Tomoko at the Event Processing Summit and Symposium this month. She is...]]></description>
      <content:encoded><![CDATA[<p>A few friends and colleagues have written privately, or <a href="http://magmasystems.blogspot.com/2008/08/4th-annual-event-processing-symposium.html" target="_blank">blogged</a>, and kindly mentioned how much they will miss not seeing Tomoko at the Event Processing Summit and Symposium this month.  She is currently in Japan visiting friends and family.    Here is a video I made  with Tomoko on the Chao Phraya River in Bangkok, set to the music of ELP.  Enjoy!</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="center" /><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/jxCQUok-tgk&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/jxCQUok-tgk&amp;hl=en&amp;fs=1" allowfullscreen="true" align="center"></embed></object></p>
]]></content:encoded>
      <pubDate>Tue, 02 Sep 2008 03:48:06 +0000</pubDate>
      <category domain="http://securityratty.com/tag/tomoko">tomoko</category>
      <category domain="http://securityratty.com/tag/chao phraya river">chao phraya river</category>
      <category domain="http://securityratty.com/tag/friends">friends</category>
      <category domain="http://securityratty.com/tag/bangkok">bangkok</category>
      <category domain="http://securityratty.com/tag/month">month</category>
      <category domain="http://securityratty.com/tag/symposium">symposium</category>
      <category domain="http://securityratty.com/tag/privately">privately</category>
      <category domain="http://securityratty.com/tag/summit">summit</category>
      <category domain="http://securityratty.com/tag/music">music</category>
      <source url="http://www.thecepblog.com/2008/09/02/tomoko-in-bangkok-with-emerson-lake-palmer/">Tomoko in Bangkok with Emerson Lake &amp; Palmer</source>
    </item>
    <item>
      <title><![CDATA[Security ROI]]></title>
      <link>http://securityratty.com/article/22a56a0fbf977e9d5e4cffb543ff0d74</link>
      <guid>http://securityratty.com/article/22a56a0fbf977e9d5e4cffb543ff0d74</guid>
      <description><![CDATA[Return on investment, or ROI, is a big deal in business. Any business venture needs to demonstrate a positive return on investment, and a good one at that, in order to be viable
It's become a big deal...]]></description>
      <content:encoded><![CDATA[<p>Return on investment, or ROI, is a big deal in business. Any business venture needs to demonstrate a positive return on investment, and a good one at that, in order to be viable.</p>

<p>It's become a <a href="http://www.csoonline.com/article/print/217727">big</a> <a href="http://www.computerworld.com/securitytopics/security/story/0,10801,83207,00.html?nas=ROI-83207">deal</a> in IT security, too. Many corporate customers are demanding ROI models to demonstrate that a particular security investment pays off. And in response, vendors are providing ROI models that demonstrate how their particular security solution provides the best return on investment.</p>

<p>It's a <a href="http://communities.intel.com/openport/blogs/it/2008/08/25/are-security-roi-figures-meaningless">good</a> <a href="http://communities.intel.com/openport/blogs/it/2007/08/14/the-problem-of-measuring-information-security">idea</a> in <a href="https://buildsecurityin.us-cert.gov/daisy/bsi/articles/knowledge/business/677-BSI.html">theory</a>, <a href="http://taosecurity.blogspot.com/2007/07/are-questions-sound.html">but</a> <a href="http://www.bloginfosec.com/2007/07/13/bejtlich-and-business-will-it-blend/">it's</a> <a href="http://blog.vorant.com/2007/07/my-input-to-roi-spat.html">mostly</a> <a href="http://taosecurity.blogspot.com/2007/07/no-roi-no-problem.html">bunk</a> <a href="http://chuvakin.blogspot.com/2007/07/security-roi-pile-up.html">in</a> <a href="http://taosecurity.blogspot.com/2007/07/security-roi-revisited.html">practice</a>.</p>

<p>Before I get into the details, there's one point I have to make. "ROI" as used in a security context is inaccurate. Security is not an investment that provides a return, like a new factory or a financial instrument. It's an expense that, hopefully, pays for itself in cost savings. Security is about loss prevention, not about earnings. The term just doesn't make sense in this context.</p>

<p>But as anyone who has lived through a company's vicious end-of-year budget-slashing exercises knows, when you're trying to make your numbers, cutting costs is the same as increasing revenues. So while security can't produce ROI, loss prevention most certainly affects a company's bottom line.</p>

<p>And a company should implement only security countermeasures that affect its bottom line positively. It shouldn't spend more on a security problem than the problem is worth. Conversely, it shouldn't ignore problems that are costing it money when there are cheaper mitigation alternatives. A smart company needs to approach security as it would any other business decision: costs versus benefits.</p>

<p>The classic methodology is called annualized loss expectancy (ALE), and it's straightforward. Calculate the cost of a security incident in both tangibles like time and money, and intangibles like reputation and competitive advantage. Multiply that by the chance the incident will occur in a year. That tells you how much you should spend to mitigate the risk. So, for example, if your store has a 10 percent chance of getting robbed and the cost of being robbed is $10,000, then you should spend $1,000 a year on security. Spend more than that, and you're wasting money. Spend less than that, and you're also wasting money.</p>

<p>Of course, that $1,000 has to reduce the chance of being robbed to zero in order to be cost-effective. If a security measure cuts the chance of robbery by 40 percent -- to 6 percent a year -- then you should spend no more than $400 on it. If another security measure reduces it by 80 percent, it's worth $800. And if two security measures both reduce the chance of being robbed by 50 percent and one costs $300 and the other $700, the first one is worth it and the second isn't.</p>

<p>The Data Imperative</p>

<p>The key to making this work is good data; the term of art is "actuarial tail." If you're doing an ALE analysis of a security camera at a convenience store, you need to know the crime rate in the store's neighborhood and maybe have some idea of how much cameras improve the odds of convincing criminals to rob another store instead. You need to know how much a robbery costs: in merchandise, in time and annoyance, in lost sales due to spooked patrons, in employee morale. You need to know how much not having the cameras costs in terms of employee morale; maybe you're having trouble hiring salespeople to work the night shift. With all that data, you can figure out if the cost of the camera is cheaper than the loss of revenue if you close the store at night -- assuming that the closed store won't get robbed as well. And then you can decide whether to install one.</p>

<p>Cybersecurity is considerably harder, because there just isn't enough good data. There aren't good crime rates for cyberspace, and we have a lot less data about how individual security countermeasures -- or specific configurations of countermeasures -- mitigate those risks. We don't even have data on incident costs.</p>

<p>One problem is that the threat moves too quickly. The characteristics of the things we're trying to prevent change so quickly that we can't accumulate data fast enough. By the time we get some data, there's a new threat model for which we don't have enough data. So we can't create ALE models.</p>

<p>But there's another problem, and it's that the math quickly falls apart when it comes to rare and expensive events. Imagine you calculate the cost -- reputational costs, loss of customers, etc. -- of having your company's name in the newspaper after an embarrassing cybersecurity event to be $20 million. Also assume that the odds are 1 in 10,000 of that happening in any one year. ALE says you should spend no more than $2,000 mitigating that risk.</p>

<p>So far, so good. But maybe your CFO thinks an incident would cost only $10 million. You can't argue, since we're just estimating. But he just cut your security budget in half. A vendor trying to sell you a product finds a Web analysis claiming that the odds of this happening are actually 1 in 1,000. Accept this new number, and suddenly a product costing 10 times as much is still a good investment.</p>

<p>It gets worse when you deal with even more rare and expensive events. Imagine you're in charge of terrorism mitigation at a chlorine plant. What's the cost to your company, in money and reputation, of a large and very deadly explosion? $100 million? $1 billion? $10 billion? And the odds: 1 in a hundred thousand, 1 in a million, 1 in 10 million? Depending on how you answer those two questions -- and any answer is really just a guess -- you can justify spending anywhere from $10 to $100,000 annually to mitigate that risk.</p>

<p>Or take another example: airport security. Assume that all the new airport security measures increase the waiting time at airports by -- and I'm making this up -- 30 minutes per passenger. There were 760 million passenger boardings in the United States in 2007. This means that the extra waiting time at airports has cost us a collective 43,000 years of extra waiting time. Assume a 70-year life expectancy, and the increased waiting time has "killed" 620 people per year -- 930 if you calculate the numbers based on 16 hours of awake time per day. So the question is: If we did away with increased airport security, would the result be more people dead from terrorism or fewer?</p>

<p>Caveat Emptor</p>

<p>This kind of thing is why most ROI models you get from security vendors are <a href="http://www.postini.com/services/roi_calculator.html">nonsense</a>. Of course their model demonstrates that their product or service makes financial sense: They've jiggered the numbers so that they do.</p>

<p>This doesn't mean that ALE is useless, but it does mean you should 1) mistrust any analyses that come from people with an agenda and 2) use any results as a general guideline only. So when you get an ROI model from your vendor, take its framework and plug in your own numbers. Don't even show the vendor your improvements; it won't consider any changes that make its product or service less cost-effective to be an "improvement." And use those results as a general guide, along with risk management and compliance analyses, when you're deciding what security products and services to buy.</p>

<p>This essay <a href="http://www.csoonline.com/article/446866/Security_ROI_Fact_or_Fiction_">previously appeared</a> in <i>CSO Magazine</i>.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=Ql60WL"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=Ql60WL" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/schneier/fulltext?a=npHViL"><img src="http://feeds.feedburner.com/~f/schneier/fulltext?i=npHViL" border="0"></img></a>
</div>]]></content:encoded>
      <pubDate>Tue, 02 Sep 2008 02:05:53 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security countermeasures">security countermeasures</category>
      <category domain="http://securityratty.com/tag/countermeasures">countermeasures</category>
      <category domain="http://securityratty.com/tag/incident">incident</category>
      <category domain="http://securityratty.com/tag/security incident">security incident</category>
      <category domain="http://securityratty.com/tag/individual security countermeasures">individual security countermeasures</category>
      <category domain="http://securityratty.com/tag/security measure cuts">security measure cuts</category>
      <category domain="http://securityratty.com/tag/security measure reduces">security measure reduces</category>
      <category domain="http://securityratty.com/tag/security vendors">security vendors</category>
      <source url="http://www.schneier.com/blog/archives/2008/09/security_roi_1.html">Security ROI</source>
    </item>
    <item>
      <title><![CDATA[Novell unites identity management, security-event management]]></title>
      <link>http://securityratty.com/article/93b5c7620b0d4630171f0290cadb637a</link>
      <guid>http://securityratty.com/article/93b5c7620b0d4630171f0290cadb637a</guid>
      <description><![CDATA[Novell Tuesday is launching its Compliance Management Platform, a combination of existing identity management and security-event management products with additional reporting and analysis...]]></description>
      <content:encoded><![CDATA[Novell Tuesday is launching its Compliance Management Platform, a combination of existing identity management and security-event management products with additional reporting and analysis tools.<p><A href="http://ad.doubleclick.net/jump/idg.us.nwf.rss/security;sz=468x60;ord=84776?">
<IMG src="http://ad.doubleclick.net/ad/idg.us.nwf.rss/security;sz=468x60;ord=84776?" border="0" width="468" height="60"></A>
</p>]]></content:encoded>
      <pubDate>Mon, 01 Sep 2008 20:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/identity management">identity management</category>
      <category domain="http://securityratty.com/tag/security-event management products">security-event management products</category>
      <category domain="http://securityratty.com/tag/compliance management platform">compliance management platform</category>
      <category domain="http://securityratty.com/tag/novell tuesday">novell tuesday</category>
      <category domain="http://securityratty.com/tag/analysis tools">analysis tools</category>
      <category domain="http://securityratty.com/tag/combination">combination</category>
      <category domain="http://securityratty.com/tag/additional">additional</category>
      <source url="http://www.networkworld.com/news/2008/090208-novell-compliance-management-platform.html?fsrc=rss-security">Novell unites identity management, security-event management</source>
    </item>
  </channel>
</rss>
