From the Blogosphere
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
By: SmartBear Blog
Apr. 1, 2016 02:13 PM
How to Ensure the Quality of Your Microservices Architecture with Peer Code Reviews
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.
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.
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.
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.
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
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?
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.
Latest Cloud Developer Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
SYS-CON Featured Whitepapers
Most Read This Week