OpsDev is Coming
Written by: Electric Bee
1 min read

Enter OpsDev
Let’s assume we are building the following service for an appliance company that makes smart refrigerators. Here is outlined sample outline of user’s experience: Your car recognizes you as you climb inside. The smart refrigerator at home has notified your smartphone to stop and pick up some groceries. It gives you three options. The first supermarket requires no detour, but it does not have your favorite flavor of ice cream in stock. The second supermarket has a bit of a detour, adding 10 minutes driving time, but it has all of your favorite brands for the items in your shopping list. And lastly, the third supermarket will add 15 minutes driving time, but has all your favorite items in stock and additionally offers a discount coupon that will save you $12 off your grocery bill. Once you pick the supermarket, the car displays the most optimized driving route on its multimedia infotainment system. In the not-so-distant future, as companies attempt to capitalize on offering an integrated personalized user experience, several data sources and services must be integrated together: the grocery list from your smart fridge, inventory data from supermarket chains, coupon data from food companies and supermarket chains, traffic and geospatial data. These different data sources are provided by different providers and hosted in the different data centers. To access them, you will need the different credentials and the different processes and the different APIs. The designers for this personalized service must understand the different service level agreements (SLAs) from the different data sources and services because the user experience will be impacted if the integrated service has issues retrieving the right information in a timely manner. As a retailer, you don’t want the end user to make the extra 15 minute drive only to find out that their favorite products are out of stock and the grocery bill is actually $20 higher because they cannot use coupons and or because they were forced to buy substitutes. As you can see, the delivery of such personalized software services impacts the design paradigm and now must be inverted. While DevOps tends to start with the developer-led challenges (e.g., code review and code standards, build management and continuous integration), it ultimately sits in the wheelhouse of operations teams once the application is promoted into production; OpsDev begins with the end in mind. Once we understand the interdependencies of the different data sources and its availability, we can then design the component that ties everything together. Additionally, the smart fridge software is constantly updated. New sensors are being enabled to offer the different kind of data. The personalized service must also keep up with the new kind of data so the service can offer different personalized services. The frequency of software updates for the personalized service may be driven by the software updates from the other services that this personalized experience depends upon. So the designer must develop an automated system to receive update alerts from the services that it depends on and immediately make recommendations on which component of the service will be impacted by such update, and when the personalized service must be updated in order to be synchronized with the rest of the services.What is OpsDev?
OpsDev means that the dependencies of the various application components must be understood and modeled first before the development process begins. In addition, the consideration for infrastructure stability, environment modeling, security and audit/compliance measures are first and foremost. Application components are stubs and they do not need to be in their final forms. Secondly, the environments in which the components will be deployed for production must be modeled. Thirdly, the processes to deploy the various components to the target environments must be automated as much as possible. By doing the above, the design and development teams can replicate the application and environment models, and automated processes in the development and test phase in a consistent way. By easily replicating the production environment and processes in development and test, the design, development and test teams will know the production constraints and parameters very early on, such that they develop the applications with those constraints and parameters in mind. In the traditional model, a lot of time is wasted troubleshooting applications that have been approved by QA in the staging or production data centers. And often times, the deployment must be cancelled because the approved applications are dead on arrival in the staging or production environment because the environments are slightly different. Furthermore, in the OpsDev approach, a release pipeline that orchestrates the deployment of applications to dev, test, staging and production environments will not only accelerate the overall process of deployments in various environments through automation and parallelization, but it will also improve quality by minimizing error-prone manual tasks. The release pipeline can aggregate several commit pipelines that make up a release. A commit pipeline is the individual application pipeline that orchestrates the continuous integration and continues testing. A release may contain several applications developed by several project teams. Each project team can have its own commit pipeline. The collection of commit pipelines from the different teams for the different applications can be aggregated into a release pipeline. The release pipeline will understand the interdependencies among the applications and will marshal those applications into staging and production environments. The release pipeline can have manual and automatic approval gates to make sure that the release is approved and is going on the right deployment schedule. From the OpsDev approach, the release pipeline can be integrated with ITSM (Information Technology Service Management) and APM (application performance monitoring) solutions. The release pipeline can seek for an approval by sending the electronic bill of materials of the soon-to-be deployed applications to an ITSM solution (“service desk”) and open a change request ticket. The IT director will get the notification of the upcoming deployment via their ITSM dashboard. The ITSM solution can then marshal the request through the ITSM review and approval workflow. Upon the approval by the IT director, the ITSM solution can send the signal to the release pipeline to schedule the deployment. Upon successful deployment, the release pipeline can inform the ITSM solution about the successful deployment by updating the status of the corresponding change request. The release pipeline can also be integrated with an APM solution. The release pipeline can deploy the applications in the staging environment and kick off the APM solution to monitor the performance and load testing. The APM can report whether the applications can meet the SLA. If so, the application can move forward with the deployment into the production environment. Otherwise the release pipeline will be stopped and an alert will be generated about the failure of meeting the target SLA. In the production environment, the APM solution can monitor the transactions, performance and load. When it reaches a certain threshold, the APM can notify the release pipeline to add more server capacity by deploying more applications in the data centers. Upon receiving the request from the APM, the release pipeline will create a change request to the ITSM solution. Upon the approval from the ITSM solution, the release pipeline deploys the same set of apps to more servers to bring in more capacity. When the capacity is no longer needed, the APM can notify the release pipeline to turn off some servers and return the servers to the pool for other uses. As you can see, the proliferation of IoT and user-experience-based mobile apps, companies cannot afford to develop products in the traditional development paradigm because of the increased interdependencies of SaaS services and application components (software in devices, software in data center, and mobile app and web app) that make up a single cohesive user experience. Apple, in its crusade to make our lives more efficient by encouraging Apple developers to think of user experiences first and offering the integrated Apple personalized services, may accelerate the mind shift from DevOps to OpsDev.
Stay up to date
We'll never share your email address and you can opt out at any time, we promise.