<?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[Stories by Joe Emison on Medium]]></title>
        <description><![CDATA[Stories by Joe Emison on Medium]]></description>
        <link>https://medium.com/@JoeEmison?source=rss-1ad0befc3866------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TufRun2d7YGiPaknLGSSQA.jpeg</url>
            <title>Stories by Joe Emison on Medium</title>
            <link>https://medium.com/@JoeEmison?source=rss-1ad0befc3866------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:12:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@JoeEmison/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How 10X Organizations use the cloud to focus on customers — and nothing else]]></title>
            <link>https://medium.com/a-cloud-guru/how-the-10x-organization-uses-the-cloud-42797df2162d?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/42797df2162d</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Thu, 02 Nov 2017 14:07:36 GMT</pubDate>
            <atom:updated>2017-11-04T03:39:03.931Z</atom:updated>
            <content:encoded><![CDATA[<h3>How 10X Organizations use the cloud to focus on customers — and nothing else</h3><h4><strong>Put as few people as possible between the development of software and its deployment. </strong><em>Preferably zero.</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uR6nSjbTMMG13STuZN_IZA.png" /></figure><p>The <a href="https://read.acloud.guru/the-truth-of-10x-e59a590fdeda">10X organization</a> is highly focused, with appropriately empowered and responsible executives, and spends almost all of its activities on work that impacts its customers. The 10X organization expends as little focus and effort as possible on the back office— preferring to outsource to services and other third parties.</p><p><a href="https://read.acloud.guru/the-truth-of-10x-e59a590fdeda">The Truth of 10X</a></p><p>And this is all well and good to state at a high level. But details matter, and many people get the details wrong. This post delves into specific and technical details around the right ways to use the cloud if you aspire to be a 10X Organization.</p><h4>Why 10X Organizations use the cloud</h4><p>In general, there are two reasons <em>why</em> the 10X Organization is using the cloud for application infrastructure — both revolving around software development.</p><ol><li>We are selling Software-as-a-Service (SaaS), and so we are constantly developing software and deploying to customers</li><li>We are providing goods or the ability to order/understand goods through a web or app interfaces, and so we are developing software and deploying it to customers — although perhaps with lower velocity than the SaaS vendors.</li></ol><p><em>Everything</em> is about software development. For more on this topic, please check out my piece on <a href="https://medium.com/@JoeEmison/its-all-about-software-development-the-fierce-rise-of-amazon-web-services-63c6517f47d2">why the rise of Amazon Web Services is all about software development</a>.</p><p>I have written previously on the <a href="https://read.acloud.guru/the-truth-of-10x-e59a590fdeda">organizational</a>, <a href="https://medium.com/@JoeEmison/software-development-starts-with-the-product-5e038264507e">product process</a>, and <a href="https://medium.com/@JoeEmison/the-four-critical-practices-of-effective-software-development-ee568eb40515">software development lifecycle</a> practices that are associated with 10X Organizations. But none of these address what should happen to deploy software effectively and at a high, consistent velocity.</p><p>The core principle is really quite simple: <strong>put as few people as possible between the development of software and its deployment</strong>. <em>Preferably zero.</em></p><p>We want fewer people because people are slow and people are inertia. Human review and action requires a healthy, capable, present human — and there is no way to guarantee that you will have a healthy, capable, present human at all times that you need one. Once you insert a person into a process, you almost inevitably code part of their identity to being in the process.</p><p>Just look at DBAs — most startups today don’t have dedicated DBAs, given that we have cloud-run databases and object-relational mapping within our development frameworks. There’s no need for a traditional DBA. But look at organizations that have been developing software for 15+ years, and most of them still have DBAs, and those DBAs are making development and deployment slower and less efficient — and they’re not going anywhere.</p><p>This is why organizations are using infrastructure automation (IA). The “fewer people rule” provides an excellent guide to understanding, between two different ways of using IA, which is better.</p><p>For Instagram, IA meant being able to scale to tens of millions of users with fewer than 15 employees total. If Instagram had had the typical production operations team, it would have died on a vine; the hundreds of releases that were necessary to get to product-market fit and to drive user adoption would have taken millennia in a traditional enterprise release environment.</p><h4>How 10x Organizations use Infrastructure Automation</h4><p>At a high-level, 10X Organizations use IA to develop and deploy software as efficiently as possible — and with only product acceptance/quality assurance personnel between developers and deployment. This means no: DBAs, sysadmins, network admins, other IT operations staff.</p><blockquote>Before the riots begin, let me clarify that what some people call “<a href="https://en.wikipedia.org/wiki/Site_reliability_engineering">Site Reliability Engineers</a>,” “Application Operations,” or “Architects,” who work to design how the application should be deployed and define that as code or configuration, would be “developers” in my above description.</blockquote><p>In practice, this usually means that a continuous integration system like CircleCI or CodeShip or Jenkins can automatically do 100% of software deployment after acceptance and QA is done — usually in response to a single action. For example, the product owner tags a branch as production and web hooks kick off the process.</p><p>It also means that there aren’t “ordinary” operational tasks done by humans (e.g., <a href="https://en.wikipedia.org/wiki/Site_reliability_engineering">SRE</a>) to keep the production application running. This implies there is no need for manual backups, manual purging of cached files, manual patching, manual scaling, etc. Emergency operations may well require humans — but they will be few and far between.</p><p>It’s worth noting that I’m talking about the 95+% of applications that aren’t at what we might call “web scale”. For example, when an additional 100ms latency on requests from time to time has a substantial organizational impact, or where one wouldn’t expect to see more than thousands of simultaneous users needing to write and then read that same data immediately afterward at exactly the same time.</p><h4>The technical approaches to IA</h4><p>The basic high-level requirement is that we should have code + configuration in a repository so that our continuous integration services or build + deploy system can:</p><ul><li>automatically deploy our code</li><li>verify that it has been deployed correctly</li><li>direct production traffic to the new code/environment</li></ul><p>There are a variety of ways we can accomplish this — and honestly we’ve been able to do it for well more than five years at this point.</p><p><strong>Option #1: The Boring <br></strong>One of my favorite articles on picking stacks is Dan McKinley’s <a href="http://mcfunley.com/choose-boring-technology">Choose Boring Technology</a>:</p><blockquote>What counts as boring? That’s a little tricky. “Boring” should not be conflated with “bad.” There is technology out there that is both boring and bad. You should not use any of that. But there are many choices of technology that are boring and good, or at least good enough. MySQL is boring. Postgres is boring. PHP is boring. Python is boring. Memcached is boring. Squid is boring. Cron is boring.</blockquote><blockquote>The nice thing about boringness (so constrained) is that the capabilities of these things are well understood.</blockquote><p>So what’s the boring option for deploy+verify+direct traffic for most applications? I would start by picking some well-used way of <strong>bootstrapping virtual machines and running a test suite on them. </strong>For example, CloudFormation, Elastic Beanstalk, or Hashicorp Terraform; although BuildFax still uses RightScale for this.</p><p>Then, add some well-used quickly-deployed <strong>virtual machines</strong> (e.g., EC2) to run your stateless application servers, plus a <strong>relational database service</strong> (e.g., RDS) that handles failover for you , plus a <strong>load balancer</strong> (e.g., ELB) that adds/removes/health checks your application servers.</p><p>This boring option gets you the vast majority of benefits of even the most bleeding edge version of cloud application deployment today — <em>more on that shortly</em>. It’s also so well known, so boring, that it’s hard to screw up. It does not require top talent to execute; average developers with the right plan should execute properly 10 out of 10 times.</p><p><strong>Option #2: The Bleeding Edge<br></strong>There is a better way than the boring option. This bleeding-edge choice is to use Functions-as-a-Services (FaaS) — using AWS Lambda, and multi-tenant Databases-as-a-Service (DBaaS) like AWS DynamoDB. We’ll call this a “serverless application” for short.</p><p>While serverless applications are now far enough along to recognize that it gives noticeable benefits — it’s still early phases so you shouldn’t necessarily rearchitect existing applications working <em>well enough</em> the boring way.</p><p>So what’s better with a serverless application that you don’t get with the boring way? There are two core benefits: (1) you don’t have to bootstrap virtual machines, and (2) your emergency ops consists entirely of automated redeployments— or waiting for repair from your provider.</p><p>In other words, you don’t have to worry about anything other than your code and the architecture of your application within the IaaS/FaaS/DBaaS ecosystem you’re using. Both of these advantages serve to further reduce the amount of systems administration knowledge and staff required to build and operate your applications.</p><p>However, on the <em>con </em>side, building serverless applications requires new knowledge and skills — especially around using rudimentary and constantly-evolving tools — which increases the likelihood of making poor choices.</p><p>This is one of the reasons McKinley recommendations boring technology, and this is not a unique problem to serverless applications — it applies to all non-boring technology choices. It’s hard to know if you have the right plan — and even with the right plan, average developers may only execute properly 5 out of 10 times.</p><h4>Deciding which way to go</h4><p>McKinley gives the general advice that when you’re building anything, you should have at most 3 non-boring technologies; I think perhaps it would be more conservative to have 1 at most. The best determining factors should be (a) how many developers are on the project, and (b) do the lead developer(s) have direct experience with the non-boring technology.</p><p>As the number of developers goes up, and as the experience of the lead developers with the non-boring technologies go down, you should be avoiding the non-boring technologies. For example, if there’s only one lead developer who has some experience with building serverless applications, and four or fewer other developers, then I would feel comfortable going the serverless route. But if that experience is lower, or the number of developers goes higher, I would not.</p><h4>TL; DR concluding thoughts</h4><p>People bring inertia to organizations. 10X Organizations prevent people in back office functions from slowing down releases, and redirect employee involvement to those actions that provide value and differentiation to customers. Today’s IaaS/FaaS/DBaaS capabilities make this focus on solving customer problems — and nothing else — so much easier than it has ever been.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42797df2162d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a-cloud-guru/how-the-10x-organization-uses-the-cloud-42797df2162d">How 10X Organizations use the cloud to focus on customers — and nothing else</a> was originally published in <a href="https://medium.com/a-cloud-guru">A Cloud Guru</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are Technical Best Practices Cyclical (like fashion)?]]></title>
            <link>https://codeburst.io/are-technical-best-practices-cyclical-like-fashion-916520b52fe2?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/916520b52fe2</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Fri, 01 Sep 2017 17:59:37 GMT</pubDate>
            <atom:updated>2017-09-03T11:57:30.832Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P7BV3eYnEO0cYXrz-UP3Eg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/7CTBoI3BhzI?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Malte Wingen</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I have generally viewed technology best practices, especially around how software is built and deployed, to be on a progressive line, getting better as we move forward. I have seen a similarity to building construction technology, which has steadily improved over time to allow us to build bigger, safer, longer-lasting, and more designed buildings, from the thick walls of the medieval period to the flying buttresses of the Gothic period to the steel framing of skyscrapers.</p><p>However, I was recently challenged in my view, with a counter hypothesis that, in technology, “everything old is new again”, and that things go in and out of popularity in technical best practices, like fashion. And while I think there is some truth to this as far as consumer electronics and startup investments (e.g., take <a href="https://techcrunch.com/2015/04/06/with-tech-whats-old-is-new-again/">this Techcrunch article</a>), I personally think I have continually improved how well I (and my teams) build software over the past 25 years. But, always up for an opportunity to be introspective, I thought this challenge worthy of investigation.</p><h4>If It’s Not Cyclical, Where Have We Been Going?</h4><p>In order to understand why I don’t think that technical best practices around building and deploying software have been cyclical, it makes the most sense for me to explain what I think the overall trend is. In the next section, I will address specific examples that might be given to argue for cyclicality.</p><p>I think there are several overall trends that have driven best practices, and that it’s quite easy to see where we are going in the future simply by understanding how we’ve gotten to where we are today:</p><ol><li><strong>The rise of software</strong>: essentially every growing (or at least not shrinking) organization has become more and more dependent upon using software in order to be more efficient and more effective.</li><li><strong>The rise of the Internet</strong>: essentially every growing organization has similarly found that the Internet — and, in particular, high-speed, always-on, unlimited-bandwidth connections to the Internet — has dramatically improved corporate and employee efficiency.</li><li><strong>The rise of delivery of services over the Internet</strong>: growing organizations have found that where services can be delivered via software-as-a-service (SaaS) over the public Internet, it almost always makes sense to deliver them that way, as customers prefer it, and it’s much cheaper and easier to provide a better and more consistent experience. This has accelerated even more with the <strong>growth of smartphones</strong>, through which you can increasingly reach anyone at any time with a rich user experience</li></ol><p>Said another way: Software is eating the world and growing organizations are the ones that are finding ways to effectively deliver software (usually SaaS) to customers. Everyone else is dying.</p><p>If you accept the above three major drivers, then we should expect to see best practices embrace whatever technologies existed at a particular point in time to enable organizations to get the maximal benefits from software. We will naturally see changes over time as various technologies become available and affordable (e.g., desktop computers, the Internet, smartphones), but we shouldn’t see any backwards embrace of a best practice that has fallen out of favor.</p><h4>Arguments for Cyclical Best Practices</h4><p>Let’s discuss examples that can be suggested as supporting the argumentthat technical best practices are cyclical.</p><blockquote>“The Cloud” is a cyclical return to centralized computing after a detour to client-server</blockquote><p>Many of the infrastructure-as-a-service (IaaS) critics from 5 or so years back argued that it was just a return to the <a href="https://en.wikipedia.org/wiki/Computer_bureau">computer bureaus</a> of the 1960s, or other methods used primarily between the 1960s and early 1990s where mainframes used operating systems with task switchers and schedulers (e.g., Unix) to allow many users to run applications on a single piece of hardware that was maintained by someone other than the user. With these setups, users had “dumb terminals” that could only connect to the centralized server and all code was executed on that centralized server, with input coming from the dumb terminal and output being displayed on the dumb terminal.</p><p>The rise of the personal, desktop computer brought with it the client-server architecture of running a server (often just a database) centrally, and having each individual user have their own computer and client applications (“thick clients”, because the code runs on the client machine) that connected to the server. (And the simplest/original version of this was to just have the client be the server, like how Act! and Quickbooks and Access were designed).</p><p>Organizations embraced this change over mainframes + dumb terminals for two main reasons: (a) much cheaper to start, (b) easier to train employees to use the more graphical applications that could be rendered on desktop computers than on dumb terminals (DOS’s ANSI support blew away the TTY graphical options from mainframes, and then windowing OSes went even farther; Unix’s XWindows was too little, too late).</p><p>Companies building software also embraced the client-server movement because it made it much easier to deploy their software to customers, and they could customize user experiences much more, because the desktop computers had many more graphical (and other) options. Instead of having to deal with centralized gatekeepers for deployment, one only had to sell a diskette or CD to a customer, and that customer could install the software directly.</p><p>The rise of the Internet brought with it the concept of SaaS (although that term was coined roughly ten years after broad availability of at least dial-up Internet connectivity for most Americans): instead of running software locally on your computer, you could go to a web page, which was (initially) somewhat dumb-terminal-like: a web server would spit out HTML (and later CSS and Javascript), and your web browser would render that into (originally) a static page. You could type things into form fields and click buttons and images, all of which would send a request (again, somewhat dumb-terminal-like) to the web server, which would do some computation and return HTML back to the browser (again, somewhat familiar to mainframe-dumb terminals).</p><p>However, to the people <em>building</em> software, SaaS was nothing like the mainframe-dumb terminal days of old, where the software providers were at the mercy of the mainframe admins and the limitations of those mainframes. Instead, SaaS was more like delivering on diskette/CD/download, except that in some ways, SaaS was better: it dramatically reduced costs (no media! no super-expensive QA before releases!) and made for a much better end-user product (releases much more frequently!). In some other ways, though, SaaS (initially) was worse: the limitations of HTML (and then HTML+CSS+early Javascript) were very obvious when compared against a thick desktop application. And so many people had unreliable Internet connections at first that SaaS felt inappropriate for many use cases and many customers, especially around early mobile computing.</p><p>And we now live in another rise of thick-client applications. As I explain <a href="https://thenewstack.io/why-the-middle-tier-including-docker-wont-matter-to-most-of-us/">in an article I wrote more than two years ago</a>:</p><blockquote>But then the iPhone came along, and it became clear that mobile apps would be a big thing, leading many to declare applications should be build “mobile first.” The user experience of mobile apps was superior to the mobile web in many cases, so companies realized to reach customers most effectively they would need apps. Additionally, the capabilities of client web browsers improved significantly, allowing for much better browser-based user experiences with “single-page applications” (SPAs) that used Javascript to make the browser work much like a thick client-side application.</blockquote><p>But this change is much smaller to software developers than the move to SaaS (or the original move from mainframe software to desktop software). In many cases, the hosting, development, and delivery of software to SPAs looks almost identical to “thin-client” SaaS delivery. And even though having to build native apps for iOS and Android, as well as building SPAs that have to test out in four major browsers, is not pain-free, it’s still a lot less painful than having to build for multiple desktop platforms with QA processes that can certify gold masters.</p><p>The move from mainframe to client-server to simple SaaS to the new thick client SaaS is best understood from the perspective of the software developer, and the steps have been toward making it easier to deliver a better customer experience at lower cost. There’s nothing cyclical about it.</p><blockquote>Software developers used to work by connecting to mainframes and writing code on that server remotely, then they went to Visual Basic and other Rapid Application Development software toolkits that were very WYSIWYG. Then we had a return to scripting in terminals, connected remotely to cloud virtual machines.</blockquote><p>To understand these software development practices over the past 50 years, it’s useful to think about how software interfaces have changed over that time period. At a very high level, software has gone from being purely text, to being graphical and interactive but in ways that software developers themselves could manage, to being graphical and interactive in ways that require skills that the vast majority of developers do not have.</p><p>Developer tooling and practice has followed this trend around interfaces. Initially, everything was text, so all development tools were in text. In the brief period of ANSI menus and ugly/corporate client-server applications, developers could do all the design work, so developers made development tools for other developers that allowed these types of simplistic GUI designs (e.g., Microsoft Visual Basic, Borland Delphi; and even before those, Hypercard). These types of tools were very limited (designers today wouldn’t use them for all of the painful limits), but they allowed developers to build reasonable graphical interfaces.</p><p>But as soon as we moved to wanting designers on all applications (not just games), the way that development needed to happen changed. Developers needed to support the designers and implement the designs, but could go back to the most efficient workflows for developers, which involves writing precise, specific instructions — in other words, text in text editors. (Modern design practice for SPAs is probably the best example of this: designers build in a graphical design application like Sketch, and developers write lines of CSS to implement every shape/item in the layouts).</p><p>Another movement we’ve seen is that developers like to develop in environments that are identical to production, to minimize the number of issues that come up when deploying code (“works on my machine!”). So this meant developing on mainframes when they were the production target; on their own desktops when those were the target; and on remote virtual machines when those were the target. Modern DevOps, much of the deployment tooling that we have around our continuous integration systems, as well as containers now allow us to develop on our local machine in an environment that is essentially guaranteed to be the same as the the production environment, so we are seeing more and more of a return to local development. (And this is especially true with SPAs [where the actual code runs in the browser on the client] and with modern source control [where you don’t want to be working on the exact same copy of the code as other developers]).</p><h4>The Forest and the Trees</h4><p>I do think it’s possible to look at certain aspects of software and software delivery and feel like it’s cyclical, but I think upon reflection, that is much more the trees than the forest. The software we deliver today is much better from a user experience standpoint and delivered much more effectively than it ever has been. And just as we essentially never see users digging out older software because it was better, we also don’t see growing markets for mainframes in parallel with the public cloud. And we march onward!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=916520b52fe2" width="1" height="1" alt=""><hr><p><a href="https://codeburst.io/are-technical-best-practices-cyclical-like-fashion-916520b52fe2">Are Technical Best Practices Cyclical (like fashion)?</a> was originally published in <a href="https://codeburst.io/">codeburst</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stored Procedures as a Litmus Test]]></title>
            <link>https://medium.com/@JoeEmison/stored-procedures-as-a-litmus-test-c7ec772b985e?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7ec772b985e</guid>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[continuing-education]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Fri, 01 Sep 2017 15:34:03 GMT</pubDate>
            <atom:updated>2017-09-01T19:14:32.630Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0xZqZoaEBEBoVWXdLHoiA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/ZM4eXAOsjCU?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Cristina Gottardi</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I conduct screening interviews for a variety of different technical positions for a variety of different companies. One of the things that I am always worried about with any technical hire is that their education stopped years ago, with no effective way of learning new things. I wrote about why I think this happens in “<a href="https://thenewstack.io/genius-techie-doesnt-really-understand-cloud/">Your Lead Architect Doesn’t Really Understand Microservices</a>”, but suffice to say, it’s way too common, and with the rapid advancement of technological tools, you should not hire someone who hasn’t advanced their tool set in the past 10+ years.</p><p>One screening device I’ve used a number of times as a “litmus test” for “does this person learn new things in technology” is whether or not the hire would use stored procedures in a greenfield application. I think there are reasonable decisions made to continue using stored procedures in applications that rely upon them, but have viewed stored procedures as a widely-accepted architectural anti-pattern for at least the past five years (and probably closer to ten now).</p><blockquote>Before I go any further, let me explain what I mean by “litmus test”. I do not mean that if you happen to think that stored procedures are good for greenfield development that you would be automatically disqualified for any technological job. What I’m actually most interested in is how you react when I start asking you questions about the problems with stored procedures that have caused most people to stop using them. If you can understand the problems and engage and show that you understand the issues and that the problem is that you haven’t been engaged in the architectural community’s discussions of stored procedures for the past 5+ years, then the question is whether this is something that is problematic in the specific job that you would have (e.g., likely not problematic for a VP IT Operations; likely problematic for Senior Application Architect). If, however, you double down on stored procedures without having appropriate responses to the reasons that they have been largely abandoned, then you would be disqualified for not being able to adapt to new, widely-accepted technologies that are objectively better.</blockquote><p>Recently, I have been involved in a few debates over whether viewing stored procedures as a bad architectural choice for greenfield applications is an appropriate belief to have. Is it still defensible to build an application that relies on stored procedures that are tightly bound to the database server (e.g., the database server runs the stored procedures; updates to the stored procedures are commits to the database master; certain/many requests to the database must use the stored procedures)?</p><p>I have spent a fair amount of time thinking through stored procedures and reading many articles on stored procedures again, but ultimately, my opinion has not changed. I don’t think there’s any good general case for using stored procedures in a greenfield application today. This article is my explanation as to why.</p><h4>Widely Accepted as Anti-Pattern by Top Architects</h4><p>It’s worth pointing out that, as far as I can find, no keynotes at software architectural conferences or in blogs like <a href="https://www.highscalability.com/">High Scalability</a> to talk about the architectures of highly-available, widely-used code advocating stored procedures today. Perhaps the most likely candidate to use stored procedures would be the somewhat-anachronistic <a href="https://www.stackoverflow.com/">Stack Overflow</a>, which runs on bare metal, uses a Microsoft stack (including single-master SQL Server clusters) and doesn’t have what most would call a “cloud-native” architecture. Yet we can see f<a href="https://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/">rom a recent blog post on Stack Overflow’s architecture</a> that “Stack Overflow has only 1 stored procedure in the database and [the lead architect] intend[s] to move that last vestige into code.” That’s right — stored procedures are a “vestige” of an older architectural pattern according to <a href="https://nickcraver.com/">Nick Craver</a>.</p><p>I’ve spent many hours now over the past few weeks trying to find anyone who writes or speaks about application architectures who has recommended stored procedures in the past five years, and I think the most recent example I found was from 2008 (and even that was quite lukewarm). (I am not including vendor documentation or developer-advocates from database vendors; I’m talking about respected practitioners who aren’t compensated for promoting a particular technology). I don’t necessarily think that this should be dispositive, but it should carry some weight, especially if we are interested in promoting continuing education through practitioners sharing knowledge of what works.</p><h4>But Couldn’t It Be a Good Idea for Non-Web-Scale Applications?</h4><p>Let’s assume that good architectures for web-scale applications — which is the main pool for most of the experts who speak on application architectures today — are just different from good architectures for the average application. Let’s assume they’re completely different things, and we have to examine the issue of stored procedures as an architectural choice <em>de novo</em> for the “average” application. How would we do it?</p><blockquote>We should start by deciding what criteria for choosing an architecture is valid, and which is invalid.</blockquote><p>Given that the whole goal here is to identify which technical professionals are learning new things, we should not accept “the team knows it well” as a valid criteria for our architectural choices. If you let that control, then you are fundamentally rejecting continuing education as a goal in technical hires, since in that case, you will absolutely have to learn things that the team does not know.</p><p>I would also reject application speed as a criterion — if this is an average, non-web-scale application, it should be fairly trivial to make it performant for its users. (Some people argue that stored procedures are faster; they can obviously also make things slower because you’re executing potentially-unnecessary code on master database servers, which are very hard to scale. And in general, the first step to improve the performance of an application that uses many stored procedures and is not performant is to move the stored procedures to application code, as is described in the Stack Overflow blog post above). So let us ignore application performance as a criteria.</p><p>So what would be valid criteria for various application architectural choices? Here are several that I think are relevant:</p><ul><li><strong>Development velocity</strong>: what architectural choices can we make so that we can develop things faster? (a) Note that “with fewer people” is usually faster, since coordination/communication costs are really high in software development. (b) Note also that faster development almost always means “easier to QA” and “easier to deploy”</li><li><strong>Minimize technical debt, maximize agility down the road</strong>: what architectural choices can we make so that we can make changes to this application easily? So that we aren’t locked into assumptions that change in the future?</li><li><strong>Easy to staff</strong>: what architectural choices can we make so that it is easy to staff this development effort and easy to replace team members down the road? What choices can we make that are easier for the average developer/IT staff member to do successfully (versus requiring expensive, hard-to-find top-tier talent)? Note also that minimizing different skills required means minimizing the number of people needed, which should also mean easier to staff (all other things being equal).</li></ul><p>There are a few other criteria that seem like they could be in play, but are less important, like making architectural choices to attract certain talent, or making architectural choices to reduce cost, but I don’t think either of those are nearly as important as the above. (And the main cost is people, so if you succeed in having an easy-to-staff, fast development that maximizes agility down the road, then I think you’ve addressed the most important cost issues anyhow).</p><blockquote>We also need to identify the alternative(s) to stored procedures so we know what we’re comparing.</blockquote><p>So why are stored procedures used, and what are the alternatives to them?</p><p>Answer: we store and retrieve state (data) from a database. In relational databases, we normalize our data storage into multiple tables that relate to each other. And while relational databases often have the ability to create required connections between tables through foreign keys, they do not have the ability to enforce stronger requirements on the data going into and coming out of the database. So, for example, if there is a regular need to insert records into multiple tables at once that relate a certain way, and need certain clean-up and/or validation, inserting those records through stored procedures can centralize within the database layer a certain treatment of how those records work together. And the same thing can be true about retrieving data as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*KgfLDpsKv_sx0WOnQ4l5rw.jpeg" /><figcaption>Typical Stored Procedures Architecture</figcaption></figure><p>The primary alternative to stored procedures is to move the logic that executes within the stored procedure to application code that runs within the application that would otherwise be calling the stored procedure. Usually, the role of the stored procedures is played by an <a href="https://en.wikipedia.org/wiki/Object-relational_mapping">object-relational mapper (ORM)</a>, which, at the application layer (instead of the database layer) enforces the way that data is stored so that it has the correct cleaning/validation/relation between tables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/907/1*Z3Hc2KMnHbJPzNUtqXWaCA.png" /><figcaption>Typical ORM Architecture</figcaption></figure><p>Note that in a microservices-based application, an organization might choose to encapsulate the ORM as essentially a database proxy service and have other microservices (and applications) hit an API that is backed by the ORM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1q142PWT4AMowl9D9qMkPw.png" /><figcaption>Typical Data API Microservices Architecture</figcaption></figure><p>You can also see non-relational databases as being an alternative to stored procedures; e.g., document storage in something like MongoDB is to some extent a rejection of stored procedures/reworking of the concept of ORMs, where instead of converting objects to/from relational tables, the application is instead just storing the object itself into the non-relational database. Note also that none of the most popular non-relational databases (e.g., Mongo, Cassandra, Elasticsearch, Neo4j, Dynamo) have support for traditional stored procedures.</p><h4>Let’s Compare: Development Velocity</h4><p>From a development standpoint, we should see better velocity if our developers (a) need to know fewer things, (b) have fewer dependencies upon other people (especially internal IT), and (c) can test code quickly. Stored procedures present problems to each of these velocity goals.</p><p>First, stored procedures are written in SQL, which is (sadly) increasingly less and less known amongst developers. Given the rise of ORMs across all development stacks, it’s been more than 10 years since new developers have had to use SQL to write applications. So as a practical matter, in order to develop applications that use stored procedures, you will need to have developers in whatever language you’re writing your application, as well as separate stored-procedure developers writing in SQL. Note also that ORMs don’t play all that well with stored procedures (since they’re both basically solving the same problem), so your developers who are familiar with just saving their objects with ORMs will need to write custom code that interacts with the stored procedures. None of this helps with development velocity.</p><p>Second, because stored procedures are deployed separately from the application, and, because there is usually only one database master, the deployment of stored procedures is usually done separately from application deployments and by separate staff — e.g., a database administrator, who reviews and deploys the stored procedures on her own time. These restrictions almost always also exist in development, test, and QA environments, meaning that any changes to stored procedures cannot be done as quickly and have blocking dependencies on other people. In contrast, ORMs are just part of regular application code and don’t create any dependencies or requirements on any IT staff beyond whatever existing dev/test/QA/prod processes already exist for the application servers.</p><p>Third, testing stored procedures (as well as getting effective error reports from stored procedures) is substantially harder — and requires completely separate processes — from testing and getting errors from the ORM, which is just part of the application code. Writing unit and feature tests against the application and ORM is just like writing any other tests against the application — you’ll use the automated testing framework you’re already using. And, when unit-testing the ORM, you can use a mock database source (e.g., SQLite) for speed and simplicity. If you’re using stored procedures, you’ll <a href="https://msdn.microsoft.com/en-us/library/jj851212(v=vs.103).aspx">have to build entirely different tests that have to run on separately-instantiated versions of your database</a>, which will add a lot of time onto your test suite, likely more than doubling your overall testing time.</p><p>It’s very hard to me to see any way to argue that development velocity is going to be faster with stored procedures — you’re forcing development into a different environment that is necessarily more protected (by the DBAs) and harder to test. Choosing stored procedures means you need more skills and people on your team, and forces a cross-team dependency that’s just not necessary with ORMs.</p><h4><strong>Let’s Compare: Minimize technical debt, maximize agility down the road</strong></h4><p>We would like to make architectural decisions that allow us to make changes to our applications down the road without having to be stopped by crippling technical debt. Anything that locks us into particular choices that we may want to change is a potential problem here, although we must acknowledge that we have to make some choices that may be hard to change just to get things out the door in a timely fashion.</p><p>This desire is one of the main reasons for the rise of <a href="https://martinfowler.com/articles/microservices.html">microservices </a>in application architectures. If you are able to break your application into different, independently-deployable services, you make it easier to rewrite and change the application, as you can attack the rewrite/change one microservice at a time. (Note that the above link to Martin Fowler’s excellent breakdown of microservices does a good job in explaining that starting with monoliths may be better, especially if you’re not quite sure where you’re going to end up).</p><p>If you do decide upon a microservices architecture, it’s hard to understand why you would choose to use stored procedures. Stored procedures attached to a database are monolithic: they make it harder to make changes to the business logic (in the stored procedures) or to the data structure (in the database). A true microservices architecture decouples the database from the business logic that writes to the database, which will enable changing the database or the business logic writing to it without having to change the other.</p><p>But even if you have chosen a monolithic architecture, selecting stored procedures are fundamentally going to tie you to the database server you’ve chosen, and stored procedures themselves as an architectural pattern, at least until you’ve rewritten all the stored procedures as application code. In contrast, if you use an ORM, you should have no problem switching to a different ORM, to a different application language, or to a different database server. (Just consider (a) migrating from a Javascript application that uses an ORM+RDBMS to Mongo; vs (a) migrating from a Javascript application that uses Stored Procedures+RDBMS to Mongo). ORMs are fundamentally abstracted from the database, whereas stored procedures are tightly bound to it.</p><h4><strong>Let’s Compare: Easy to staff</strong></h4><p>One common challenge that every company developing software has today is that the demand for great software developers far outstrips the supply. So it’s worth picking architectural patterns that work fine if you are hiring average software developers — and you would like to make sure that even if you have a number of quite bad software developers, that they aren’t able to amplify the technical debt into your application through your architectural choices.</p><p>We’ve already talked about the fact that using stored procedures requires additional skills versus using ORMs, so let’s set that to side for this topic.</p><p>Instead, let’s ask whether it’s easier to write good stored procedures, or whether it’s easier to write good application code that uses an ORM.</p><p>This is to some extent a trick question — using an ORM in application code is trivial. You just instantiate your object, and then you load it from the database. Or you save it to the database. All validations and clean-ups you write against the ORM are just done as normal application code within your save/load functions.</p><p>In contrast, stored procedures require the skilled DBA to write SQL, which is far from as straightforward as application code. A stored-procedure-heavy architecture is one that is either terrible because of bad stored procedures, or requires substantial talent of the DBA writing the stored procedures to do them properly.</p><h4>But Wait — Other Reasons to Use Stored Procedures?</h4><p>There are a few arguments for stored procedures that I ran into in my readings that aren’t addressed by anything I’ve written above, but that I also find unconvincing; this section is for those.</p><blockquote>But wait! What if we have lots of different applications that want to pull the data?</blockquote><p>One argument I heard for stored procedures was that the reusability of stored procedures makes them simpler and better if many different applications (especially analytical applications running models) were all hitting the database, as opposed to a single application.</p><p>I don’t find this argument particularly compelling compared with a standard microservices architecture. After all, it’s often common that when you’re having multiple applications hit a single database, asking for the same type of information, you also want to do a number of other things with those requests (like use your centralized authentication systems, log them centrally, and apply rate limits and other types of controls on them) that can’t all be done in stored procedures.</p><p>So this only seems like a good argument if you’re expecting to have a monolithic architecture, and you can’t rely upon everyone accessing your data to be able to do so through an application (which could use an ORM); in other words, you have a lot of people just connecting to the database directly, and you <em>want</em> these people to be able to write to and read from the database with those direct connections. This seems like a highly questionable concept (since you can’t put the general query log on for performance reasons, how will you know who’s doing what to your database?) that seems likely to violate whatever kind of security policy you’re supposed to have.</p><p>And add to that: most analytical models end up getting run against data sources that are downstream read replicas of the transactional master databases — this is why we have seen the rise of columnar databases (Vertica, Red Shift, BigQuery) as well as parallel-processing systems like Hadoop and full-text search stores like Elasticsearch. You’ll end up ETLing the data in bulk (which won’t use stored procedures) to another system to do your analysis.</p><blockquote>But wait! Don’t stored procedures enforce better data quality and consistency than application code because they run within the database itself?</blockquote><p>I have also heard the argument that because stored procedures run within the database, they do a better job of making sure data is stored properly within the database tables than ORMs, which are more disconnected and abstracted from the database.</p><p>The problem with this argument is that stored procedures don’t do anywhere a reliable job of making sure data is stored properly in tables. Unlike enforced foreign keys and using STRICT mode in a database, stored procedures can be changed, and don’t actually enforce anything on the data already within the database tables. So even if a stored procedure is enforcing perfect data quality at time N, (a) it may not have at time N-1, and (b) people can still insert data into tables without using the stored procedure. In these ways, stored procedures are no different from the ORM — none of them guarantee anything about the data within the tables. And both stored procedures and ORM-based code can enforce clean-up on loading data, so it’s hard to see any advantage or difference there as well.</p><h4>Stored Procedures as Vestige</h4><p>For all the above reasons, I just can’t see a good argument for using stored procedures in greenfield applications, unless it is that you have a team that knows them, and that learning new architectural patterns that would give the team substantial benefits in speed and staffing are not worth the efforts to learn them. But given that all organizations appear to need software development as a core competency, I find that hard to believe and painfully short-sighted.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7ec772b985e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Truth of 10X]]></title>
            <link>https://medium.com/a-cloud-guru/the-truth-of-10x-e59a590fdeda?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/e59a590fdeda</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Wed, 30 Aug 2017 18:29:50 GMT</pubDate>
            <atom:updated>2017-08-30T19:51:15.989Z</atom:updated>
            <content:encoded><![CDATA[<h4>Start by understanding <em>who your customer is</em> and <em>what problem your software solves for the customer</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4od3sosBv3-44DcSVTS7jg.jpeg" /><figcaption><em>Photo by </em><a href="https://unsplash.com/photos/tJIriXUpxQU?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Ina Vikøren</em></a><em> on </em><a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Unsplash</em></a></figcaption></figure><p><a href="https://www.quora.com/What-is-the-truth-of-10x-programmers-do-they-really-exist-have-you-met-any-and-do-they-tend-to-have-their-own-startups-or-work-for-others">Much</a> <a href="https://erikbern.com/2016/01/08/i-believe-in-the-10x-engineer-but.html">has </a><a href="https://medium.com/@JoeEmison/your-ninja-10x-rockstar-developer-is-force-feeding-bacon-to-your-lean-startup-4578569760e8">been </a><a href="http://antirez.com/news/112">debated </a><a href="https://thenewstack.io/10x-programmer-just-jerk/">about </a><a href="https://hackernoon.com/the-10x-programmer-is-a-myth-7f9074afc038">the </a>“<a href="https://news.ycombinator.com/item?id=14244534">10X </a><a href="https://medium.com/make-better-software/the-10x-programmer-and-other-myths-61f3b314ad39">software </a><a href="https://www.hanselman.com/blog/TheMythOfTheRockstarProgrammer.aspx">developer</a>” — she who can (purportedly) do the work of 10 average engineers.</p><p>The biggest problem I have with this debate is that development velocity is usually not in the top reasons why software-driven organizations/software-development projects fail. Instead of velocity, try using a more strategic measurement — such as “effectively delivering software that customers want”. Then it’s quite easy to see that some organizations do this much more than 10 times better than the average organization. I’ll call these <em>10X organizations</em> for this article.</p><p>This article is for anyone who has ever wondered why their organization delivers software much less effectively than the best do — and how they might be able to get a competitive advantage through particular organizational, process, or talent improvements in their organization.</p><h4>This is a New Problem</h4><p>Let’s start by talking about why we have 10X organizations / why we have a big spread in effectiveness between the top 10% and the average.</p><p>In short, it is because we are finally discovering how awesome software is — that it is so quickly malleable — but we don’t yet collectively understand how to control our worst, laziest impulses in order to build effectively.</p><p>It’s worth remembering the days of all-waterfall software development, where we built software like we have to construct buildings. In those days, we planned and planned and planned, and then built and built and built, and then we had something that worked as we designed.</p><p>But that’s honestly a mediocre way to build anything. Anyone who’s designed and built a house — or even a kitchen remodel — can list off a number of things they wished they’d done differently, regardless of how much time they spent designing it and doing 3-D walkthroughs, etc.</p><p>The great thing about software — versus building construction — is that you can make changes to software much, much more cheaply and quickly. And so we started the slow process of all learning how to develop software iteratively, learning as we went, which is what we now collectively call “Agile”.</p><p>We have also been learning <em>some</em> the things that Agile makes a lot harder — more likely to over-engineer things badly, more likely to create technical debt as original assumptions are changed, too much temptation not to do any planning at all.</p><p>What we haven’t learned collectively yet is the negative impact that Agile has had on the highest strategic levels of the organization.</p><p>In other words, we now basically understand that Agile is easy to do wrong at a tactical/technical level, and if we keep changing requirements constantly, we’ll end up with a mess of code in substantial technical debt. And some of us have even learned that Agile works best if we actually do a decent amount of planning up front — at least trying to keep the roadmap set a couple of weeks in front of development, instead of trying to write stories as developers are coding them.</p><p>But what the vast majority of senior executives that I speak with haven’t learned yet is that Agile has made it incredibly easy for those executives to be very lazy with respect to making hard choices and setting focus.</p><p>The result seems to be that the organization can be extremely inclusive in its goals — w<em>e’ll be everything to everyone!”</em> seems like a virtue, but it isn’t. Agile is used an excuse to drive toward very short-term goals, and the only senior executive priority is to throw gobs of people at the most urgent problems. <em>Because software! Because Agile!</em></p><p>The reality is that successful organizations (and executives) are always making hard choices and setting focus — and, in particular, setting focus that isn’t 2–3 weeks out, but rather years out. Agile is wonderful, but it won’t get you what you want if you don’t yourself have a clear vision of what you want and a staff aligned and focused to reach that vision.</p><p>The rest of this article describes the key constraints that any organization needs to abide by in order to deliver software effectively — even in the age of Agile.</p><h4>The Most Important Things First: Customer and Problem</h4><p>To deliver software that customers want, you need to start by understanding <em>who your customer is</em> and <em>what problem your software solves for the customer</em>. The most effective organizations make each product+dev team have singular focus here: one customer, one problem for that customer at a time.</p><p>Note that the definition of a customer can encompass large numbers of people, and can have many personas within that customer group, but there is a need to have homogeneity across the customer group. As soon as a team’s focus is split between different customers who have different problems (or need them to be solved differently), you are sentencing your teams to build mediocre products with hopelessly conflicting guideposts.</p><p>The 10X organization not only has individual teams focus on one customer, one problem (at a time), but also stays very close to the customer. This is one of the reasons why many have started talking about “customer development” instead of “product development”; the former necessitates close customer contact, while the latter is usually an executive who, based on a relatively small amount of customer interaction, thinks she knows the customer.</p><blockquote>A good guide on how to do customer development correctly is Cindy Alvarez’s <a href="http://www.leancustomerdevelopment.com/">Lean Customer Development</a>.</blockquote><p>One of the reasons why there are so many great software-development tools today, whereas the tools for, say, building construction are so bad, is that the software developers making the software-development tools <em>are</em> the customers, and the problems they are solving are painful and real.</p><p>But the average company is building software to solve a problem that no one in the company has — and they are relying upon a terribly low-bandwidth telephone game from sales to product owner to product to engineering <em>at best</em>. At worst, it’s primarily relying upon 5–10 hours of conversations that the <em>de facto </em>product owner (who may be the CEO) has with various high-ranking people in the customer industry — probably not the target users of the software.</p><p>Common objections I hear to this one customer/one problem view are as follows:</p><ul><li>We are building a platform, so we have to solve multiple problems for multiple customers at once</li><li>We are building a marketplace, so we have to solve multiple problems for multiple customers at once</li><li>We are building a utility product that solves the same basic problem for many different customers at once</li></ul><p>These are all false objections, and I have yet to see a company try to solve multiple problems for multiple customers with a single team at once in any way that was efficient and successful. Your competitors are truly incompetent if you can reach significant success with such a split focus.</p><p><strong><em>We are building a platform<br></em></strong>The best solution to the first case — “we are building a platform” — is to start by solving all problems through one customer. For example, I have built SaaS for building departments before, which was a platform play: building clerks use it to handle permit workflow; building officials use it for reporting and management; building contractors use it to request permits/inspections, pay for permits/inspections, check permit/inspections status; homeowners use it to view permit histories on their homes/homes they’re interested in purchasing.</p><p>There was a very strong push to consider each of these customers and their problems semi-equally, but the far better choice to get proper adoption was to ask, “who is the most important customer in order for us to be successful, and how can we view each of the other stakeholders <em>through</em> that customer?”</p><p>The answer was to view the building official as the first and only customer (initially), because the building official made the go/no-go decision on whether the platform actually got up and running. Note that this is also the same basic choice that Salesforce.com made — the first customer was sales <em>managers</em>, not salespeople, and that still basically remains the key customer for Salesforce. <em>Just ask any salesperson how easy/fast Salesforce is to use!</em></p><p><strong><em>We are building a marketplace<br></em></strong>The second case — “we are building a marketplace” — may actually require that the organization tackle two different customers with two different problems — but the teams should be separate, and both should be viewed as working on different products. Each product, then, has one customer and one problem.</p><p>Many non-technical executives will think that the teams here need to be combined “because they’re all working on the same code”, but that makes about as much as sense as saying that two teams need to be merged because they’re both located in the same office and both use pens and paper. We understand quite well today how to set up automated testing, code review, APIs, branching/merging, continuous integration, etc so that it’s just not that hard for different teams to interact with similar code.</p><p>Although in practice, it should be quite easy for a marketplace to have two completely separate code bases — look at etsy, ebay, cdbaby, etc— they have distinct sections for buyers and sellers that only need to have their designers working from the same style guides and intelligent routing at the web server/proxy level.</p><p><strong><em>We are building a utility <br></em></strong>Finally, in the third case — “we are building a utility that has a lot of different users” — unless you start with one, you’ll build something that doesn’t work particularly well for any of your users. If they are all different enough to want to talk about separately, and their problems are all a little different, then trying to build for some kind of amalgamated average means you’re building a mediocre product that doesn’t actually solve anyone’s problem in the way that they want.</p><p>And it means your competitors will eat you by picking off a customer/problem at a time. For example, consider how Instagram has taken over social photo-sharing from the more generic social sharing Facebook, or how generic freelancer marketplaces like TaskRabbit and Guru (or even Craigslist) have lost substantial volume to more specific marketplaces like Rent-a-Coder, Rover, HomeAdvisor, and even AirBnb.</p><p>So before you get to any kind of product or software development process, let alone personnel, you need to ask whether you have the kind of singular focus and clarity on customer and problem that enable you to set a product+dev team up for success.</p><h4>Next Up: Full-Time, Singular Ownership</h4><p>After you have one customer and one problem, you need one product owner whose sole responsibility is to make sure that the solution you are developing solves the problem for the customer.</p><p>This job consists of three main activities: (a) having a coherent, consistent view of the application, how it works, and how it should grow over time; (b) proactively taking feedback from customers, potential customers, developers on the project, and others to continue to revise the roadmap for the application; and (c) continually communicating with designers, developers, product/project managers, and everyone working on the application to help them understand where it is going and to validate that all of the work being put into the product is taking it where it needs to go.</p><p>Being a product owner is almost always a full-time job. If the product owner is doing other things beyond the above items, unless you have a threadbare or part-time development staff, you have a product without an effective owner. If you have multiple people who are all doing the above items and they can override each other (or one person who occasionally checks in — like the CEO —and overrides the ostensible product owner directly with the development teams), then you will have an incoherent/inconsistent roadmap and you will have excessively long and inefficient development cycles <em>at best.</em></p><p>Remember that you are trying to leverage the great feedback cycle that you can get from customers and Agile software development that allows you to make constant changes to make the best possible solution to the problem. It is a full-time job for the product owner to be: making sure that lots of feedback is being taken in, synthesized, turned into roadmap, being communicated to the design/development teams, and being verified/accepted once development has built. There is no good way to spread the responsibility of creating and communicating this roadmap to all of the people who need to execute on it.</p><p>There is a corollary to the single product owner here: It’s extremely important that the product owner be allowed to be wrong. With great responsibility needs to come great power, otherwise it’s not possible to make good on the requirements of responsibility.</p><h4>Now, Let’s Talk About Development</h4><p>If you have one customer and one problem, and you have one product owner who is allowed to be wrong and gets to spend all of her time thinking through what the right next steps are to solve that problem for that customer, you’re likely already very far ahead of the average organization developing software today.</p><p>Even if your software development processes and talent are below average, you will likely be more successful than your competitors at solving that problem for that customer, because of the enormous benefits of focus and clarity in leadership.</p><p>But, all things being equal, even with one customer/one problem/one product owner, one organization can still execute more than 10X more effectively than another with the right talent.</p><p>There is one thing that matters more than anything else when you are purely looking at 10X engineering: leveraging existing services so that you do not have to build them yourself. That’s right — somewhat unintuitively, the thing that distinguishes the best, fastest, most efficient engineering organizations is how little code they actually write.</p><p>They don’t write code faster than the average, and they don’t necessarily even write better code than the average. They write less code, because they’re leveraging what exists.</p><p>Perhaps the best piece that’s been written on this concept to date is <a href="https://a16z.com/2014/07/30/the-happy-demise-of-the-10x-engineer/">a blog post from venture capitalists a16z</a>, which asks, “How long before we have a billion-dollar acquisition offer for a one-engineer startup?”</p><p>Yet almost everywhere I go, even when I bring technologies that dramatically reduce development time, the amount of code that has to be written, and the operational needs to keep production running smoothly, I encounter extreme resistance.</p><p>For example, <a href="https://www.algolia.com/">Algolia</a> is a great service — it’s essentially like ElasticSearch, but it’s faster, and it has all the features that normally require that engineers write a proxy to sit in front of ES (e.g., rate-limiting calls from SPAs, limiting which data gets returned for security, etc). But the most common response I get when I build a POC in Algolia for an organization is that they re-implement that functionality in ElasticSearch.</p><p><em>Why?</em> Because they know ElasticSearch. Because they can come up with some ways that Algolia is worse than ElasticSearch (e.g., dynamic sort orders), even if those aren’t critical to roadmap. Because no one is organizing the engineering function around these 10X concepts and how the organization will gain substantial business benefits from having an outsource-to-service first view of engineering.</p><p>The default rule of 10X engineering: if there’s a service out there that does the job “good enough” for the initial cut, even if it’s likely to not be sufficient for the long term, you should still use it.</p><p>Getting to market and proving out product-market fit for the solution to the problem for the customer is the key risk. <strong>The main reason most software projects fail is because they don’t reach product-market fit before the business’s ability/willingness to fund development runs out.</strong></p><p>You can always roll your own search service/image service/authentication service/pdf-processing service once you’ve figured out why the one that lots of other organizations use won’t work for your customers. In the meantime, get to market — you might just find that your assumptions about what they need are wrong!</p><p>There’s a lot of hype today about the benefits of serverless application architectures, and it’s really just a matter of time (and better tooling and better understanding of the correct architectural patterns) before they are default.</p><p>But far more relevant to the 10X organization is what has been called by some “Serviceful” development. I presented at the first Serverlessconf on my experiences and recommendations with using lots of services (<a href="https://www.slideshare.net/ServerlessConf/joe-emison-10x-product-development">slides</a>, <a href="https://www.youtube.com/watch?v=WuXAi6b0Q7Q">video</a>). Martin Fowler’s website entry on serverless, by Mike Roberts, <a href="https://martinfowler.com/articles/serverless.html#Baas-ReducedDevelopmentCost">touches briefly on this as “Backend-as-a-Service”</a> which I think is only part of the picture.</p><h4>That’s It</h4><p>So, to summarize, organizations that deliver successful software 10X faster/better than the average organization do so because they follow the following principles:</p><p>For each product + development team:</p><ul><li>One customer</li><li>One problem</li><li>One product owner</li><li>Do as little engineering as possible</li></ul><p>Anything else is suboptimal.</p><p><em>Thanks for reading! If you like what you read, hold the </em><strong><em>clap</em></strong><em> button below so that others may find this. You can </em><a href="https://twitter.com/JoeEmison"><em>follow me on Twitter.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e59a590fdeda" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a-cloud-guru/the-truth-of-10x-e59a590fdeda">The Truth of 10X</a> was originally published in <a href="https://medium.com/a-cloud-guru">A Cloud Guru</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Four Critical Practices of Effective Software Development]]></title>
            <link>https://medium.com/@JoeEmison/the-four-critical-practices-of-effective-software-development-ee568eb40515?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee568eb40515</guid>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Mon, 26 Jun 2017 20:11:01 GMT</pubDate>
            <atom:updated>2017-06-26T20:11:01.779Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the fourth in a series of posts on effective software development. This series <a href="https://medium.com/@JoeEmison/good-software-development-its-not-like-construction-f65e00d26a51">has discussed</a> of what makes modern software development so much more effective than traditional software development: frequent releases and constant velocity forever. And then it continued with an explanation of how <a href="https://medium.com/@JoeEmison/software-development-starts-with-the-product-5e038264507e">an organization should run</a> its products and technology teams so that the amount of work delivered to the development team to build is small enough and iterative enough so that these frequent releases can actually be done.</p><p>But even if your organization is doing this product side right and down-scoping features and iterating designs against users and subject-matter experts for validation, if you are not following effective software development lifecycle practices, you will fail to execute this modern software development.</p><p>In effective modern software development, development teams have a knowable velocity with minimal regression. This means that the development team can turn out new features and bug fixes and other things that need to be implemented in code frequently enough so that it is possible to release software all the time and for those releases to have meaningful changes at each release.This means that the number of bugs that come up — regressions — has to be minimal. Otherwise, the team will spend all of its time fixing bugs.</p><p>Below, I describe the four key processes that software development teams have to practice if they are going to be able to execute in this way.</p><h3>Small Stories</h3><p>Here’s process number one: small story sizes. Developers get their work in tickets, often called “stories” today because each should be written as a “user story” so that the developer understands why the work is being done and has empathy for and understanding of the user.</p><p>Small stories are great for several reasons. First, if the story calls for no more than about a day and a half of work, then if a developer miscalculates the time estimate for the job by 25 percent, that is still less than a day of additional work. This means that it’s easily possible on a weekly basis to understand whether a project is on schedule or not. If stories are estimated to take weeks, then it’s incredibly difficult to know you’re behind until after the deadline has passed.</p><p>Second, large stories tend to not be very well-specified. If a developer is given a story that she thinks will take about two weeks to do, she almost certainly will need more information than what has been written down for her. If, instead, that two weeks of work is broken down into ten different stories, each one of those probably has a rigorous enough definition so that she doesn’t have to go hunting around for whoever wrote the story to understand the additional details she needs to write the code.</p><h3>Branching / Separate Work Spaces</h3><p>The second critical practice is branching (or allowing each development to work separately in her own space) on every piece of work that needs to be done. It is still quite common for development teams to all be working on the same copy of the code stored somewhere centrally.</p><p>If you are a developer working on the same copy of the code in which another developer is breaking things, your work will be disrupted, and the day and a half that you estimated for the ticket may turn into three or four days because errors created by other developers.</p><p>In addition, if you are creating regressions in your code, you should identify those and fix those before you merged more new code in with the general population. Otherwise, whoever finds the problem that you have created now has to go track you down (which is usually difficult if everyone’s editing the same copy of the code) or has to go diagnose the problem herself, causing more delay.</p><h3>Automated Testing</h3><p>The third critical practice is automated testing. When you are a developer and you are working in your branch, you need an easy way to know whether or not you broke something by adding your new code. This means that someone needs to write a bunch of automated tests to validate that people aren’t breaking things.</p><p>I find that most effective development organizations have developers write their own tests to protect the features that they have added, but the key here is to have them deliver automated testing instead of manual quality assurance (QA) process that takes days. Also, manual QA almost never works in an environment where you have a branch for each separate piece of work that is being done. That is simply too many different things to test for manual QA to make sense financially. So manual QA can only be run once the individual branches have been merged, which means that each bug requires the “find who broke this” process, which is an unnecessarily slow and painful process vs. having automated tests.</p><p>Manual QA is often still necessary for some parts of applications, where automated testing is very difficult or impractical. But it is essentially impossible to do multiple releases per week if you have a substantial amount of manual QA to do for each release.</p><p>Many people think that it is impossible to get automated testing in place on existing projects where there is no test coverage or mechanism in place for writing or running tests already. For all of you, please stay tuned for the next post, where I will discuss how to adopt these practices with existing applications, without having to stop all forward progress on feature development for weeks or months.</p><h3>Code Review</h3><p>The fourth critical practice is code review. There is a traditional programmer adage which says “write code like the next programmer who has to work with your code is holding a gun to your head.” Code review is like getting that next programmer to look at your code and give you comments before you merge your code with the general population.</p><p>Code review does a number of great things. It means that there are several sets of eyes on code before it gets merged with the existing code base. Really effective teams usually have a fairly strict style guide, and so there is usually only one correct way to write a particular section of code. In addition, most great teams have every developer reviewing code, not just one or two senior developers. This enables really good cross-understanding of the code base, making it much easier for everyone to continue working with this code base into the future and delivering the kind of velocity and frequent releases that are necessary.</p><p>While there are other great processes that effective teams often follow, the above four elements are critical to effective modern software development. If you lack any one of the above four, you will not be able to deliver a constant velocity with minimal regressions with a scalable team for an extended period of time.</p><p><em>Originally published at </em><a href="https://thenewstack.io/software-development-effective-development-practices/"><em>thenewstack.io</em></a><em> on December 5, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee568eb40515" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Development Starts with the Product]]></title>
            <link>https://medium.com/@JoeEmison/software-development-starts-with-the-product-5e038264507e?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/5e038264507e</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Mon, 26 Jun 2017 20:05:27 GMT</pubDate>
            <atom:updated>2017-06-26T20:11:23.015Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://medium.com/@JoeEmison/good-software-development-its-not-like-construction-f65e00d26a51">In my last post</a>, I addressed how effective software development today is very different from the software development of 15 years ago. And that the best way to understand what has changed is to think of software from 15 years ago as being analogous to constructing buildings, and software development today as being a highly iterative process that is based more on development velocity and frequent releases, and less of a sense of a fixed large-scale design that is known before work begins.</p><p>However, even if you believe in this vision, if you don’t use the right processes to create designs and build software, you will likely end up in a worse place than you would have with a more traditional, waterfall development project. This is because, with a traditional development project, you are usually targeting a much larger scope that is either going to succeed or fail, usually as a one-time event. You put all of your eggs in the basket of the design, so it is simpler for the technical implementation side to take a lot of time and just build out what has been specified at the beginning. So you plan it, and then you build it, and then you see if you were correct in thinking that this was the thing that should be built.</p><h3>The Journey Never Ends</h3><p>But whether a software project — whether it is done traditionally or in a modern way — is going to succeed or fail, is based on two criteria. First, is this thing that we built something that people actually want (e.g., will pay for and/or will use). Second, were we actually able to build it?</p><p>These two criteria map to two separate teams within organizations: the product team and the development team. In traditional software development, the product team writes the specifications first and then the technical team figures out how to implement them second.</p><p>However, in modern software development, because the development never ends, no one has a complete vision from the beginning. So instead, the product team needs to give the technical team a minimal vision first. We have a lot of terms for this type of thing, like a minimum viable product, but they often get badly distorted, and there is a sense that a minimum viable product is a complete thing or a big event not unlike waterfall release. The reality is that the best modern software development organizations don’t need a complete anything in their initial release. They are releasing something minimal that a user can do something with.</p><p>In addition, in modern effective software development, there has to be a lot more back and forth between the product and tech teams then there ordinarily is with waterfall. This is because the tech team can help the product team down scope specifications to get things done more quickly. Additionally, because this product is being built iteratively, the tech team needs to understand a lot more of what the possibilities of the future may be, and why the product team is doing certain things at this point.</p><p>In the back-and-forth, the product team is delivering an empathetic and complete view of the user and the user’s problem to the tech team, and there is a collaborative effort to figure out how to down scope of the work so that it can be delivered quickly.</p><p>In modern software development, because the development never ends, no one has a complete vision from the beginning.</p><p>The most effective product teams will go through a three-stage process before handing work to be implemented to the tech team. First, the product team, through effective interviews (e.g., something like <a href="http://www.leancustomerdevelopment.com/">lean customer development</a>), identifies the basic features that will be built. At the end of this first step, the product team has identified a user, a problem, and the rough shape of a solution, combined with a number of questions around a variety of different ways that solution could be done.</p><p>The second step is a collaborative back and forth with the product team, the tech team, and any other key team members and stakeholders.</p><p>In this back-and-forth, the entire team talks about and understands what the problem is and what the solutions are. Each adds his or her own opinion and expertise on various elements of how this solution might be built. This means that the tech team can explain certain things that are easy to do technically and certain things that are hard. In addition, the product team can adjust their notion of what should be done in the light of the feedback they are getting. You should be able to see that if the scope is too large, this process will take way too long, so it’s critical to have down scoped before you reach this point.</p><p>The third step is that the product team takes the information they got from the collaborative meeting and they go back to the customers with a firmer sense of what is likely to be built, and they specify it with high rigor, including full designs and interactions laid out in unambiguous wireframes and or documentation.</p><p>This sets up an extremely effective framework to provide the development team with small enough scoped and validated specifications so that the development team can do iterative releases frequently and customers can see meaningful improvements in each release.</p><p>Now, not everything that development does needs to be specified in this way. Certainly, bug fixes and small tweaks and even categories of small features can be implemented without this type of rigor. But core features of the application should be implemented this way and then significant improvements or revisions to those features should also be implemented in this way.</p><p>If you follow these processes properly, you stand the best chance of delivering software that people actually want to use and pay for. However, we still haven’t talked about the specific technical practices and processes that need to be followed in order to do this kind of high-velocity frequent release develop. And <a href="https://medium.com/@JoeEmison/the-four-critical-practices-of-effective-software-development-ee568eb40515">that is for the next post</a>.</p><p><em>Originally published at </em><a href="https://thenewstack.io/software-development-starts-product/"><em>thenewstack.io</em></a><em> on November 28, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5e038264507e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Good Software Development: It’s Not Like Construction!]]></title>
            <link>https://medium.com/@JoeEmison/good-software-development-its-not-like-construction-f65e00d26a51?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/f65e00d26a51</guid>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Mon, 26 Jun 2017 20:03:05 GMT</pubDate>
            <atom:updated>2017-06-26T20:03:05.066Z</atom:updated>
            <content:encoded><![CDATA[<p>The practice of writing software has changed dramatically in the past 15 years. The difference between the best software development team and the worst is absolutely enormous.</p><p>On the one hand, you have Netflix and WhatsApp, truly spectacular software packages that have changed how the world consumes media and communicates with each other. On the other hand, you have the state of Oregon that <a href="http://www.zdnet.com/article/oregon-settles-with-oracle-for-100m-over-failed-healthcare-exchange/">wasted hundreds of millions</a> building absolutely nothing with Oracle.</p><p>In this post, I’ll lay out what has changed over the past 15 years, and why if you were doing anything in software development like how you were doing it five or more years ago, you are likely doing it in a much worse way than you could.</p><p>Perhaps the best way to see the critical importance of effective software development in the modern world is to look at Netflix. In 2009, WSJ columnist Martin Peers <a href="http://www.wsj.com/articles/SB123776433980008861">argued that Netflix was at its peak</a>:</p><p><em>Hollywood studios appear to be waking up to the threat posed by Netflix’s instant-watch service, which the company says is being used by millions of its subscribers … [S]ome of the studios are pondering their online movie- or TV-subscription services.</em></p><p>But here we are, and today Netflix’s stock is trading <a href="http://finance.yahoo.com/quote/NFLX?p=NFLX">more than 700 percent higher</a> than when Peers wrote that column. Netflix survived for long enough of a middle-man in delivery of content to consumers that now it is a content producer in its right (and much harder to disintermediate).</p><p>So what happened to those studio-backed movie and TV subscription services? Disney (mentioned in Peers’ 2009 piece as a company considering one) launched its service… <a href="https://techcrunch.com/2015/11/23/disneylife-disneys-new-streaming-service-for-movies-tv-music-and-more-goes-live/">in 2015</a>. Starz (the source of much of Netflix’s content) launched theirs… <a href="http://www.bizjournals.com/denver/blog/boosters_bits/2016/04/starz-launches-streaming-video-service.html">in 2016</a>.</p><p>Peers’ assumption — and still the assumption of so many people, both technical and non-technical, is that it should be fairly simple just to go build some software and launch a service. That’s a bad assumption.</p><h3>Good Software Is Hard to Write</h3><p>The reality is that building good software efficiently is hard. And the difference between the average product development team (meaning both product and software development personnel) and the best is absolutely massive. The best lets Netflix launch and scale its service quickly and effectively; the average results in many years from conception to delivery of a significant new software-as-a-service at an enterprise.</p><p>Note that I am not talking solely about the “<a href="http://thenewstack.io/10x-programmer-just-jerk/">10X software developer</a>” here — this as much about the product personnel and the way the team works together as individual developer talent.</p><p>The reality of highly effective software today is that it changes constantly.</p><p>And the average is far closer to the worst than the best: my copy of <a href="https://www.dashlane.com/">Dashlane</a> password manager gets less usable and less stable with each release. <a href="https://www.concur.com/">Concur</a>, the software through which I have to submit my receipts, crashes when I upload a receipt with Chrome, the most popular web browser in the world. <a href="http://www.salesforce.com/">Salesforce</a> still takes millions of clicks to put in or retrieve information.</p><p>This is all the more embarrassing, given that software is eating the world and the most effective companies are the ones that can most effectively develop software — or at least leverage existing software to get things done. (And the above-mentioned companies with mediocre software are successful ones!)</p><p>The best way to understand how software development has changed in the past 15 years is to look at it as a popular analogy for software development in the physical world.</p><h3>Prepare for Constant Change</h3><p>Fifteen years ago, comparing software development to the construction residential or commercial structures was a pretty good analogy. The general idea for building both with the same: you would plan completely, upfront, what needed to be built and you would have lots of stakeholders approve the exact thing that would be built. And then you would go through a long period where you would build the thing, and then it would be done just as it had been laid out in the plans. And any future modifications would be relatively small scale in light of the overall footprint of the building (like interior remodeling vs. changing the exterior structure).</p><p>The reality of highly effective software today is that it changes constantly. Even two years after the initial release, highly effective software has many additional features and is easier to use. The most obvious characteristic of highly effective software is that it is constantly changing and that there are very frequent releases: think of how Chrome updates itself or how Facebook does multiple releases every day.</p><p>So the traditional analogy to constructing a building is no longer appropriate if what you want to do is to develop highly effective software today.</p><p>Please note that this requires a really substantial shift in thinking that many professionals who have presided over software development projects of the past simply are unable to adjust to. This applies to both technical and non-technical professionals alike.</p><p>But so many executives both technical and non-technical, still generally think about the physical construction analogy. They also continue to use the same tools that they have always used and that also lets them down in substantial ways when compared with highly effective software development.</p><p>I have written on a number of the reasons <a href="http://thenewstack.io/genius-techie-doesnt-really-understand-cloud/">why technology executives and developers and professionals tend not to update their skills</a>: fundamentally, there is no real mechanism in the industry that is helping people stay current. But there is also another reason, which is that the advances that have been made in software development over the past 15 years have been iterative. And that means that each advance wasn’t necessarily a dramatic improvement from the way things were done before.</p><h3>Evolve, Don’t Construct</h3><p>So, for all those who have been involved in software development for at least ten years, let’s step back and walk through why building software is not like constructing buildings:</p><p>The most important difference to understand between erecting a building and creating software is that physical construction is a capital project, whereas building effective software is much more of an ongoing operational project. The older view of the living software is based around the idea that you essentially lay out all of the key architecture and infrastructure and elements in a bigger piece of development, and then you do some additions and add more features.</p><p>Modern, effective software development gets the software out to the customer as quickly as possible and is happy to downscope viciously to do so. This means that the first version that customer see is never a complete anything. If you are re-writing an existing system with modern software development, you necessarily are targeting a subset of users with a subset of features. And then you are using the development capacity (also known as velocity), and frequent releases and the interaction you can get with your users and their immediate feedback, to iteratively build software that is much more responsive and much more delightful than it would be otherwise.</p><p>Again: this requires a substantial shift in thinking that many professionals who have presided over software development projects of the past simply are unable to adjust to. This applies to both technical and non-technical professionals alike.</p><p>Technical professionals often over-engineer solutions. This means that when a specification comes down for v1.0, technology professionals often want to make sure that whatever initial architecture and technology is chosen to implement the specification can last for years and years like one would choose building materials for a structure.</p><p>But more often than not, the specifications are deeply imperfect. They are based upon assumptions around how the users will want to use the software and they almost always fail to take into account any really deep understanding of where the user might be going in the future.</p><p>For example, it would have been hard in 2007 to have predicted the complete ubiquity of smartphones. The application platform backend and middle tier that is needed for desktop experiences with high-speed internet are not the same architecture and back end needed for mobile devices with intermittent connectivity issues and slow JavaScript rendering engines. And the way one best handled those mobile users in 2013 was quite different from the best practices of how to handle them today. So trying to set up technological architectures to last without change for 3+ years is to doom your software to mediocrity.</p><p>Non-technical executives also have difficulty understanding how software can be built iteratively as a function of velocity and releases, as opposed to a grand vision from a product genius. This is especially difficult when building a software product that is replacing a legacy software product. But the reality is that everyone has been trained by the best software developers in the world to get iterative releases. We all understand what a beta version is today. Many people understand the <a href="http://www.producthunt.com/">Product Hunt</a> world where people thrive on getting early access to new versions of software so that they can be part of influencing that software’s future roadmap.</p><p>And because we can segment users so easily in the modern world, we can make beta versions available to subsets of users very easily so that when we need to deliver software out to users who only want rock solid stable versions, we can do so at a marginal cost of zero. And, if we have validated every iterative release off real users who are similarly situated to the users with rock solid lock down needs, we will have dramatically higher confidence that when we do release the formal, stable release, it will be what is needed.</p><p>In the world of modern, effective software development, the two most important metrics are the frequency of release and the velocity of development. If your organization is releasing new versions to customers very frequently and your developers are adding good new functionality with each release, then you can build software the way software should be built.</p><p>If you understand the difference between building software as a capital project like a structure, versus building software as a function of velocity and frequent release, then the next question you may ask is, what are the processes one can use to actually do frequent effective releases?</p><p>And that is a great question because it takes using modern software development processes to be effective. You cannot use the software development lifecycle of 2005 and expect to have an effective velocity with frequent releases. I will talk about the specific processes in my next posts.</p><p><em>Originally published at </em><a href="https://thenewstack.io/modern-effective-software-development-15/"><em>thenewstack.io</em></a><em> on November 21, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f65e00d26a51" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It’s All About Software Development: The Fierce Rise of Amazon Web Services]]></title>
            <link>https://medium.com/@JoeEmison/its-all-about-software-development-the-fierce-rise-of-amazon-web-services-63c6517f47d2?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/63c6517f47d2</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[amazon-web-services]]></category>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Mon, 26 Jun 2017 20:00:01 GMT</pubDate>
            <atom:updated>2017-06-26T20:00:01.882Z</atom:updated>
            <content:encoded><![CDATA[<p>The coverage of the rise of Amazon Web Services (AWS) into a $10-Billion-dollar-a-year company is rarely accompanied by a coherent, comprehensive explanation of <em>why</em>. Why did Amazon rise so quickly with its public Infrastructure-as-a-Service (IaaS), and why is it taking so much spend from so many players (hardware, software, and services) so quickly?</p><p>The press around the rise of AWS tends to either skip over any explanation of why companies are moving to public IaaS, or tend to focus on the trees instead of the forest: things like cloud bursting (which basically no one does), or fine-grained pricing.</p><p>The rise of Amazon Web Services is about the rise of software, period. It is a natural consequence of Marc Andreessen’s observation that <a href="http://www.wsj.com/articles/SB10001424053111903480904576512250915629460">software is eating the world</a>, and the technology companies that get this are the ones that are going to be the most successful.</p><p>If software is eating the world (companies are increasingly becoming software companies), then the forward progress of companies is directly related to their ability to develop software effectively.</p><p>It is a fairly simple logical path: Whether a company will be successful, and how successful it will be, relates directly to how effectively it can develop and deliver software.</p><p>Today, a huge part of successful business execution is around execution on software development. And software development is not easy to do correctly. In my experience, the vast majority of companies are developing software in ways that experts know leads to sub-optimal results, and yet most of these companies have no clue.</p><p>This relates to the lack of effective continuing education in technology, demand outstripping supply for good talent, and technological innovation outstripping most companies’ ability to leverage it.</p><p>Amazon Web Services’ public IaaS offers to software development what Software-as-a-Service (SaaS) offered to traditional business processes.</p><p>Why did Salesforce disrupt Act!? How has Google Docs disrupted a good chunk of Microsoft Office? Why do most of us prefer web- and mobile-app-based software over desktop software? Because SaaS is just better software: bugs get fixed faster, new features come out faster, and we can pay per use, instead of big capital investments up front.</p><p>Software development before Amazon Web Services sometimes meant waiting weeks or months for IT to provision development machines. Only being able to deploy updates every quarter because of manual IT and QA processes. And the business’s growth based on software being delayed because of these slow processes. The rise of AWS can be traced to tons of conversations like this:</p><p><strong>Business</strong>: “Why will making this simple new program take us nine months?”<br><strong>Software Development</strong>: “Well, the development will only take three months, but getting the machines provisioned for development, and then test, and then deployed to production adds another six.”<br><strong>Business</strong>: “Isn’t there any way to make it go faster?”<br><strong>Software Development</strong>: “Well, we could go around IT and buy from AWS and get all of the machines we need up and running within minutes.”<br><strong>Business</strong>: “But how much will that be?”<br><strong>Software Development</strong>: “A few hundred dollars per month”<br><strong>Business</strong>: “Here’s my corporate card. Go.”</p><p>Today, Amazon removes so much friction from traditional software development and software deployment processes, while still providing all of the elements of what is needed to deploy software effectively for essentially every company (to the point that it is getting <a href="http://thenewstack.io/amazon-web-services-isnt-winning-problems-poses/">increasingly</a> and problematically <a href="https://gigaom.com/2014/07/07/amazon-web-services-achilles-heel-complexity/">complex</a>). Reducing the time to develop and deploy software translates directly into higher growth for the increasingly larger numbers of companies that are using their software to capture more revenue.</p><p><em>Originally published at </em><a href="https://thenewstack.io/software-development-fierce-rise-aws/"><em>thenewstack.io</em></a><em> on November 14, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63c6517f47d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Startup CEOs: You Are Overestimating Your Tech Talent]]></title>
            <link>https://medium.com/@JoeEmison/startup-ceos-you-are-overestimating-your-tech-talent-5738de8b8838?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/5738de8b8838</guid>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Mon, 27 Jul 2015 21:39:38 GMT</pubDate>
            <atom:updated>2015-07-27T21:39:38.687Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SFsCpne4AzfFvPkSHImIfQ.jpeg" /></figure><p>I have been struck recently over many conversations with different VC-funded startup CEOs (series A or B money, all at least $5M) at how strong the CTO/tech team rockstar/ninja kool-aid seems to be. “Our tech guys are smarter than everyone else in the world” seems to be a pervasive sentiment. Generally speaking, the CTO/tech team also seems to believe that about themselves, and usually the CEO is personally self-effacing and does not have that kind of personal arrogance.</p><p>I know that there are dark days and uncertainty within a startup, and that you do have to “fake it until you make it”, but there’s a real danger in drinking that kool-aid and missing out on the fact that everything reverts to the mean, and not everyone can even be “above average”, let alone the smartest people in the world. The reality is that your startup that’s survived to series A likely has pretty decent tech talent, but it’s unlikely that they’re significantly better than the tech talent at other startups that have survived similarly.</p><p>In particular, it is a big mistake to assume that your tech team is going to be able to solve problems that were really hard for other tech teams, unless you’re willing to make solving those problems one of your core competencies (and the other tech teams were not willing to do so).</p><p>As a tech co-founder, I am extremely appreciative of the support that I get from my CEO, but I would never want her to (nor does she) assume that I will be able to solve problems that other talented teams have failed to solve for way less money and/or in way less time and/or with way less organizational focus than they have.</p><p>So if you’re a tech CEO who believes that your CTO and tech teams are far superior to everyone else out there, I would say: the confidence is good, and probably necessary, but you have to make sure that you spend some of your time sober enough to acknowledge reality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5738de8b8838" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[There are Two Types of “A” Players]]></title>
            <link>https://medium.com/@JoeEmison/there-are-two-types-of-a-players-62978fe11c1a?source=rss-1ad0befc3866------2</link>
            <guid isPermaLink="false">https://medium.com/p/62978fe11c1a</guid>
            <dc:creator><![CDATA[Joe Emison]]></dc:creator>
            <pubDate>Mon, 27 Jul 2015 21:34:50 GMT</pubDate>
            <atom:updated>2015-07-27T21:34:50.585Z</atom:updated>
            <content:encoded><![CDATA[<p>Why is it that there seems to be the assumption that all “A” players are those who live to work, work 60+ hour weeks, and generally immerse themselves with their work?</p><p>I employ “A” players who want to work 40 hours a week and spend the rest of the time with their families. They are excellent at what they do; they just want to do it as a job, not as a lifestyle, and they want to compartmentalize it into 9–5, M-F.</p><p>Why is that so hard to believe?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62978fe11c1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>