Welcome!

Microservices Expo Authors: Elizabeth White, Pat Romanski, Kevin Jackson, Yeshim Deniz, Jason Bloomberg

Related Topics: Microservices Expo, Java IoT, @CloudExpo

Microservices Expo: Article

How to Ensure the Quality of Your Microservices Architecture By @webcodepro | @CloudExpo #Cloud #Microservices

A microservices architecture is inherently complex and if not designed and coded correctly, serious problems can occur

How to Ensure the Quality of Your Microservices Architecture with Peer Code Reviews
by Janet Wagner

Over the past few years, a growing number of companies have made the move from a monolithic to microservices architecture.

The list of companies that have made the switch include: Netflix, Amazon, Twitter, and PayPal.

A microservices architecture consists of smaller services, each focusing on completing a specific task. Each of these small services, or microservices, can be developed in any language and each can communicate using protocols that are language neutral such as HTTP resource APIs.

A microservices architecture is inherently complex and if not designed and coded correctly, serious problems can occur.

One of the biggest challenges of switching to a microservices architecture is that teams often operate independently from each other.

Each team is responsible for building and deploying one or more microservices to production. Netflix for example, broke down its monolithic architecture into microservices when the number of platform engineers reached about 100. Today, Netflix has about 30+ engineering teams responsible for building and deploying approximately 500+ fine-grained services.

The greater number of engineering teams and microservices, the greater the chances that code errors and other issues will occur.

This is where peer code reviews come in.
One of the best ways to ensure the design and code quality of a microservices architecture is by conducting peer code reviews throughout the development process.

In 2013, Microsoft conducted a study to find out "the motivations, challenges, and outcomes of tool-based code reviews." The study looked at the many diverse teams at Microsoft and found that while the primary reason for conducting code reviews was finding defects, there were many other benefits to conducting peer code reviews.

These include:

  • Shared knowledge across teams: Peer code reviews allow developers to share knowledge, discuss alternative solutions, and improve coding skills which in turn helps teams produce clean, well-written code. Architectural problems and security issues can often be caught by conducting code reviews.
  • Mentorship: Peer code reviews can be used as a way for team leaders to mentor new members and help familiarize them with the project. New members can learn via peer code reviews different aspects of a project such as architecture design, coding conventions, tools available, APIs to use, and more.
  • Shared Ownership: Peer code reviews can help promote the concept "shared code ownership" in which team members work together often having overlapping coding responsibilities. The idea being that the entire team owns the code instead of individual developers owning portions of the code.

Peer code reviews can help enable awareness, transparency, and open communication for every member of every engineering team. This is especially important considering that there can be dozens of autonomous engineering teams involved in the development of a microservices architecture.

One of the keys to implementing peer code reviews is making sure you have the right tools to do it.

Using proper peer code review tools is very important for companies of all sizes, but especially for large companies with many engineering teams and a large number of microservices. Large companies can have difficulty with communication across many engineering teams, effective communication capabilities is an important feature of a code review tool.

There are a number of peer code review solutions available, the best choice depends on the needs of your company.

GitHub
One of the most popular tools for conducting peer code reviews is GitHub. There are many engineering teams that use GitHub for source control and pull requests for code that is ready for review. GitHub comments can be used by teams to discuss code changes and other issues. Once the review is approved and finalized, the code can be merged.

Collaborator
Collaborator
is a code review tool that helps development, testing, and management teams work together to produce high quality code. It allows teams to peer review code, user stories and test plans in a transparent, collaborative framework - instantly keeping the entire team up to speed on changes made to the code.

By enabling team members to work together to review their work, Collaborator can help you catch bugs before your software hits the market.

Collaborator also features GitHub pull request support providing an enhanced peer code review workflow.

Internal solutions
Some companies have built and use their own internal tools for conducting peer code reviews. For example, there are many Microsoft developers that use a collaborative code review tool called CodeFlow. CodeFlow is an in-house code review tool developed and used by Microsoft. CodeFlow not only allows developers and managers at Microsoft to conduct code reviews, but also makes it possible to mine data from code reviews as well as generate metrics and analytics from the data.

Peer code review tools help companies streamline the peer code review process and help ensure that useful feedback is produced.

Choosing the best peer code review system and tools for a project based on microservices depends on a variety of factors including the number of engineering teams and microservices involved. If the project involves dozens of autonomous teams building and deploying hundreds of microservices, a highly scalable, efficient peer code review system would be needed.

The lasting benefits of peer code review
A microservices architecture is often built, deployed, and managed by many engineering teams each responsible for one or more specific services.

Peer code reviews can help companies promote open communication, transparency, knowledge sharing, shared code ownership, and many other benefits.

These benefits can help ensure code quality and architectural consistency across many engineering teams and microservices.

Need help implementing code review?
Everyone on your team understands the benefits of using a tool for code review except for one person; your boss. To help with this issue, we've recently interviewed over a handful of developers who have given us their best guidelines for how you can successfully approach your boss when it comes time to implementing a code review tool.

They explain what they want you to know and what they want you to do to get your bosses approval for a code review tool.

More Stories By SmartBear Blog

As the leader in software quality tools for the connected world, SmartBear supports more than two million software professionals and over 25,000 organizations in 90 countries that use its products to build and deliver the world’s greatest applications. With today’s applications deploying on mobile, Web, desktop, Internet of Things (IoT) or even embedded computing platforms, the connected nature of these applications through public and private APIs presents a unique set of challenges for developers, testers and operations teams. SmartBear's software quality tools assist with code review, functional and load testing, API readiness as well as performance monitoring of these modern applications.

@MicroservicesExpo Stories
You know you need the cloud, but you’re hesitant to simply dump everything at Amazon since you know that not all workloads are suitable for cloud. You know that you want the kind of ease of use and scalability that you get with public cloud, but your applications are architected in a way that makes the public cloud a non-starter. You’re looking at private cloud solutions based on hyperconverged infrastructure, but you’re concerned with the limits inherent in those technologies.
The reality of data ubiquity is here—data is buried in operational statistics, machine logs, stacks of overflowing tickets and customer details, among other things. How can any user get valuable information amid this rapid influx of data? Imagine a situation where your firm’s revenue takes a hit owing to an unexpected failure in some business process. It would be a nightmare for IT admins to sift through the interminable piles of data to deduce exactly why and where the problem occurred. To sav...
What's the role of an IT self-service portal when you get to continuous delivery and Infrastructure as Code? This general session showed how to create the continuous delivery culture and eight accelerators for leading the change. Don Demcsak is a DevOps and Cloud Native Modernization Principal for Dell EMC based out of New Jersey. He is a former, long time, Microsoft Most Valuable Professional, specializing in building and architecting Application Delivery Pipelines for hybrid legacy, and cloud ...
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
"We are a monitoring company. We work with Salesforce, BBC, and quite a few other big logos. We basically provide monitoring for them, structure for their cloud services and we fit into the DevOps world" explained David Gildeh, Co-founder and CEO of Outlyer, in this SYS-CON.tv interview at DevOps Summit at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
There's a lot to gain from cloud computing, but success requires a thoughtful and enterprise focused approach. Cloud computing decouples data and information from the infrastructure on which it lies. A process that is a LOT more involved than dragging some folders from your desktop to a shared drive. Cloud computing as a mission transformation activity, not a technological one. As an organization moves from local information hosting to the cloud, one of the most important challenges is addressi...
Cloud Expo, Inc. has announced today that Andi Mann and Aruna Ravichandran have been named Co-Chairs of @DevOpsSummit at Cloud Expo Silicon Valley which will take place Oct. 31-Nov. 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. "DevOps is at the intersection of technology and business-optimizing tools, organizations and processes to bring measurable improvements in productivity and profitability," said Aruna Ravichandran, vice president, DevOps product and solutions marketing...
SYS-CON Events announced today that CA Technologies has been named "Platinum Sponsor" of SYS-CON's 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business - from apparel to energy - is being rewritten by software. From planning to development to management to security, CA creates software that fuels transformation for companies in the applic...
In the decade following his article, cloud computing further cemented Carr’s perspective. Compute, storage, and network resources have become simple utilities, available at the proverbial turn of the faucet. The value they provide is immense, but the cloud playing field is amazingly level. Carr’s quote above presaged the cloud to a T. Today, however, we’re in the digital era. Mark Andreesen’s ‘software is eating the world’ prognostication is coming to pass, as enterprises realize they must be...
Both SaaS vendors and SaaS buyers are going “all-in” to hyperscale IaaS platforms such as AWS, which is disrupting the SaaS value proposition. Why should the enterprise SaaS consumer pay for the SaaS service if their data is resident in adjacent AWS S3 buckets? If both SaaS sellers and buyers are using the same cloud tools, automation and pay-per-transaction model offered by IaaS platforms, then why not host the “shrink-wrapped” software in the customers’ cloud? Further, serverless computing, cl...
Hybrid IT is today’s reality, and while its implementation may seem daunting at times, more and more organizations are migrating to the cloud. In fact, according to SolarWinds 2017 IT Trends Index: Portrait of a Hybrid IT Organization 95 percent of organizations have migrated crucial applications to the cloud in the past year. As such, it’s in every IT professional’s best interest to know what to expect.
A common misconception about the cloud is that one size fits all. Companies expecting to run all of their operations using one cloud solution or service must realize that doing so is akin to forcing the totality of their business functionality into a straightjacket. Unlocking the full potential of the cloud means embracing the multi-cloud future where businesses use their own cloud, and/or clouds from different vendors, to support separate functions or product groups. There is no single cloud so...
The taxi industry never saw Uber coming. Startups are a threat to incumbents like never before, and a major enabler for startups is that they are instantly “cloud ready.” If innovation moves at the pace of IT, then your company is in trouble. Why? Because your data center will not keep up with frenetic pace AWS, Microsoft and Google are rolling out new capabilities. In his session at 20th Cloud Expo, Don Browning, VP of Cloud Architecture at Turner, posited that disruption is inevitable for comp...
Companies have always been concerned that traditional enterprise software is slow and complex to install, often disrupting critical and time-sensitive operations during roll-out. With the growing need to integrate new digital technologies into the enterprise to transform business processes, this concern has become even more pressing. A 2016 Panorama Consulting Solutions study revealed that enterprise resource planning (ERP) projects took an average of 21 months to install, with 57 percent of th...
In 2014, Amazon announced a new form of compute called Lambda. We didn't know it at the time, but this represented a fundamental shift in what we expect from cloud computing. Now, all of the major cloud computing vendors want to take part in this disruptive technology. In his session at 20th Cloud Expo, Doug Vanderweide, an instructor at Linux Academy, discussed why major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform are all trying to sidestep VMs and containers wit...
New competitors, disruptive technologies, and growing expectations are pushing every business to both adopt and deliver new digital services. This ‘Digital Transformation’ demands rapid delivery and continuous iteration of new competitive services via multiple channels, which in turn demands new service delivery techniques – including DevOps. In this power panel at @DevOpsSummit 20th Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, panelists examined how DevOps helps to meet the de...
"When we talk about cloud without compromise what we're talking about is that when people think about 'I need the flexibility of the cloud' - it's the ability to create applications and run them in a cloud environment that's far more flexible,” explained Matthew Finnie, CTO of Interoute, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
Colocation is a central pillar of modern enterprise infrastructure planning because it provides greater control, insight, and performance than managed platforms. In spite of the inexorable rise of the cloud, most businesses with extensive IT hardware requirements choose to host their infrastructure in colocation data centers. According to a recent IDC survey, more than half of the businesses questioned use colocation services, and the number is even higher among established businesses and busine...
For most organizations, the move to hybrid cloud is now a question of when, not if. Fully 82% of enterprises plan to have a hybrid cloud strategy this year, according to Infoholic Research. The worldwide hybrid cloud computing market is expected to grow about 34% annually over the next five years, reaching $241.13 billion by 2022. Companies are embracing hybrid cloud because of the many advantages it offers compared to relying on a single provider for all of their cloud needs. Hybrid offers bala...
@DevOpsSummit at Cloud Expo taking place Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center, Santa Clara, CA, is co-located with the 21st International Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is ...