Welcome!

Microservices Expo Authors: Elizabeth White, Liz McMillan, Yeshim Deniz, Carmen Gonzalez, Pat Romanski

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
Culture is the most important ingredient of DevOps. The challenge for most organizations is defining and communicating a vision of beneficial DevOps culture for their organizations, and then facilitating the changes needed to achieve that. Often this comes down to an ability to provide true leadership. As a CIO, are your direct reports IT managers or are they IT leaders? The hard truth is that many IT managers have risen through the ranks based on their technical skills, not their leadership abi...
The essence of cloud computing is that all consumable IT resources are delivered as services. In his session at 15th Cloud Expo, Yung Chou, Technology Evangelist at Microsoft, demonstrated the concepts and implementations of two important cloud computing deliveries: Infrastructure as a Service (IaaS) and Platform as a Service (PaaS). He discussed from business and technical viewpoints what exactly they are, why we care, how they are different and in what ways, and the strategies for IT to transi...
Without a clear strategy for cost control and an architecture designed with cloud services in mind, costs and operational performance can quickly get out of control. To avoid multiple architectural redesigns requires extensive thought and planning. Boundary (now part of BMC) launched a new public-facing multi-tenant high resolution monitoring service on Amazon AWS two years ago, facing challenges and learning best practices in the early days of the new service.
All organizations that did not originate this moment have a pre-existing culture as well as legacy technology and processes that can be more or less amenable to DevOps implementation. That organizational culture is influenced by the personalities and management styles of Executive Management, the wider culture in which the organization is situated, and the personalities of key team members at all levels of the organization. This culture and entrenched interests usually throw a wrench in the work...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm.
As software becomes more and more complex, we, as software developers, have been splitting up our code into smaller and smaller components. This is also true for the environment in which we run our code: going from bare metal, to VMs to the modern-day Cloud Native world of containers, schedulers and micro services. While we have figured out how to run containerized applications in the cloud using schedulers, we've yet to come up with a good solution to bridge the gap between getting your contain...
As organizations realize the scope of the Internet of Things, gaining key insights from Big Data, through the use of advanced analytics, becomes crucial. However, IoT also creates the need for petabyte scale storage of data from millions of devices. A new type of Storage is required which seamlessly integrates robust data analytics with massive scale. These storage systems will act as “smart systems” provide in-place analytics that speed discovery and enable businesses to quickly derive meaningf...
DevOps is often described as a combination of technology and culture. Without both, DevOps isn't complete. However, applying the culture to outdated technology is a recipe for disaster; as response times grow and connections between teams are delayed by technology, the culture will die. A Nutanix Enterprise Cloud has many benefits that provide the needed base for a true DevOps paradigm. In his Day 3 Keynote at 20th Cloud Expo, Chris Brown, a Solutions Marketing Manager at Nutanix, will explore t...
DevOps has often been described in terms of CAMS: Culture, Automation, Measuring, Sharing. While we’ve seen a lot of focus on the “A” and even on the “M”, there are very few examples of why the “C" is equally important in the DevOps equation. In her session at @DevOps Summit, Lori MacVittie, of F5 Networks, explored HTTP/1 and HTTP/2 along with Microservices to illustrate why a collaborative culture between Dev, Ops, and the Network is critical to ensuring success.
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend @CloudExpo | @ThingsExpo, June 6-8, 2017, at the Javits Center in New York City, NY and October 31 - November 2, 2017, Santa Clara Convention Center, CA. Learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
Everyone wants to use containers, but monitoring containers is hard. New ephemeral architecture introduces new challenges in how monitoring tools need to monitor and visualize containers, so your team can make sense of everything. In his session at @DevOpsSummit, David Gildeh, co-founder and CEO of Outlyer, will go through the challenges and show there is light at the end of the tunnel if you use the right tools and understand what you need to be monitoring to successfully use containers in your...
What if you could build a web application that could support true web-scale traffic without having to ever provision or manage a single server? Sounds magical, and it is! In his session at 20th Cloud Expo, Chris Munns, Senior Developer Advocate for Serverless Applications at Amazon Web Services, will show how to build a serverless website that scales automatically using services like AWS Lambda, Amazon API Gateway, and Amazon S3. We will review several frameworks that can help you build serverle...
The IT industry is undergoing a significant evolution to keep up with cloud application demand. We see this happening as a mindset shift, from traditional IT teams to more well-rounded, cloud-focused job roles. The IT industry has become so cloud-minded that Gartner predicts that by 2020, this cloud shift will impact more than $1 trillion of global IT spending. This shift, however, has left some IT professionals feeling a little anxious about what lies ahead. The good news is that cloud computin...
SYS-CON Events announced today that HTBase will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. HTBase (Gartner 2016 Cool Vendor) delivers a Composable IT infrastructure solution architected for agility and increased efficiency. It turns compute, storage, and fabric into fluid pools of resources that are easily composed and re-composed to meet each application’s needs. With HTBase, companies can quickly prov...
An overall theme of Cloud computing and the specific practices within it is fundamentally one of automation. The core value of technology is to continually automate low level procedures to free up people to work on more value add activities, ultimately leading to the utopian goal of full Autonomic Computing. For example a great way to define your plan for DevOps tool chain adoption is through this lens. In this TechTarget article they outline a simple maturity model for planning this.
While DevOps most critically and famously fosters collaboration, communication, and integration through cultural change, culture is more of an output than an input. In order to actively drive cultural evolution, organizations must make substantial organizational and process changes, and adopt new technologies, to encourage a DevOps culture. Moderated by Andi Mann, panelists discussed how to balance these three pillars of DevOps, where to focus attention (and resources), where organizations might...
The rise of containers and microservices has skyrocketed the rate at which new applications are moved into production environments today. While developers have been deploying containers to speed up the development processes for some time, there still remain challenges with running microservices efficiently. Most existing IT monitoring tools don’t actually maintain visibility into the containers that make up microservices. As those container applications move into production, some IT operations t...
For organizations that have amassed large sums of software complexity, taking a microservices approach is the first step toward DevOps and continuous improvement / development. Integrating system-level analysis with microservices makes it easier to change and add functionality to applications at any time without the increase of risk. Before you start big transformation projects or a cloud migration, make sure these changes won’t take down your entire organization.
Software development is a moving target. You have to keep your eye on trends in the tech space that haven’t even happened yet just to stay current. Consider what’s happened with augmented reality (AR) in this year alone. If you said you were working on an AR app in 2015, you might have gotten a lot of blank stares or jokes about Google Glass. Then Pokémon GO happened. Like AR, the trends listed below have been building steam for some time, but they’ll be taking off in surprising new directions b...
@DevOpsSummit has been named the ‘Top DevOps Influencer' by iTrend. iTrend processes millions of conversations, tweets, interactions, news articles, press releases, blog posts - and extract meaning form them and analyzes mobile and desktop software platforms used to communicate, various metadata (such as geo location), and automation tools. In overall placement, @DevOpsSummit ranked as the number one ‘DevOps Influencer' followed by @CloudExpo at third, and @MicroservicesE at 24th.