<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Digital Anatomy - Medium]]></title>
        <description><![CDATA[All the aspects of business are an IoT stream, and we are only data… - Medium]]></description>
        <link>https://medium.com/digital-anatomy?source=rss----b3329d68ce4---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Digital Anatomy - Medium</title>
            <link>https://medium.com/digital-anatomy?source=rss----b3329d68ce4---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:56:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/digital-anatomy" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Flow and OODA: How Shared Events Will Accelerate Economic Automation]]></title>
            <link>https://medium.com/digital-anatomy/flow-and-ooda-how-shared-events-will-accelerate-economic-automation-3c575b7af3d9?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/3c575b7af3d9</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[knative]]></category>
            <category><![CDATA[flow-architectures]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Tue, 11 Dec 2018 23:17:08 GMT</pubDate>
            <atom:updated>2018-12-11T23:18:05.407Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VS1_k_ExVPVzDEVWzF8Mmg.png" /></figure><p>John Boyd’s famous outline of a rapid, iterative, and responsive decision making framework, the OODA loop, is famous in technology circles. Boyd’s concept has been used to define product management strategies, Agile development processes, and complex systems operations practices. And, I will argue here, it is the reason that Flow architectures will own the dominant mindshare of architecture practices in the next five to ten years.</p><h4>OODA and Software — A Refresher</h4><p>The basic concept behind OODA is simple. Every action starts with an observation (“Observe”), which is then tempered with genetic, cultural, experiential and other contexts (“Orient”). Once that context is applied, a decision can be made (“Decide”) and an action taken (“Act”). But equally important to the process steps themselves is the iterative feedback nature of the relationships between those steps. Most importantly, orientation, decisions, and actions are all themselves “observed” and — along with unfolding circumstances and other outside information — can influence the next decision cycle (or even change the current cycle). Boyd’s original diagram of this process is at the top of this post.</p><p>The idea that agility can defeat strength is also something Boyd used OODA to illustrate. According to <a href="https://en.wikipedia.org/wiki/OODA_loop">Wikipedia</a>, the argument goes like this:</p><blockquote>According to Boyd, <a href="https://en.wikipedia.org/wiki/Decision-making">decision-making</a> occurs in a recurring cycle of observe–orient–decide–act. An entity (whether an individual or an organization) that can process this cycle quickly, observing and reacting to unfolding events more rapidly than an opponent can thereby “get inside” the opponent’s decision cycle and gain the advantage.</blockquote><p>This is the core argument behind why rapid iteration on small batches of work will out perform large, infrequent deliverables in software development. By constantly delivering software, and observing the user outcomes, business success, and customer feedback of that software, agile teams are able to “get in the decision cycle” of slower moving competitors and customers alike, and gain an advantage in following cycles.</p><h4>OODA and Business</h4><p>The speed at which businesses can “observe, orient, decide, and act” is critical to long term success, as has been demonstrated often in the last several decades. IBM went from a potential technology monopoly to one of many in a sea of enterprise IT players thanks to disruptions from startups and online businesses. (The same is true for Microsoft, although in their case they have reestablished themselves as a major player in the new technology landscape.) High frequency trading (HFT) accounts for up to 40% of US equity trading, and profits largely by out observing, orienting, deciding, and acting other trading systems. (In fact the success of any given HFT system often depends on its ability to run through the OODA loop faster than all other HFT system.)</p><p>And this gets to the heart of why the demand for Flow is, in part, supported by the OODA loop concept. Just as HFT creates financial benefits simply by being able to react faster to trading opportunities than its rivals, there are a number of business elements where the combination of speed and intelligent decision making is of the essence. In hospitals, sensors trigger responses from support systems, such as medication dispensers, to save lives. In news media, stories are discovered and details are delivered to the consumer in order to inform and provide insight. In insurance, details about driving behavior can fine tune actuarial tables in order to optimize cost to the consumer without sacrificing profit.</p><p>New industries are popping up that will require even more real-time understanding of both physical and business events. Self-driving vehicles, for instance, may need to know about police actions in real-time to avoid certain streets. Cloud providers could use a heads up when major online retail campaigns show unexpected success. The space industry is increasingly concerned with changes to the expected trajectories of the junk we leave in space.</p><h4>An OODA Loop For Flow</h4><p>One way to take a look at why Flow will accelerate the pace of business decision making is to put events and a few other technical components that will drive Flow into the OODA loop model, as I have below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*VtzyGMj8zGcOYSPIC-UmnQ.jpeg" /></figure><p>In this model, observation is triggered by an event — which could come from a human, a sensor, other software, or any other event source that be represented digitally. Orientation is handled by bringing in other sources of context: human insight (through a UI of some type), historical data, queues of previous events, tenets (including laws and regulations), and so on. Decisions are then triggered by some sort of model: a machine learning model, a rules engine, or maybe a function. Decisions can also be made by humans, of course, but that would generally slow down the loop. Finally, action will be taken by publishing a new event or calling a function.</p><p>Most of the same feedback loops apply, as far as I can tell. Please let me know if you see any reason to think otherwise.</p><p>What would speed this loop up even further for business? I believe the answer is an ecosystem of event sources, published via standard mechanisms, with easily interpreted payloads, shared (for free or under some payment model) for all to consume. Every business finding the value in the events they generate, and building new business on events published by others. Literally, simplifying and accelerating the automation of the flow of money and information across the business landscape.</p><h4>Accelerating Economic Automation</h4><p>I’ve always said that the reason business software exists is to, in fact, automate our economy. One of the great things I think will happen as businesses take advantage of these events is that a network effect will happen; more businesses using events will create demand more events, which will attract more businesses to both create and consume events, which will drive more demand, and so on. Now, if you stop and think about it, the events that will be in demand are those that represent flow of information (including, but not limited to, financial transactions) across business. By subscribing to — and automating response to — events, businesses will be further automating our economy.</p><h4>The Mechanism May Be Close</h4><p>Since joining Pivotal, I’ve been spending quite a bit of time getting to know the work being done on <a href="https://cloud.google.com/knative/">Knative</a>, the Kubernetes-based “serverless” workload platform. An event-based mechanism for executing functions in a container environment, Knative is defining some interfaces publishing and subscribing to events. These mechanisms hold great promise to form the foundation of Flow eventing. I would be interested to see if the community or a member of its ecosystem figures out a way to allow people to charge for certain events.</p><p>The answer may come from elsewhere, but I like the odds here.</p><p>Some sort of discoverable event format seems like it would also be necessary to me, but I think there are others who have more expertise in this area. I’ll be watching closely for how an event consumer can interpret arbitrary events published for general use by a diverse set of providers. When we have that combination: a pub-sub mechanism we can all use, and a way of understanding the events that we may receive, I think the floodgates will open as fast as the industry can adopt the necessary technologies.</p><p>Of course, there’s no way I have this entirely right. As always, I write to learn, so if you have insights to share, or questions you’d like to ask, do so in the comments below, or find me on Twitter where I am <a href="http://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c575b7af3d9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/flow-and-ooda-how-shared-events-will-accelerate-economic-automation-3c575b7af3d9">Flow and OODA: How Shared Events Will Accelerate Economic Automation</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why is Flow Important?]]></title>
            <link>https://medium.com/digital-anatomy/why-is-flow-important-909f2d9fc9bf?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/909f2d9fc9bf</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[flow]]></category>
            <category><![CDATA[flow-architectures]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Mon, 26 Nov 2018 22:14:12 GMT</pubDate>
            <atom:updated>2018-11-26T22:14:12.127Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PItliOjEiPw_4vkCIbYkOQ.jpeg" /></figure><p>I was honored to present about Flow Architectures to the O’Reilly Radar conference in San Francisco recently. If possible, I will post the video when it is available, but I’ve put the slides <a href="https://www.slideshare.net/jurquhart/jurquhart-o-reillyradarpreso3">here</a>. The topic of the presentation was really about what Flow is, and what problems it creates for us to solve (based on my <a href="https://medium.com/digital-anatomy/five-facets-of-flow-strategy-96a737243ee5">Five Facets of Flow Strategy</a> post). It was the first time that I ever presented specifically on Flow, and as such I learned a lot about what works and what doesn’t.</p><p>While I got some good feedback about the Flow Architecture itself (which I will discuss in a separate post), the most important piece of feedback I got was that the presentation failed to make clear why Flow Architectures are important. This was very valid feedback, so I thought I’d take a post to talk through why Flow will impact the way we do things so much.</p><h3>How Flow differs from past architectures</h3><h4>#1: From “stacks” to “graphs”</h4><p>I wrote an <a href="https://medium.com/digital-anatomy/the-basic-architecture-of-data-flow-5ff3f706adce">earlier post</a> that talked through the basic patterns of Flow Architectures (which, again, needs an update based on feedback — mostly that queues are not a necessary component for reasons that should be clear later in this post), in which I began with:</p><blockquote>“As I look forward to the coming evolution of application architectures from client-server’s “stack” approach to a data flow centric model, I think it is important to have a ‘point on the horizon’ to shoot for.”</blockquote><blockquote>So, the first big difference I think there is between traditional distributed architectures and Flow is a movement from a “stack” type model (like MVC or multi-tier architectures) to more of a graph model, in which mobile apps, web apps, services, data sources, event sources, and most other deployable components act more like nodes in a graph.</blockquote><p>It will have some semblance to what software engineers mean when they say “peer-to-peer”, but with some of those peers being large scale data sources and services, large-scale messaging queues and pipes, and some massive infrastructures-as-software elements, all running in data centers (and mostly in public clouds).</p><p>The graph won’t be “planned” or “designed”, but evolve organically as different interests add or remove software or links between software components. This is also different than architectures that grew out of the client-server tradition, where change management was attempted through increasingly large, complex “applications” which were treated as a single deployable. As of now, we are seeing the challenges of both managing change within such an application itself, as well as the integrations with other applications and supporting systems. Thinking in terms of a tightly controlled stack that handles dozens or hundreds of features limits your scale.</p><p>Flow enables smaller deployables, a greater breakdown of functionality among deployables, and greater flexibility in how integration takes place between those deployables. Now, to be clear, I think there is still a pattern within that graph of “front ends” that are mostly dependent on other services, a class of services that handles calculations needed for both data analysis and event routing, and a class of data services that are dependent on very little except data stores themselves. But, that said, the rules for how these services are created and linked together will evolve greatly over the coming decade, and that prediction may turn out to be pretty naive.</p><h4>#2: From “historical” to “real time”</h4><blockquote>Perhaps the biggest impact felt from flow will be the ways it will enable greater real-time processing of data streams (for some value of “real-time”). This, in turn, will accelerate the use of data in decision making and automation across business, government, consumer, and technology markets. The result will be entirely new business opportunities that we likely can’t even dream of today, as well as new challenges to many of the checks and balances we depend on in human society.</blockquote><p>A grand statement, I know, but this is why the impact of Flow will likely be greater than even that of cloud computing. To demonstrate why I believe this is so, let me use an example from my days at SOASTA, the performance management and Real User Measurement (RUM) vendor that was acquired by Akamai in April of 2017.</p><p>SOASTA put a lot of effort into enabling close-to-real-time (sub 10s delay) analysis of the massive amount of performance data it collected from browsers all over the world. But it succeeded in finding ways to correlate browser performance (such as various page load timings) with business metrics such as conversion or revenue velocity. They also had the genius idea to put together a display product that would allow that data (and related visualizations such as globes with real-time page experience data and constantly updating charts) to be displayed in one place.</p><p>Early versions of those displays were installed in a couple of friendly customers, in what amounted to a “POC” (performance operations center). But, because the business data was being put into context in real time, within 48 hours at both customers, an executive in charge of web marketing approached the team asking if they could station employees at desks within view of the display. In other words, user experience data bridged the gap between business imperatives and technical imperatives. It was amazing to see.</p><p>Real time processing of data is important for more than human interpretation, of course. The financial industry has for years been tinkering with using real-time stock data (in this case at a millisecond delay scale) to enable automated arbitrage of trades — aka high speed trading. Being able to automatically take action as certain patterns of data emerge in a data stream has already revolutionized a key part of our world, and the idea is spreading quickly to healthcare, supply chain management, and even government. It doesn’t outright replace data lakes and “big data” analysis, but it does subsume many of those use cases.</p><h4>#3: From “disparate” to “holistic”</h4><p>As we evolved distributed systems from the very early days of client-server to the API-centric multi-tier built-for-scale applications of the early part of the previous decade (more hyphens means more capability?) we continued to largely assume we can operate each individual deployed application as a stand-alone entity. We set up monitoring for that application, we create operations rules for that application, we plan updates to infrastructure around that application, etc.</p><p>Cloud, however, forced a shift in thinking, as we — by design — assigned responsibility for the infrastructure to an entirely different company without any explicit coordination with our own application timelines. Furthermore, we found that it was easier to scale if we deployed different components of a complex application individually, making monitoring and management an effort across different teams, technologies, and even companies.</p><blockquote>Events available from cloud provider infrastructure are going to push this dynamic even further. Instead of identifying operations tools and practices for each individually owned deployable, the default is going to be to integrate that component into a mesh of tools and signals that span not only your company’s assets, but the Internet itself.</blockquote><p>The availability of these signals (and supporting tools) will change the way we think about software management. By default, development and operations will increasingly be ongoing learning organizations that continuously observe, orient, decide, and act on context provided by hundreds, if not thousands, of relevant signals. Sound insane? It would be if it was just humans doing the OODA actions. But events are going to allow a new generation of systems entrepreneurs to build solutions that are complex systems aware, intelligent, and simplify the practice immensely. Again, refer to the Five Facets of Flow post for more of my thoughts here.</p><p>(Realtime, by the way, is one of the reasons why queues may not always be required in a Flow architecture…if latency is of the utmost importance, you may use a different mechanism to deliver events, including direct calls to APIs elsewhere. There are people much smarter than me writing about this topic, however.)</p><h3>The Value of Flow</h3><p>Understanding these elements of change now allows me to to directly address the value that events at scale will provide the technology community.</p><blockquote>At its heart, the value generated here will be best defined as “speed to value”. The next decade will be spent exposing elements of our economy as events and APIs that enable applications and services to respond–in realtime–to what is happening in other applications and services.</blockquote><p>As new data is made available as event streams, and subscription to those streams is made easier, more standard, and more secure, a myriad of new automation opportunities is made possible. The more mundane uses for this include providing live transaction data to partners and regulators, or replacing existing batch reporting with real-time analytics. More interesting ideas include producers of valuable data (such as retail transaction data) selling that data to interested consumers such as vendors, industry analysts, or yet-to-be-created startups.</p><p>The key here is that it will become not only orders of magnitude simpler to connect data to where it will be needed most, but that the existence of these data streams will force those relying on that data to respond faster, or risk being severely disrupted. For example, if you are an insurance company relying on traditional news sources for data about severe disasters, you might want to be among the first to subscribe if regional first responders post data in real-time in a secure, easily processed stream.</p><p>I hope this post goes a long way to giving you a mental model for why Flow will be valuable to developers and organizations in the future. Obviously, there is much that needs to evolve from where we are today to create a clearer picture. On the other hand, there is much that complexity science, pioneering examples of Flow, and other sources can tell us about how Flow is emerging today. This is what I hope to write more about in the near future.</p><p>As always, I write to learn, so please provide your comments, disagreements, corrections, or other insight in the comments below, or on Twitter, where I am <a href="https://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=909f2d9fc9bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/why-is-flow-important-909f2d9fc9bf">Why is Flow Important?</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Five Facets of Flow Strategy]]></title>
            <link>https://medium.com/digital-anatomy/five-facets-of-flow-strategy-96a737243ee5?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/96a737243ee5</guid>
            <category><![CDATA[flow]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Tue, 04 Sep 2018 03:06:40 GMT</pubDate>
            <atom:updated>2018-09-01T00:48:05.872Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*68o_eMwIcMsadYhMWI-5Aw.jpeg" /></figure><p>So, after a long hiatus while I did a cool project at AWS, I’m now back to continue my thoughts on flow architectures (defined as event-driven, asynchronous, highly adaptable and extendible, and (shiver) “serverless”). In the last year, I’ve had my eyes opened to some of the long term problems and opportunities with which we will be faced as these approaches become mainstream. While I continue to believe that flow architectures will be mainstream in the coming decade, I also realize there are significant hurdles to be overcome.</p><p>Generally, these hurdles can be classified in one or more of five categories (that I’ve identified so far): scale, agility, quality, optimization, and security. What I thought I’d do in my first post back is describe these categories for you, and provide some examples.</p><h4>Scale</h4><p>When most people read “scale” they immediately think of the amount of computing, storage, and so on required by a single service, application, or type of infrastructure. This is where “horizontal” and “vertical” scale is the common lexicon for ways you might scale. For example, as little as a decade ago, relational databases generally handled additional query traffic by being moved to a larger server (vertical scaling), while nowadays, most computing services — including relational databases — have some way of scaling by adding additional servers (horizontal scaling). Both are valid approaches to scaling components to meet increased demand.</p><p>However, while I include those types of scaling in this category, I am just as interested in how we manage the growing number of services, functions, applications, queues, and other infrastructure that are interconnected in flow architectures. Much like HTTP links created a web of interconnected content that spans the entire globe — and Internet — event passing across organizational boundaries in a flow application promises to create a giant, interconnected graph of system dependencies that will create systems behavior that we cannot anticipate. How do we scale our operations practices to handle this problem as it emerges?</p><h4>Agility</h4><p>While serverless technology providers are quick to tout the agility that function-level deployments, publish/subscribe queues, and asynchronous processing provides, there is little discussion about systemic agility — i.e. how these technologies enable the market to adapt software to economic opportunities and realities much faster (especially when combined with compute service utilities [aka cloud] and highly iterative software lifecycles [such as Agile and DevOps practices]). To me, identifying ways to quickly modify or reconfigure software to address economic opportunity, including lower costs or new revenue streams, is one of the great opportunities that will come from flow architectures.</p><p>Certainly there are existing demonstrations of this, such as continuously updating machine learning models, high speed trading algorithms, and the ability to rapidly update software on most edge devices. But I expect there will be other examples that will emerge in the next few years, such as “open” services that allow customers to modify the way the service works for them (similar to open source software, but in a cloud service), new learning models that continuously adapt to the learner’s interests and needs, and low cost financial management services that just about anyone can use. (In fact, for the latter example, see robo-advisor services, such as <a href="https://intelligent.schwab.com/">Schwab’s Intelligent Portfolios</a>.)</p><h4>Quality</h4><p>While being able to move quickly while serving a large online audience is great — in fact a game changer for business — it’s useless if things don’t operate predictably in a timely fashion. The problems of availability, performance, and accuracy are all increasingly going to become problems subject to the “rules” of complex systems. You won’t be able to architect your way out of the hassles you will encounter…you are going to have to build systems for resilience, accountability, and adaptability.</p><p>There is so much to say about this subject, but let me start with two interesting observations. The first is one I learned from <a href="https://twitter.com/allspaw">John Allspaw</a>, who is one of the incredibly smart people in the DevOps movement. What John observed early, and what I firmly believe is one of the key lessons all IT and software organizations will have to take into the future, is that distributed systems at scale require practices that closely resemble safety practices in places like hospitals, airports, and construction projects. There is a whole science built around treating safety problems as complex systems problems (see <a href="http://sidneydekker.com/">Sidney Decker’s work</a>, for instance), and some of the lessons learned there are counter intuitive.</p><p>The second observation is something that I’ve been preaching for a long time, but I am now seeing products and services explicitly address. In order to manage a complex system, you must be able to visualize the system, but you can only make changes through agents. We monitor at the agent (component) level well enough, but we have traditionally lacked tools for monitoring the system as a whole. (Solutions to this typically looked like Network Operations Centers or the like.) Enter the concept of “observability” and “big data” tools that work to gather as much data as possible from the system as a whole, and then find the patterns, anomalous behaviors, and feedback loops that require conscious tending by people (or automated tools).</p><p>There are other concepts, like “design for refactoring”, statistical quality controls, etc, that come into play with flow systems. Clearly, we have a tremendous amount to learn as we move into making this architecture mainstream.</p><h4>Optimization</h4><p>One of my first jobs in a product company was in the late 1990s as a field consultant for <a href="https://en.wikipedia.org/wiki/Fort%C3%A9_Software">Forté Software</a>, a 4GL distributed systems development and operations toolset. Back then, networks were excruciatingly slow, and the cost of a network hop was something that was carefully managed. The rule at Forte was a) to reduce the number of network messages as much as possible, and b) to reduce the size of each message as much as possible. Most distributed systems developers would tell you that the same rules hold true today, though today’s networks allow to you increase both the number of required messages and what “minimal size” means for each message.</p><p>By working in terms of functions, queues, and microservices, flow architectures will greatly increase the number of software dependencies requiring interaction. The big question facing developers in this space is how to decide when two components should be deployed in the same process, on separate processes on the same device, or on separate systems requiring interaction over a network. Two things complicate this decision.</p><p>First, many of the serverless tools assume network traffic between individual components. You have limited ways to choose one of the two other options. You can cram common functions into a shared library, for instance. Or, you could abandon those tools, and explicitly build the components in a more traditional architecture (such as a Java service with an API running in a container or VM).</p><p>The second complication, however, may mean that the way you approach deployment today will be invalidated tomorrow. As our shared event-driven systems increasingly become a very large complex adaptive system, we will have unexpected dependencies on parties we know little or nothing about. The system will be constantly changing, and dependencies between components will strengthen and/or weaken over time, whether we want them to or not. How we handle refactoring our systems to adapt to dependency changes will be an interesting challenge in years to come. We are already seeing this in shops that focus on serverless development, as several have indicated to me that it is not uncommon to refactor a service from a number of Lambda functions to a Java service running in a container.</p><h4>Security</h4><p>One other huge challenge as we face a growing number of interconnected components will be the ways in which we maintain control over information, and manage the security of our dependencies. How do we authenticate and authorize external components using our functions and queues? How do we secure event traffic running across multiple cloud and infrastructure providers without unnecessarily restricting usage of those events? How do we discover new attack profiles introduced by complex systems dynamics?</p><p>The market for security tools and practices has been in the spotlight for a few years now, but I think the science of security is going to evolve rapidly in the world of complex software systems, such as flow architectures. Not that we ever necessarily could, but we certainly can’t secure systems “top down” or “outside in” with events. This is going to take a systems approach to security that may include new forms of observability, analysis, and responsive agents. There is no silver bullet here. It’s a huge problem…and a huge opportunity.</p><h4>We have time on our side</h4><p>The good news here is that I doubt flow architectures will dominate the landscape for a number of years. The market, quite frankly, for tools that handle serverless at great scale is still fairly small, as far as I can tell. So we have time. But serverless adoption, and the introduction and adoption of other flow approaches, will happen rapidly thanks to the agility, economies of scale, and interconnectedness it offers.</p><p>As we build event-driven, asynchronous systems, we should pay attention to these five facets of flow architectures that need solutions. Somewhere out there are a number of entrepreneurs, pioneering engineers, and even (un)lucky engineers that will discover solutions we can’t possibly anticipate today. My hope is that anticipating needs will lead to faster identification of quality solutions.</p><p>Agree? Disagree? I write to learn, so please provide feedback in the comments below, or on Twitter, where I am <a href="https://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96a737243ee5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/five-facets-of-flow-strategy-96a737243ee5">Five Facets of Flow Strategy</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gameplay for Data Flow]]></title>
            <link>https://medium.com/digital-anatomy/gameplay-for-data-flow-518f72892629?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/518f72892629</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Fri, 24 Mar 2017 18:59:56 GMT</pubDate>
            <atom:updated>2017-03-24T18:59:55.878Z</atom:updated>
            <content:encoded><![CDATA[<p>Once we’ve done the work to <a href="https://medium.com/digital-anatomy/the-data-flow-value-chain-45b0dd3083e8#.okm2k0lto">understand our value chain</a>, <a href="https://medium.com/digital-anatomy/a-simple-wardley-map-of-data-flow-8285676a1eeb#.4hhn9kijg">map it to evolution</a>, and evaluate how <a href="https://medium.com/digital-anatomy/adding-context-to-the-wardley-map-of-data-flow-c818dc2960d6#.ucich9s0h">context</a> and <a href="https://medium.com/digital-anatomy/applying-doctrine-to-data-flow-5733822d9270#.h7m6y5871">doctrine</a> bring clarity, it is time to decide what actions we should take (if any). The great thing about having a map is that, in additions to patterns of doctrine and context, there are known patterns of gameplay that we can evaluate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W4-0s4G5WXCz40Stz_y0XA.png" /></figure><p>In one of his <a href="https://medium.com/wardleymaps/the-play-and-a-decision-to-act-8eb796b1dff1#.obd9aaxs3">longer chapters</a>, Simon outlines where to go from a basic map, so let’s apply that approach to our map below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nEnEM9bhH96zZnOGgVz0Jg.jpeg" /></figure><p>I’ve added some arrows to the areas where movement is likely, in part to show <em>where</em> we can attack, and in part to demonstrate the relative value to bring clarity to <em>why</em> we would choose one option over the other.</p><p>Before we step through each option, however, let’s review a little about what types of gameplay can be found in business competition. Again, Simon gives us some guidance in <a href="https://medium.com/wardleymaps/the-play-and-a-decision-to-act-8eb796b1dff1#.obd9aaxs3">his post</a>, and provides the following invaluable table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yoeTJ4g88Xxn1_9WbJiSGw.png" /></figure><p>(The colors were added by Simon, and can be ignored here. I will replace this with a non-highlighted version if I can get one from Simon.)</p><p>All Simon is doing in this table is categorizing various forms of context-specific gameplay. Some forms of gameplay are around how one goes to market, for instance, or how one jettisons assets that will drag down a logical strategy. Others are about attacking the competition head on, occasionally in ways that might stretch one’s sense of ethics.</p><p>The point is not that all of these options <em>should</em> be pursued, but that these are all options that <em>might</em> be pursued in any given context. Which options to evaluate, and which specific tactical forms they may take, are completely up to those responsible for action.</p><p>So, let’s step through each of the four I highlighted above, and discuss some of the gameplay options available.</p><h4>Streaming Protocols</h4><p>Right now, the world of data protocols is in a very bubbly state. While the formats used to establish protocols are widely accepted at this point (e.g. REST, JSON, YAML, etc), the actual context-specific protocols are still largely custom developed on a case-by-case basis.</p><p>There are exceptions, of course. EDI document formats, for example. Or MQTT (and, unfortunately, a host of other data formats) for IoT applications. Even HTTP for communications. However, for any specific need, developers are still finding themselves building custom protocol elements, even when using these “standards”.</p><p>This opens the door for individuals and organizations (non-profit or otherwise) to begin building, promoting, and curating protocols for both general and context specific applications. Common data sets, such as browser performance data or credit card transaction data, will likely see standard protocols for capturing, formatting, communicating and acknowledging their relevant data.</p><p>Some relevant game play scenarios:</p><ol><li>Buyer/Supplier Power — A company with a significant enough domination of their market may be able to pressure their dependents to adopt or even pay for a specific protocol. The question here, however, is the extent to which that play would be vulnerable to someone using open technology as a counter measure.</li><li>Open approaches — A smaller player, or a group of smaller players, can relatively easily overwhelm a single large player by banding together and identifying common open standards to use between them. The key to being open here is not so much the marketing value to those that adopt the standard, but the opportunity for an ecosystem to grow around the standard that greatly outpaces any created for the large player alone. In other words, by accelerating the evolution of the open standard to meet the needs of several consumers, that standard can more quickly find market alignment than a protocol wholly owned by a single player.</li></ol><p>Of course, this balance of open to proprietary applies to other “standardization” opportunities on our map, such as real time data and functions.</p><h4>Real Time Data</h4><p>One of the most exciting opportunities presented by new data flow architectures is creating standard sources and formats for real time data that has little differentiated value in and of itself. By decoupling the data from the applications that consume that data, data capture and transfer mechanisms can be defined, scaled and evolved as needed without breaking those applications (provided interfaces and formats are well managed and consistent).</p><p>A great example of this is browser performance data. Imagine if all standard browser interaction data were sent to a common capture mechanism where anyone who wanted to could subscribe to all or some of the data as it was received. Since the data format doesn’t belong to the consumers of the data, and the capture mechanism will likely be a standard set of mechanisms (e.g. log-based queues and “IoT-like” gateways), there is no unique value in how this data is captured and distributed. The real value comes from what people do with it once it is captured.</p><p>So, what other data sets are there that could be made less expensive and more valuable at the same time through economies of scale? Traffic data? Health data (at least at the aggregate level)? Government actions (e.g. a “Federal Register as Data Flow”)?</p><p>Here are some plays one might use to accelerate this trend, and perhaps take advantage of it directly:</p><ol><li>Market enablement — An existing player in a given data space could easily jumpstart this by creating a foundation or other legal mechanism where they could donate their data capture mechanisms and open them to others (perhaps for a small fee to cover expenses, or by funding via “sponsor” memberships). This would give them the advantage of having the most mature use of the data flow (and perhaps valuable processing, analytics and visualizations) while creating an ecosystem that can point the way to other possible uses.<br>Successful uses can then be harvested as needed to extend and expand the donor’s products into new markets and revenue streams.</li><li>Coopting and intercession — Successful data streams in areas like EDI, financial trading, and even news reporting already have a number of companies providing capabilities that add value to those streams. Supporting an existing stream and its ecosystem might just make that ecosystem yours, as well. That, in turn, would jumpstart the utility of your own product or service.</li></ol><p>The best example that I know of cooption is actually a case where its *lack* possibly meant a huge missed opportunity. When OpenStack was first getting its legs (back in the “B”, “C”, and “D” releases), there was a huge debate about what API approach should be taken. One side argued that the original Rackspace APIs should be the default focus, in order to “differentiate” OpenStack.</p><p>The counter argument, however, was that OpenStack should mimic AWS in any way it can (via common APIs and behaviors), so that OS could coopt Amazon’s already vast ecosystem. This would create a ready-made market for people looking to reuse tools and apps from the Amazon ecosystem in their own data centers.</p><p>The “differentiated” API won the day. Why was this potentially a missed opportunity? Because with the AWS APIs, there would be an ecosystem of tools and applications that *consumed* OpenStack. That ecosystem would create demand. With the OS API, this ecosystem never developed on its own. (There is much more to this, but perhaps another time.)</p><h4>Functions/Code</h4><p>Just streaming data is almost worthless. For data to be turned into actionable information, it must be analyzed. To be analyzed, it often must be manipulated (e.g. aggegated, combined with other data, reformatted, etc.). To be actionable, the analysis often must be visualized for human consumption, or formatted and transmitted as some sort of event signal for automation.</p><p>The advent of function services — namely AWS Lambda, Microsoft Azure Functions and Google Cloud Functions, but also including Kafka and NATS — means there is finally a mechanism that is at the right granularity to package and deliver these forms of “glue” code. While we are in the early infancy of what function services can do today, and there are huge gaps in the tool chains that will be required to operate in functions at scale, there are already subtle signs of a function market forming in the future.</p><p>If this is so, what are some of the game play elements that might be interesting for functions and code?</p><ol><li>Land grab/first mover — It is possible to attack this space by attempting to build the definitive market of function components before anyone else can do so. To be honest, I only really think this play is available to Amazon, Microsoft and Google for general data processing, but it is possible that an independent player could prove me wrong when it comes to a specific industry vertical or data science category. The key here would be to gain network effects around both consumption and creation of functions faster than anyone else in the market. A huge challenge, but potentially profitable if one pulls it off.</li><li>Standards game — The alternative might be to work hard with others to define a declared or de-facto standard set of functions for general or context specific use. Think of a “linux command line tools for function services”. In Linux, one can do a tremendous amount of valuable work using the standard tools in the operating system arsenal. Imagine a similar set of adopted tools for data transformation, aggregation, etc in the major functional services.</li></ol><p>I think there will be some financial winners in this space, but it is hard for me to predict exactly who and how. That is to be expected, of course (mapping only shows the where and why, but not the who and how). Somewhere right now is a true pioneer-type engineer cooking something up that will stun and amaze the technology world.</p><h4>New Value Opportunities</h4><p>The really exciting possibility with respect to data flow, however, is what can be created that was impossible or prohibitively expensive to create in the past. New ways to communicating, finding value, balancing markets, optimizing activities, and so on, are now awaiting discovery. The scale available out of the box is insane, and the combination with other technologies and sciences will likely open new doors — and challenges — for human advancement.</p><p>I’m not going to list individual gameplay options here. I’ll leave that up to you, the reader, to consider for the problems and potential solutions you are most interested in. However, I will say that the players that can “see the board” here, for their respective user needs, will likely outplay and out compete those that can’t.</p><p>Map you areas of interest. Present those maps to friends and colleagues and debate them. Iterate through purpose, landscape, climate, and doctrine, and learn from each pass. Run various gameplay scenarios against your map, and against you analysis of your markets and competition.</p><p>I will certainly be doing so.</p><p>As always, feel free to provide feedback or ask questions in the response section below, or on Twitter where I am <a href="https://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=518f72892629" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/gameplay-for-data-flow-518f72892629">Gameplay for Data Flow</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Applying doctrine to data flow]]></title>
            <link>https://medium.com/digital-anatomy/applying-doctrine-to-data-flow-5733822d9270?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/5733822d9270</guid>
            <category><![CDATA[doctrine]]></category>
            <category><![CDATA[realtime]]></category>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[wardley-maps]]></category>
            <category><![CDATA[dataflow]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Sat, 04 Feb 2017 22:41:36 GMT</pubDate>
            <atom:updated>2017-02-04T22:41:35.598Z</atom:updated>
            <content:encoded><![CDATA[<p>Up until now, we have been stepping through Simon Wardley’s brilliant work on Wardley Mapping (<a href="https://medium.com/wardleymaps">https://medium.com/wardleymaps</a>). We’ve looked at a <a href="https://medium.com/digital-anatomy/the-data-flow-value-chain-45b0dd3083e8#.rcra4imn6">basic value chain</a> for “real time business automation”, applied that value chain to a <a href="https://medium.com/digital-anatomy/a-simple-wardley-map-of-data-flow-8285676a1eeb#.8ogz3g3if">Wardley map</a> to see both position and movement, and we’ve looked at some basic <a href="https://medium.com/digital-anatomy/adding-context-to-the-wardley-map-of-data-flow-c818dc2960d6#.31u3s0oyq">climatic conditions</a> that will influence future behavior.</p><p>The next step in Simon’s basic process loop is to determine (or reaffirm) basic doctrine with respect to how we “play the game” from this point further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XJ-lwVMWpVLTZo1K2NynVw.png" /></figure><p>Here is how Simon <a href="https://medium.com/wardleymaps/doctrine-8bb0015688e5#.us11wui5g">describes “doctrine”</a> in this context:</p><blockquote>Doctrine are the basic universal principles that are applicable to all industries regardless of the landscape and its context. This doesn’t mean that the doctrine is right but instead that it appears to be consistently useful for the time being. There will always exist better doctrine in the future. As with climatic patterns we will go through some basic forms and refine in future passes through the strategy cycle.</blockquote><p>The important things to take away from this definition are:</p><ol><li>Doctrine isn’t set in stone, but is none-the-less “consistently useful for the time being”. This means doctrine doesn’t change with every single shift in the wind, but is flexible enough to adapt as core assumptions are challenged.</li><li>Thus, future doctrine will adapt. It has to. New technologies, new markets, even new political realities will make fundamental change inevitable.</li><li>One key word in that definition, is “refine”. Tailor doctrine to changing needs, but — and this is important — understand that you aren’t tailoring to your own sales and marketing needs. You are adapting to external realities…e.g. “disruptions” and new user needs.</li></ol><p>Now, I’m going to do something a little weird as I step through Simon’s doctrines (which may not necessarily be exactly your own company’s doctrines). I want to point out the weaknesses in the assumptions I made, and the generality of the use case I used, as well as the strengths. I do this to be clear that you can’t just take my map and say “there it is, the universal map for what we should do next”. In fact, you should define your own doctrines and find the ways in which my maps (and analysis) fails you.</p><p>That’s part of playing the game.</p><p>So, let’s get started. (For definitions of each doctrine, see <a href="https://medium.com/wardleymaps/doctrine-8bb0015688e5#.us11wui5g">Simon’s post</a>.)</p><h4>Doctrine: Focus on User Needs</h4><p>This doctrine is a perfect example of why the map I’ve created in the previous posts is both useful and dangerous for making decisions about how to address this nascent market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ik-HR25WZgn_2vlNqZ3D7g.jpeg" /></figure><p>I stand by my assertion that the reason for enterprise software is, in fact, to automate our economy, and that real-time is the next logical evolutionary step for this purpose. However, it’s a horrible “user need” to use to find any specific value opportunities. It’s much too general. It’s not even really a “user need”, but more a category of user needs. It’s not what anyone means when they talk about identifying a specific user need.</p><p>So, how do we go about finding a real user need to map? One common technique used in a variety of design and analysis use cases is the <a href="https://en.wikipedia.org/wiki/5_Whys">“5 whys” approach</a>, in which you start with a stated problem and ask a sequence of questions to get to the root need underlying the problem. So, find an actual user, ask them about their perceived pain or wants related to a problem space, then start breaking that down further by asking “why”.</p><p>(Finding actual users can be tricky, however. For example, often the buyer of a product or service is not the same as the end user — such as when IT operations buys a management platform for use by developers. If you ask these questions of the wrong “user”, you’ll get the wrong core needs and build the wrong solution.)</p><p>Another approach is suggested by Simon in <a href="https://medium.com/wardleymaps/doctrine-8bb0015688e5#.us11wui5g">his post on doctrine</a>: start by looking at the transactions an organization makes with its customers. This can even be combined with a technique like the 5 whys to get at hard to articulate unmet needs.</p><p>A better user need here might have come from analyzing the core needs for a specific data stream, or a specific business entity that requires real-time interaction with their digital processes.</p><h4>Doctrine: Use a common language</h4><p>This is a doctrine that’s reasonably easy to meet in this series. I am creating maps that I am using to step you, the reader, through my thought process. The map, and the language I use in my posts, becomes a common language for this purpose. Of course, as Simon points out, if you use these techniques in a more traditional manner, you may want to work across actors to define a single consensus map.</p><p>The one area of “language” that I’ve struggled with, however, is what to call the general category of applications we are talking about here. I’ve started with the term “data flow”, which in my mind means more than any specific architecture, but includes the cultural, organizational and practice changes that will be driven by a stream or event centric approach.</p><p>The preferred terms as of this writing seem to be “event processing” or “stream processing”, but I don’t see a grand consensus as yet. However, if a term starts getting seeing significant usage across the technology and business community, I will choose that term over “data flow”. Using common language is extremely important for describing emerging trends, but also generally difficult and contentious, and this topic is no exception.</p><h4>Doctrine: Challenge assumptions</h4><p>This one is on you, the reader. I write to learn. I want to be told I’m off my rocker. I want you to challenge my assumptions, my analysis and my conclusions. Doing so will ensure that both of our models of data flow stand up to future scrutiny (or start from a good place if they need to change).</p><h4>Doctrine: Remove duplication and bias</h4><p>Generally, if you are evaluating technical strategy across a large organization, and drive out biases about skills, technologies or climate, you will find significant opportunities to remove duplication of common needs. In this case, however, I’ve focused on an need chain that narrows down the value chain in a way that removes much potential duplication already.</p><p>That said, there is a lot of duplication in the underlying technologies already. OSS projects like Kafka, NATs and OpenWhisk compete with similar services from Amazon, Microsoft and Google — not to mention “custom” options developed in house. Data streams with common information, such as weather or personal health measurements, can come from a number of different sources.</p><p>Thus, duplication in your own organization’s execution of data flow is a strong possibility. Often, as the first projects are explored (usually a “genesis” activity), it’s fine to see some capabilities duplicated. But, as architecture adoption increases, good strategy dictates that application teams focus on doing as little duplication of existing capabilities as possible. The map (and some of the other techniques that Simon outlines) can help assure this is the case.</p><h4>Doctrine: Use appropriate methods</h4><p>One of the key things our maps can demonstrate is where you can use various methods for implementation and operation of the overall value chain technologies. <a href="https://medium.com/wardleymaps/doctrine-8bb0015688e5#.us11wui5g">Simon’s post</a> uses the following legend to explore how a simple value chain can be divided between “outsourcing”, use of off-the-shelf products, and custom development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9nCOGbzv0EnoPo6BVqnHw.png" /></figure><p>So, let’s apply something similar to one of our core value chains:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B4H3fBsYnYCMWZ2GNGmSHA.jpeg" /></figure><p>Now, I fudged a bit here, and assumed the lowest option based on evolutionary stage for the two items that are on a border (“Streaming Protocols” and “Container/Server Platform(s)”). Either of those could easily be done with the next most “standardized” technique. However, as you can see, the argument Simon makes about “no one-size fits all” for development and operations methods holds solidly for our “streaming integration” user need.</p><h4>Doctrine: Think small</h4><p>Key for our analysis is the concept of not thinking of a data flow architecture as a single deliverable, but a system made up of many composable pieces. The more composable the system components, the more flexible the architecture for future use cases.</p><p>Think of the Linux command line text processing tools. Each application is pretty damn tiny (even <em>sed</em> and <em>awk</em>), but really sophisticated scripts are written with them every single day, for a wide variety of use cases. The key to this success is each tool is focused on a specific responsibility, and integration is assumed to be possible based on a standard integration protocol (ASCII, generally).</p><p>I think one thing that our maps show clearly is that data flow automation requires some base components that do their specific tasks very well (data capture and data distribution, for instance) but has a huge blind spot when it comes to many of the processing algorithms and tools required to make those data streams useful.</p><p>If you try to build the “one great platform” for data flow, you will perhaps have some success early with shops that are scared to death of the continuous work and thinking required for working composed systems. But history tells us the long term belongs to a variety of standardized, focused building components. So, take that into account and build your systems for “composition first”, using techniques like micro-services, and standard functions and practices.</p><h4>Doctrine: Patterns can be applied across contexts</h4><p>I include this doctrine for the simple reason that this is exactly what our choice of “user need” and subsequent analysis is meant to demonstrate. While your specific user need might result in some additional value chain components, or different placement of the components we did cover, I’m reasonably sure that your own analysis will largely end up looking very similar.</p><p>This is the secret of finding common “platform” components in computing. Find the things that are common in a variety of contexts, and build for those most common elements. This is why, in my opinion, all three major cloud providers already have gateway (data capture), event streaming, and functional platform elements.</p><h4>Other doctrines</h4><p>For some ideas on other doctrines you can consider as you look at our maps, check out <a href="https://medium.com/wardleymaps/doctrine-8bb0015688e5#.us11wui5g">Simon’s post</a>. For example, he includes the following incredibly useful table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iky0dDjbEeE8NYyiOaTjZg.png" /></figure><p>I’d love to hear from you which doctrines you think deserve more scrutiny. I’d also love to hear from anyone that thinks I’m way off base here. As I’ve already noted, I write to learn. If you have anything to teach me, comment below, or find me on Twitter at <a href="https://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5733822d9270" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/applying-doctrine-to-data-flow-5733822d9270">Applying doctrine to data flow</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Adding Context To The Wardley Map of Data Flow]]></title>
            <link>https://medium.com/digital-anatomy/adding-context-to-the-wardley-map-of-data-flow-c818dc2960d6?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/c818dc2960d6</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[dataflow]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[wardley-maps]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Thu, 12 Jan 2017 05:44:10 GMT</pubDate>
            <atom:updated>2017-01-13T00:39:50.437Z</atom:updated>
            <content:encoded><![CDATA[<p>This post is a continuation of a process that I started in previous posts, including <a href="https://medium.com/digital-anatomy/the-data-flow-value-chain-45b0dd3083e8#.yjrniiavi">The Data Flow Value Chain</a> and <a href="https://medium.com/digital-anatomy/a-simple-wardley-map-of-data-flow-8285676a1eeb#.vfb582np7">A Simple Wardley Map of Data Flow</a>. If you haven’t been following the series, please take the time to read those posts first.</p><p>After completing a <a href="https://medium.com/wardleymaps">Wardley Map</a>, where does one go next? How do you extract value from the jumble of components and value relationships depicted below?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VirgvilzZpSacvFR9XbdAQ.jpeg" /></figure><p>Finding any information that would help one actually make smart strategic decisions seems almost impossible, right?</p><h4>Climatic Patterns</h4><p>The secret sauce in analyzing Wardley maps comes from the process he outlines in <a href="https://medium.com/wardleymaps/on-being-lost-2ef5f05eb1ec#.u6xyk1ov9">wardleymaps</a>, which was strongly influenced by the thinking of Sun Tzu in The Art of War. Read his post, <a href="https://medium.com/wardleymaps/on-being-lost-2ef5f05eb1ec#.3aadbhfow">On Being Lost</a>, for the thought process that got him here, but the basic concept is captured in the following diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LDL-eSOqdiOUL-Y6XGidVQ.png" /></figure><p>We now have a first iteration of purpose (“real-time business automation”), a decent map of the “landscape” (the Wardley Map above), so the next step evaluates the climatic patterns that will affect our analysis.</p><p>But, what do we mean by “climatic patterns”? From Simon’s <a href="https://medium.com/wardleymaps/exploring-the-map-ad0266fad59b#.hsw2433ud">Exploring the Map</a>:</p><blockquote>Climatic patterns are those things which change the map regardless of your actions. This can include common economic patterns or competitor actions. Understanding climatic patterns are important when anticipating change. In much the same way Chess has patterns which impact the game. This includes rules that limit the potential movement of a piece to the likely moves that your opponent will make. You cannot stop climatic patterns from happening though, as you’ll discover, you can influence, use and exploit them.</blockquote><p>Simon gives several examples in his post, but what I have found most useful is his fairly thorough categorization of climatic patterns provided in the following table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W94u8VzDdhKOWygmd5jCXw.png" /></figure><p>Let’s choose a few of these, and see what our map might suggest those patterns will do to the way the market shapes up over time.</p><h4>Everything evolves</h4><p>The first pattern is the most directly obvious from the map format itself. Every technology component evolves over time from genesis to custom to product to utility/commodity. The pace and form of that evolution is almost impossible to predict, the fact that the evolution will happen at some point can be counted on.</p><p>Here, our map is only somewhat interesting, because most of the components are already utility or commodity elements. Data flow is being built in the cloud (and is, in large part, enabled by cloud), so there isn’t much opportunity to disrupt through evolution. In fact, it could be argued that each utility component in our value chain is already an evolution from an earlier product-based approach towards a similar problem.</p><p>The clear exception to this are the custom deliverables built upon these services: the functions, data, protocols and policies that define a specific data flow system. More on these as we go on.</p><h4>Characteristics Change</h4><p>If, indeed, our utilities are evolved from earlier approaches, how have they fundamentally changed from their predecessors. I see the answer to this as being made up of several elements:</p><ol><li><em>Less product, more utility. </em>Businesses want less and less to handle their own “plumbing”. Data capture, processing, analytics and visualization/alerting should all be simple services to assemble as needed to address a problem.</li><li><em>Less burden, more scale.</em> A huge factor in how these services have changed from earlier attempts at handling streams of data is the scale at which they can operate with similar or even less expertise required to make them operational for a given problem space.</li><li><em>Less context, more composition. </em>As I noted <a href="https://gigaom.com/2013/02/16/devops-complexity-and-anti-fragility-in-it-context-and-composition/">in a post</a> some time ago, in the long run composable architectures beat out others that force actions to fit into a single solution model — enable the developer and/or user to define the model, assembling the pieces they need as they go.</li></ol><p>These characteristics are what make complex data flow applications a) possible, and b) flexible to meet a wide variety of needs.</p><h4>No one size fits all</h4><p>That flexibility to meet widely varying needs is critical. So is the flexibility to handle everything from one data event a month to one hundred thousand a second. But perhaps equally important is the ability to enable both widely varying experimental activities, and regulated, SLA driven production deployments.</p><p><a href="https://medium.com/u/280dd9543ba9">swardley</a> talks a lot about needing a <a href="http://blog.gardeviance.org/2012/06/pioneers-settlers-and-town-planners.html">variety of skillsets</a> within an organization to address varying activities ranging from research and invention (pioneer); to organization and productization (settler); to industrialization and standardization (town planner). In many ways, it is important to realize that for any given technical domain (business automation, for instance), there will be an equal need for components that can span these practices.</p><p>(This is yet another reason why composable systems outlast contextual ones, by the way, as composable systems can be reassembled to a wider varying set of processes with greater agility.)</p><p>Assumptions made in the architecture and development (or operations) model about who will use the system, for what purpose, and with what policies and restrictions are what get’s a software architecture in trouble. While I think this is one area where there is work left to be done, I also think its clear that the “big three” cloud vendors, at least, get this.</p><h4>Efficiency enables innovation</h4><p>This is where things get really interesting. As the nature of these services get better defined and more consistent from release to release (which, face it, may already be the case), the efficiency gained by taking a data flow approach will not only make some (most?) existing use cases faster and more easily updated, but will likely enable new use cases that will begin to drive new efficiencies.</p><p>At the heart and soul of the technology innovation curve that Warley uses as a basis for his work is the simple concept that we can anticipate what will happen, but not necessarily exactly how or when it will happen. But a prerequisite for new major platforms is the sufficient evolution of the underlying value chain to support them.</p><p>So, as we look at “real-time business automation” and data flow, we are looking for ways in which the underlying value chain has (or has not) evolved enough to make new approaches technically and economically viable.</p><p>I think one can certainly argue that the services enabling real-time business automation are, in fact, well evolved (almost out of the gate). So, where do the innovations come from? Perhaps it starts with functions, data, protocols and policies…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Kqd-9QAXFWitPkwteGUGA.png" /></figure><h4>Higher order systems create new sources of worth</h4><p>Building on “efficiency enables innovation”, we can also see how these new innovations allow for some new value components to trigger new market opportunities. Perhaps a specific data analytics function makes certain new insights trivial for stock brokers. A new streaming protocol helps make supply chain financing almost completely automatic. A standard security policy set enables safer transactions with federal government programs.</p><p>In short, the higher order systems of worth that I think data flow will create are major advancements in the goal I stated for “real-time business automation”: the further automation of our economy.</p><p>Which gets to a key point that applying this climatic condition brings to the forefront. It is now clear that I (purposefully) chose too general a “user need” at the beginning of the process to arrive at any <em>specific</em> strategic opportunities in this space. But its great for making one thing clear:</p><blockquote>The businesses that will create new value through data flow will almost certainly add value on top of the existing utility infrastructure.</blockquote><p>There are whole posts to be written about that topic, and much of the remaining analysis of our map will reenforce this, but those that have read this far get a preview to this very important point.</p><h4>No choice on evolution</h4><p>But what happens if functions, protocols, policies and data doesn’t evolve from being custom in the vast majority of use cases? Well, this is where technology evolution has been <em>very</em> consistent over the last century or two. If a technology has high general utility, it will evolve from genesis to custom to product (or rental) to utility (or commodity). The terms might be different in different technologies, but the general concept has been consistent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*66grc6C7WWk9Ga9D8HotJg.png" /></figure><p>(Simon Wardley did a ton of research on this point. See <a href="http://blog.gardeviance.org/2012/07/everything-evolves.html">Everything Evolves</a> from 2012, for a good starting point.)</p><p>The key thing is that these technologies <em>will</em> evolve, so how can you take advantage of that? This is where gameplay becomes important, which we will explore in depth in a later post.</p><h4>Past success breeds inertia</h4><p>So, if real-time is the future, the utilities are already there to support it, and much of enterprise software is perfect for this model, why don’t the existing enterprise software companies just take over and provide their crown jewels as data streams, functions, protocols and policy?</p><p>This is one of the key climatic patterns that opens opportunity for ambitious people to make money from any transition like this. They can’t. Or, stated more accurately, to do so would disrupt existing cash streams and priorities, put the accuracy of future sales predictions at risk, and require a retooling of not just the architecture, but of marketing, sales, business models, performance metrics and so on. It’s a huge endeavor.</p><p>Furthermore, if you ask enterprise customers today if they want their favorite ERP application as a composable set of core services consuming a real time data stream in the cloud, they’ll likely ask “why”. The ratio of immediate demand for software products and large grain, contextual software services will likely remain very high relative to the models that data flow enables for years to come.</p><p>This inertia creates the opportunity for risk takers to keep taking shots at the next step of evolution until the combination of the right approach and market readiness align. Then, the inevitable evolutionary step will occur (seemingly “overnight”) and big, smart businesses will be caught unable to stop the disruption.</p><p>How to counter this effect? Microsoft has the right idea with how they’ve approached building cloud services that completely disrupt their traditional software business:</p><ol><li>They saw the disruption coming — maybe not using the mapping techniques we are using here, but through thorough and honest evaluation of the changing world around them</li><li>They invested in research and development projects that created services that would ultimately disrupt their own products, sales model, and even channels.</li><li>They continue to cycle through evaluating, experiementing, monetizing and productizing the larger set of technologies that are required to make the new model possible.</li></ol><p>Remember, Microsoft took a huge hit in the stock market (briefly) for being honest about the future of Windows and Office software. But now they are growing quickly, and are one of the leading cloud utilities. They look like geniuses now.</p><p>And, just to close the loop, notice the emphasis they are beginning to put on data flow: stream processing, functions, and so on. This is not a side project for them (nor for Google or Amazon).</p><h4>Where to go from here</h4><p>Our next step is to orient our plan of attack through applying some basic doctrine, or principles that can be used in a variety of business situations. I must admit that I’m still wrapping my head around some of these concepts, but I think you’ll see that these principles will help us pick a viable “point on the horizon” to shoot for.</p><p>In the meantime, as I’ve said many times before, I write to learn. I’d love your feedback, either in the response section below, or on Twitter where I am <a href="http://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c818dc2960d6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/adding-context-to-the-wardley-map-of-data-flow-c818dc2960d6">Adding Context To The Wardley Map of Data Flow</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Simple Wardley Map of Data Flow]]></title>
            <link>https://medium.com/digital-anatomy/a-simple-wardley-map-of-data-flow-8285676a1eeb?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/8285676a1eeb</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[dataflow]]></category>
            <category><![CDATA[realtime]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[wardley-mapping]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Fri, 30 Dec 2016 20:41:59 GMT</pubDate>
            <atom:updated>2016-12-30T23:22:39.626Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week I demonstrated the process for <a href="https://medium.com/digital-anatomy/the-data-flow-value-chain-45b0dd3083e8#.lkpt7eacl">defining a “simple” value chain</a> for “real time business automation”, which is my code phrase for stream processing in a business setting. This week, I want to turn my attention to building a Wardley Map from that value chain so that we can begin to get clear(er) about where the opportunities lie.</p><p>If you are unfamiliar with Wardley Mapping, take a look at <a href="https://medium.com/u/280dd9543ba9">swardley</a>’s posts on the topic. He’s basically <a href="https://medium.com/wardleymaps">writing “the book” on strategic mapping</a>, chapter by chapter, right here on Medium. It’s definitely a series to follow closely. Start at the <a href="https://medium.com/wardleymaps/on-being-lost-2ef5f05eb1ec">beginning</a>. This post brings us only to <a href="https://medium.com/wardleymaps/finding-a-path-cdb1249078c0">Chapter 2</a>. There is much fun we will have in later posts, I assure you…</p><h4>Where we left off…</h4><p>The diagram we ended up with in the last post looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*fjfXgqmqRWmQ5C4NBq6hag.jpeg" /></figure><p>As I worked on the next steps for this post, I discovered some issues that I wanted to resolve before I moved forward:</p><ol><li>While I was sharp enough to create the custom elements that are build on both Digital Operations (policies) and Streaming Integration (streaming protocols), I failed to do so for perhaps the most important element of our value chain: functions built on the Functional Platform.</li><li>Several of the names were too generic, IMHO. I needed to be more specific about the capabilities consumed. Some of the name changes might be slightly controversial (such as insisting data storage is a utility), but I would argue that exceptions will actually be rare among the greenfield applications built in this solution space.</li></ol><p>So, here’s the new diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*09fu_9LCda4cgi967po_zw.jpeg" /></figure><h4>Creating the first map</h4><p>Mapping the value chain to a Wardley Map is basically an exercise of moving the value chain elements to a graph that adds the state of each elements evolution. Evolution is measured on a scale that runs from “Genesis” to “Custom” to “Product” to “Utility/Commodity”. Simon’s explanation in his Chapters 1 and 2 do much more justice to why this scale is reflective of technology evolution patterns than I can. Read the chapter if you haven’t already.</p><p>Now, there’s a lot to our “little” value chain, so let’s start by simply mapping each element to an evolutionary position. We’ll add the relationships between the elements later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqjpnGVKaGebn9NfFhlgAw.jpeg" /></figure><p>As you can see, there is a lot here. Again, you may argue with the exact placement of each element, and if so I welcome your feedback. But I believe this is pretty damn good, given the “squishy-ness” of some of these concepts.</p><p>You will notice, however, that if I were to put the relationships back into the diagram, the nice clean schematic nature of the value graph we started with is lost. Given this, I thought I’d step through each of the five top elements and their individual value chains individually. I started by color coding each of the elements.</p><h4>Data Distribution</h4><p>Beginning with data distribution (which is where the “real time data” nature of this problem is most evident), we have the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vwEqgHUzl_h1Dwo8ZpEOTA.jpeg" /></figure><p>Thus, data distribution adds value to both real-time data and data capture (which also adds value to real-time data on its own). These components all add value to a basic compute and network utility. (As this is real-time distribution of data, I am not claiming a value add to data storage, though you could if you think its needed in your context.)</p><p>Real-time data is highly custom, with completely new sources (and forms) being created all the time. However, data capture is increasingly moving from an OSS/product model (see API gateways, Apache Camel, etc) to a utility model (AWS IoT and API Gateways, Microsoft Azure IoT Hub, etc.).</p><h4>Digital Operations</h4><p>This is one of the more straight forward portions of the value chain, IMHO.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DKepG46UvOl9Jvq2voJMlg.jpeg" /></figure><p>Digital operations is primarily (but not exclusively) a function of visualization and alerting that adds value to basic data capture via monitoring. Alerting also adds value to the concept of policies by either raising alarms or executing actions in response to policy violations.</p><p>Policies are still highly custom today. There are not many “standard” policy configurations, especially for real-time stream processing. However, alerting and monitoring are firmly part of the cloud platforms themselves (though they could use improvement). Visualization is quickly moving from an OSS/product model to a built-in cloud function, but is far from being there at this time. (“Maybe 2017 will be the year of Cloud Operations Visualization?”, he says with tongue firmly in cheek.)</p><h4>Fast Processing</h4><p>One of the more interesting and fundamental capabilities required to do “real time business automation” is fast processing. This is where an increasing number of fundamental cloud utilities comes into play.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xKOhIsZDtdNZGuj2nGfRYA.jpeg" /></figure><p>Fast processing (I argue) relies on the ability to run functions which build value upon a functional platform which may or may not hide use of a container or server platform, a data storage utility and/or a compute and network utility.</p><p>Everything is available today as a utility except the functions themselves. As we shall see, there is opportunity here, but almost all such functions are custom today. In fact, quite a few people are experimenting with how they can push the envelope of functional systems and do new things.</p><h4>Applications/Services</h4><p>Another heavy user of basic compute utilities is the execution of services that consume, manipulate or disseminate real time data from the data distribution functions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kq43J-XHYa7eG6YmIvDQmA.jpeg" /></figure><p>Remember, I purposely kept this simpler in this map than I would in other contexts. Applications and services add value to basic container/server, compute/network and data storage utilities.</p><p>You might argue that there is a lot of genesis and custom work in these services, but I would argue so many services are in existence today either within a business or on the open Internet market (e.g. Twilio), that its probably fair to say services are moving quickly into the product phase. Again, happy to hear arguments about why that might not be true.</p><h4>Streaming Integration</h4><p>As I noted in the last post, I always feel a little on the fence about calling this out separately from fast processing as a whole, but there are potential differences in how these capabilities evolve. One arguement for this is IFTTT. They have a huge library of standard integrations, but the library of recipes is still somewhat nascent and often requires modification for each specific use case.</p><p>Nonetheless, there is much overlap between integrations and functions in general.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xCx42mbeYR_C0nUmkzTW6w.jpeg" /></figure><p>Streaming Protocols probably deserves to be higher on the value scale than drawn here, but as you’ll see when I put it all together, I fudged a bit to make things readable. Nonetheless, the relative positions remain valid. Streaming integration adds value to streaming protocols by leveraging functions and its underlying value chain.</p><p>There are many more streaming protocols that are becoming “standard” than functions at this point. IoT, news feeds, electronic financial transaction protocols and even APIs are a big part of why integration is moving fairly quickly. The rest is just a restatement of the previous fast processing analysis.</p><h4>Putting it all together</h4><p>Hopefully breaking things down for you this way gives you a decent understanding of how each major element of this user need builds value on the components that enable it. The final step for this week is putting it all together, which certainly becomes harder to read.</p><p>I left the color coding so you could get a sense of where each relationship is coming from. While this map is maybe too dense to be a starting point, as we’ll see in the next post, it gives us some idea of how we might attack this market and take advantage of the strategic opportunities before us — and avoid the pitfalls that might tempt those without a map to follow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VirgvilzZpSacvFR9XbdAQ.jpeg" /></figure><p>Until then, let me know what you think. Am I on the right track? Have I got you interested in Wardley Mapping and the information it provides? (Remember, we haven’t even gotten to the good stuff yet.) Feel free to respond below, or reach out to me on Twitter at <a href="http://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8285676a1eeb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/a-simple-wardley-map-of-data-flow-8285676a1eeb">A Simple Wardley Map of Data Flow</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The data flow value chain]]></title>
            <link>https://medium.com/digital-anatomy/the-data-flow-value-chain-45b0dd3083e8?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/45b0dd3083e8</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Thu, 22 Dec 2016 19:43:36 GMT</pubDate>
            <atom:updated>2016-12-22T19:43:15.141Z</atom:updated>
            <content:encoded><![CDATA[<p>In my last post, I highlighted the <a href="https://medium.com/digital-anatomy/the-basic-architecture-of-data-flow-5ff3f706adce">basic architecture of data flow</a>, describing the “50 thousand foot view” of what data flow is from a technology perspective. I started with this, in part, because the core model (known by many as “stream processing”) is increasingly well understood. The work to define what the “user need” is has already been done by those who had that need and were forced to address it on their own.</p><p>In this post, I want to take that basic model (illustrated below) and begin to explore a value chain that satisfies the need that is implicitly expressed by the streaming architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*mY0D92sEa8XL0v5vVtRrSQ.jpeg" /></figure><h4>Basic needs of stream processing</h4><p>So what are the components that deliver on that user need? Well, I’ll argue that the immediate needs are as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hBPOpLI46rsyneef6Hwfrw.jpeg" /></figure><p>Let’s break this down:</p><ul><li><strong>Real-time data.</strong> Of course, the existence of real-time business automation depends first and foremost on the existence of real-time data representing the ever changing state of the business as a whole. Not only transactions, but inventory, contracts, employee skills, cash flow, etc. represent key elements of representing the business digitally. Each business will have a somewhat different data inventory, but also has a significant amount of digital state data already.</li><li><strong>Fast processing.</strong> In order to handle the incredibly vast amount of data required to represent all of these elements of business in a timely manner, there needs to be a sufficiently fast and scalable processing model that can support it. This processing would apply to a wide variety of needs, such as data transformation, security (e.g. encryption/decryption), anomaly detection, and much, much more.</li><li><strong>Data distribution.</strong> In order for this model to work, data must be easily (and quickly) distributed to all that may rely on it. Interestingly, this means the distribution mechanism must also be the source of record for the history of these events. So, you need a way to capture all incoming events (most of which contain data) and allow other systems to grab the data they need in a way that the sequence of events can be determined and maintained.</li><li><strong>Applications and Services.</strong> In addition to the existence of data, data flow systems wouldn’t exist without actors to create and/or consume that data. These are the applications and services reliant on timely data distribution to complete their appointed tasks. In some cases, services might be nearly indistinguishable from the basic processing tasks described above, but often these software components will have a variety of technologies, architectures and granularity. The primary difference between “applications” and “services”, in my mind, is the level of direct interaction with human users.</li><li><strong>Streaming Integration. </strong>It is perhaps stretching things a little bit to call out integration functionality from basic “fast processing”, but I do because many existing systems treat major “built-in” integrations as something different than functional processing. Streaming integration is how the streaming mechanism and applications/services can quickly and safely exchange data and events as required. Often, this might involve such activities as protocol mapping, authentication/authorization handshakes, and error handling.</li><li><strong>Digital Operations Capability.</strong> Where ever software executes, there is a need to operate that software. This model of stream processing creates a new distribution of operations responsibility, and with it a new challenge to the tools, practices and scale of existing operations tools. As you will see, we are talking about an increasingly complex systems model, and we need capabilities that take that into account.</li></ul><p>This is just my rough stab at the needs that are implicitly defined in the model depicted above. You may disagree with parts or all of it. If so, I’d love your feedback. But, for now and for me, it remains a consistent and workable model to take the next step: breaking down the user need into component parts.</p><h4>Beginning a value chain for data flow</h4><p>What is the user need? What is the “<a href="http://firstround.com/review/the-power-of-the-elastic-product-team-airbnbs-first-pm-on-how-to-build-your-own/">Job To Be Done</a>”? In my opinion, it is something I like to call “real time business automation”, a term that comes from my belief that the entire reason for the existence of most enterprise software is the automation of our economy. Or at least a part of it. (Market systems, software supporting treasury functions, etc, also play a key role.) We build software to increase the productivity of the enterprise in key business operations.</p><p>Taking advantage of new technology models, such as cloud computing and log streams, to make as much of this automation as possible “real time” is the “Job To Be Done”.</p><p>So, let’s use the needs model we listed above as a starting point:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*XgsXqr5tSx6Z3sN5ZRxFiw.jpeg" /></figure><p>Pretty straight forward, right? OK, now let’s break down each piece.</p><h4>Data Distribution and Real Time Data</h4><p>I’m going to start by analyzing the real time data and the data distribution as one sub-component. This is because real-time data is a basic element — a unit of work within the system, and is the basis of what is being distributed.</p><p>Here’s the next step in our value chain, as I see it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*G8dBkmNaEmFhS2O67yg-WQ.jpeg" /></figure><p>Data distribution encapsulates the ability required to distribute data, but is worthless without data and a way to capture that data. And none of that can happen without a compute utility on which to execute it all.</p><h4>Distributed Operations Capability</h4><p>Another quick and dirty value chain revolves around how we operate the entire system. And, as in all operation systems there are basic components:</p><ul><li>Monitoring to capture data about what is happening in the system</li><li>Visualization to allow humans to interpret that data</li><li>Policies that define what is acceptable operations state</li><li>Alerting to raise the alarm when that state is violated</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*FUxx01IoiMm3c2vAhuR9iA.jpeg" /></figure><h4>Applications and Services</h4><p>The detailed needs chain for all forms of applications and services is probably immense, so I’m just going to use an extremely simplified representation here — hopefully what is important to this analysis and no more.</p><p>This is a great example, however, of how the “map is not the territory”. As <a href="https://medium.com/u/280dd9543ba9">swardley</a> and others will quickly tell you, the map you build should be applicable to the need that drives the map. In another context, I’d probably draw this portion of a needs map much differently:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*ILmaSr0hg8qMyhF-fz-mmA.jpeg" /></figure><h4>Fast Processing</h4><p>Here, I’m probably cheating a bit by assuming functions are the way to go, but I think it could be argued that most of what this form of processing is — defining functions that do specific tasks (like transformation, et al).</p><p>The really interesting thing to me here is the dependencies. I’ve added a new need to data distribution, for example, as it needs functions to get the data in a form that it can be intelligently distributed (at minimum, a message in a topic). Also, a functional platform doesn’t get rid of any of the compute and storage components we use in other models. It just hides them (very effectively, I might add).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/995/1*3hdYLwFfFXvn1IohD4iPBg.jpeg" /></figure><h4>Streaming Integration</h4><p>The final element to add to the value chain is one of the easiest to diagram, but also one that I struggled with quite a bit. Is it identical to the functional platform need? How does it differ?</p><p>In the end, I sort of punted and defined it as a functional need that also requires protocols with which to integrate. The latter is what I’m really interested in. How will integration protocols change (if at all) as data moves constantly and in real time? I’m betting we’ll see some interesting work here. The <a href="https://www.cloudfoundry.org/open-service-broker-api-launches-as-industry-standard/">Open Service Broker</a> is one example, though its more of a handshake protocol than a data protocol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*fjfXgqmqRWmQ5C4NBq6hag.jpeg" /></figure><h4>Where to go from here</h4><p>So, there you have it. A value chain for the key components that deliver on real time business automation at scale. At least as suggested by the architecture that is quickly gaining acceptance today. Will this model stand the test of time? Most definitely not. Is it a good starting point to explore evolutionary forces that will create opportunity in this space? Good enough.</p><p>That’s what we’ll do in the next post. Begin to map this to the technologies that are coming into play to meet these needs, where those technologies are in the evolutionary process, and where gameplay suggests opportunities to take advantage of the current state of the market.</p><p>In the meantime, feel free to build on this, tear it apart, ponder new ways to address the problem, etc. All I ask is that you consider providing me with feedback, preferably through a response below (because this will probably take more than 140 characters at a time). However, as always, I can be found on Twitter as <a href="http://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45b0dd3083e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/the-data-flow-value-chain-45b0dd3083e8">The data flow value chain</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ben Stopford on stream services architectures]]></title>
            <link>https://medium.com/digital-anatomy/just-a-quick-note-to-introduce-followers-of-digital-anatomy-to-the-excellent-work-of-ben-stopford-e3f57d04e3e4?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/e3f57d04e3e4</guid>
            <category><![CDATA[stream-processing]]></category>
            <category><![CDATA[stream-services]]></category>
            <category><![CDATA[ben-stopford]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Mon, 19 Dec 2016 22:06:27 GMT</pubDate>
            <atom:updated>2016-12-19T22:05:42.612Z</atom:updated>
            <content:encoded><![CDATA[<p>Just a quick note to introduce followers of Digital Anatomy to the excellent work of Ben Stopford at Confluent regarding stream processing and stream services. This is highly recommended reading, and cuts to the chase on many of the things I’ll be explaining here.</p><p><a href="https://www.confluent.io/blog/data-dichotomy-rethinking-the-way-we-treat-data-and-services/">https://www.confluent.io/blog/data-dichotomy-rethinking-the-way-we-treat-data-and-services/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3f57d04e3e4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/just-a-quick-note-to-introduce-followers-of-digital-anatomy-to-the-excellent-work-of-ben-stopford-e3f57d04e3e4">Ben Stopford on stream services architectures</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The basic architecture of data flow]]></title>
            <link>https://medium.com/digital-anatomy/the-basic-architecture-of-data-flow-5ff3f706adce?source=rss----b3329d68ce4---4</link>
            <guid isPermaLink="false">https://medium.com/p/5ff3f706adce</guid>
            <category><![CDATA[realtime]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[dataflow]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[James Urquhart]]></dc:creator>
            <pubDate>Wed, 14 Dec 2016 06:07:45 GMT</pubDate>
            <atom:updated>2016-12-14T06:06:59.443Z</atom:updated>
            <content:encoded><![CDATA[<p>As I look forward to the coming evolution of application architectures from client-server’s “stack” approach to a data flow centric model, I think it is important to have a “point on the horizon” to shoot for. What, at least as far as we can tell today, will be the central tenets of a “real time” or data flow architecture?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*flvWcO9cMIhQ-yDw_aQ8FQ.jpeg" /></figure><p>Several books have been written to address the concept of real time data flow handling. My favorite so far is <a href="http://shop.oreilly.com/product/0636920034339.do">Jay Kreps’ <em>I ♥︎ Logs</em></a>, which covers the concepts based on database logs that led to the creation of <a href="https://kafka.apache.org/">Apache Kafka</a> (and, Kreps argues, was copied in the creation of <a href="https://aws.amazon.com/kinesis/">AWS Kinesis</a>). However, I think it makes sense for me to give a high level overview here, in my own words.</p><h4>The basics of data flow</h4><p>First, let’s think about the basic actions we want to take when we talk about processing streaming data. Basically, the image below show the flow of data from source to a queue to a client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*qB-HzkceDgyu83F8Q0Gz-Q.jpeg" /></figure><p>That’s a pretty simplistic view of the problem, but it gets the basic concept across. Sources of data send data to a queue, and clients that want to consume that data grab it from the queue and do whatever it is they want to do.</p><p>Unfortunately, we know in the real world that it is quite likely that the client will require some specific format for the data in order to interpret it. And even the queue might require the data to get into a “queue-able” format before accepting it.</p><p>Furthermore, the technologies and protocols needed to even connect sources to queues to clients might be widely different, depending on context. So, our model needs to take into account integration and processing faculties whenever data is moving between elements of our simple model, like in the next image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*uu3qNjXMgXy8dQF5401tIQ.jpeg" /></figure><p>Another consideration, of course, is that there will be more than one source, and more than one client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*S1rFMojgd2CjyqTqgl7jbA.jpeg" /></figure><h4>Queueing (aka Event Logs)</h4><p>OK, so we have a simple data flow model for real time data sources to queue data for clients to process as fast as they are able (or they see fit to do). This is great! But, how do we execute this model?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*mY0D92sEa8XL0v5vVtRrSQ.jpeg" /></figure><p>This is where real-time log and event processing systems, such as Kafka, Kinesis, <a href="http://nats.io/">NATS</a>, <a href="https://azure.microsoft.com/en-us/services/event-hubs/">Microsoft Azure Event Hubs</a>, and <a href="https://cloud.google.com/pubsub/">Google Pub/Sub</a> come into play. The heart of this flow is the queueing capability, and these tools and services are built for just that — publish and subscribe mechanisms that can accept vast amounts of data, queue them sequentially, then allow clients to come and consume that data in order at will.</p><p>The basics of these systems can be thought of like other messaging systems, where developers create messages containing their data, designate “topics” that are essentially named queues of these messages, and client systems request data from the queue in order to process it. In these realtime systems, typically data is processed first-in, first-out, and each message has a sequential identifier that guarantees any given program can compare messages to determine the order in which they were received.</p><p>A number of these options have additional message handling features, such as restricting how long a message can sit in a queue before it is processed, throttling of message throughput to control scale and cost, as well as a number of others.</p><p>Again, for a more in-depth explanation of how these event logs work, check out Jay’s book.</p><h4>Integration</h4><p>Integration problems are handled by both technology specific “gateways”, like <a href="https://aws.amazon.com/iot-platform/">AWS IoT Platform</a>, and custom integrations utilizing functions attached to the queues (more on that in a second). The gateways typically handle one or more communication protocols, extract the data from those protocols, and forward the data to another data environment (in this case the queue, but it could be basic storage such as S3 or a data mining cluster, for example).</p><h4>Processing</h4><p>Processing is handled by event-driven function services, such as <a href="https://aws.amazon.com/lambda/">AWS Lambda</a>, <a href="https://azure.microsoft.com/en-us/services/functions/">Microsoft Azure Functions</a>, or <a href="https://cloud.google.com/functions/">Google Functions</a>. I can’t emphasize enough how powerful this is. No need to do more than write a function that takes in data, does something to it, and then forwards it on.</p><p>As noted above, in addition to transforming data, these event-based functional “microservices” can be used to send data to another system, alert another system of anomalies (perhaps using machine learning models), or even dump it into storage for later historical analysis. The possibilities are vast and the most innovative ideas are yet to be developed, in my opinion.</p><h4>Next steps</h4><p>I’ll try to cover a lot more about each of these elements in the future, but in my next post I’d like to take the basic concepts outlined here and derive a value chain model which can be used to begin to analyze the state of these technologies and the opportunities they create.</p><p>In the meantime, if you have questions or comments, please share them with me here, or on Twitter, where I am <a href="https://twitter.com/jamesurquhart">@jamesurquhart</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ff3f706adce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digital-anatomy/the-basic-architecture-of-data-flow-5ff3f706adce">The basic architecture of data flow</a> was originally published in <a href="https://medium.com/digital-anatomy">Digital Anatomy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>