DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
  • DevOps Chats
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • CloudBees
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
MENUMENU
  • AI
    • MLOps

      Cloudera Calls for MLOps Standards Initiative

      Future Innovative UX Without UI

      Designing a Future of Innovative UX, Without UI

      Testim

      Testim Adds SDK to AI-Based Testing Platform

      IBM AI

      IBM Zones in on DevOps for AI

      Virtana

      Virtual Instruments Changes Name to Virtana to Drive AIOps

  • Cloud
    • Cloud Migration Open Source Overview

      An Overview of Cloud Migration and Open Source

      Long-Term Cloud-Native Security

      Practical Approaches to Long-Term Cloud-Native Security

      AWS machine learning

      AWS Applies Machine Learning to Optimize Cloud Deployments

      ELK

      Logz.io Adds Monitoring Service Based on ELK and Grafana

      HPE

      HPE Adds Control Plane to Greenlake Managed Service

  • Continuous Delivery
    • Automic CA Broadcom Release Automation

      DevOps Chats: Automic + CA + Broadcom, a Release Automation Journey

      Harness

      Harness Adds Analytics to CDaaS Platform

      Dell Boomi Dives Into DevOps

      Dell Boomi Dives Into DevOps

      Implement an Effective CI/CD Pipeline

      How to Implement an Effective CI/CD Pipeline

      CloudBees continuous delivery

      CloudBees Advances Continuous Delivery

  • Continuous Testing
    • testing

      DevOps Chats: Enterprise Continuous Testing With a Shift-Right Mindset

      Investing Mobile Device Testing Lab

      Investing in a Mobile Device Testing Lab

      IBN’s Success is Driven by Formulating the Right Test Validation Strategy

      IBN’s Success is Driven by Formulating the Right Test Validation Strategy

      Steps to Ensuring Validity of Your Business-Critical Data

      5 Steps to Ensuring Validity of Your Business-Critical Data

      Agile and DevOps Success Needs Continuous Testing

      Agile and DevOps Success Needs Continuous Testing

  • DevSecOps
    • DevSecOps Progress Survey

      Survey: DevSecOps Progress Remains Elusive

      Security Missing DevOps Implementations

      Why Is Security Missing in Many DevOps Implementations?

      Shifting Left – But How Far Left Do Companies Need to Go?

      Shifting Left – But How Far Left Do Companies Need to Go?

      Long-Term Cloud-Native Security

      Practical Approaches to Long-Term Cloud-Native Security

      DevSecOps Requires Teamwork Success

      DevSecOps Requires Teamwork for Success

  • Leadership Suite
    • There's No Such Thing as an Open Source Business Model

      There’s No Such Thing as an Open Source Business Model

      IT Admins Maintain Secure Access

      How Can IT Admins Maintain a Grip on Secure Access?

      Product IT Operating Model

      The Next Frontier for Enterprises: Moving to a Product IT Operating Model

      SMBs Struggle Digital Transformation

      SMBs Struggle with Digital Transformation

      CIOs survey

      Many CIOs Left Out in the Cold, Survey Finds

  • Practices
    • Untapping the Potential of DevOps, Part 3: Keys to Success

      Untapping the Potential of DevOps, Part 3: Keys to Success

      Cloud Migration Open Source Overview

      An Overview of Cloud Migration and Open Source

      Infrastructure as Code Key Automation Concepts

      Infrastructure as Code and Six Key Automation Concepts

      Security Missing DevOps Implementations

      Why Is Security Missing in Many DevOps Implementations?

      mainframe

      Testing Emerges as DevOps Hurdle in Mainframe Shops

  • ROELBOB
    • career-opportunity

      Career Opportunity

      revision-cycle

      Revision Cycle

      opportunity-knocks

      Opportunity Knocks

      resume-review

      Résumé Review

      hierarchy-of-needs

      Hierarchy of Needs

  • Toolbox
    • envoy

      Solo.io Creates Registry for Extensions to Envoy Proxy Server

      Cloud Migration Open Source Overview

      An Overview of Cloud Migration and Open Source

      service mesh

      HashiCorp Advances Open Source Consul Service Mesh

      DevOps Tools Monitoring Ecosystem

      DevOps Tools for the Monitoring Ecosystem

      Predictions 2020: The Future of APM Strategies and Tools

      Predictions 2020: The Future of APM Strategies and Tools

  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » DevOps Practice » Five Microservices Worst Practices

Microservices Worst Practices

Five Microservices Worst Practices

Eric SchabellBy Eric Schabell on November 13, 2019 1 Comment

Microservices are moving to the mainstream. The IDC FutureScape: Worldwide IT Industry 2019 Predictions states that by 2022, 90% of all new apps will feature microservices architecture that “improve the ability to design, debug, update and leverage third-party code.”

Related Posts
  • What DevOps Needs to Know About Microservices
  • Sharding for Scale: Architecture Matters
  • The DevOps.com Containerization and Microservices Survival Guide
    Related Categories
  • Blogs
  • DevOps Practice
  • Enterprise DevOps
    Related Topics
  • legacy applications
  • microservice architecture
  • microservices
  • monolithic applications
Show more
Show less

With so many organizations adopting or about to adopt microservices, they must be doing something right. In fact, just considering the model is a positive step toward delivering quality software, faster. However, many companies are leaving microservices benefits on the table because there are many pitfalls on the road to success. It’s about so much more than just a technology choice and starting to code microservices.

Indeed, breaking your apps into microservices isn’t enough—you have to manage them, orchestrate them and deal with the data they create and modify. Before you even touch the keyboard it’s a good idea to think about a few points of strategy to ensure success.

Here are five microservices worst practices and how to turn them around.

Implementing Microservices Without the Prerequisites

You can’t take Calculus II without taking Calculus I. Similarly, you can’t roll out microservices without the proper prerequisites. To fully leverage microservices, companies must consider modularity and domain boundaries, and the fundamental distributed systems theory should be considered and established. In addition, while each service is independent, there are operational requirements that must be met. These include DevOps; PaaS; containers or immutable VMs; service replication, registry and discovery; and proactive monitoring and alerts.

Implementing Microservices Without Making Changes to the Development Culture

The biggest mistake organizations make when moving to a microservices architecture model is underestimating how it’s changing the way they need to think about applications and especially the way they think about the teams developing those applications. Traditionally, there are many people involved in the development of an application, with each coming at it from his or her own perspective—the UI specialist, the middleware specialist, DBAs, sysadmins and so on. What worked for one might not work for the other when it gets thrown over the wall, and it often takes a lot of time and frustration to make everything work for everyone. Trying to do microservices without changing that model and mindset will almost certainly set your team up for failure. Instead, think in terms of cohesive, cross-functional teams, each fully responsible for its own unique services and its own set of customers for those services. Each team’s working with other teams as if it’s a business-to-business (B2B) relationship. It’s not an easy cultural transition, but it’s one that is essential for microservices to work.

Going Too Big and Broad Out of the Gate

An organization that goes all-in on microservices all at once is almost certain to run into problems that could completely derail the initiative altogether. Pick a small project, and staff it with people who see the potential of microservices and are excited to work with the technology. Once that project has been successfully completed, use it as a proof point to promote the further use of microservices across the organization and to get others on board.

Misplaced Expectations

Organizations are right to question the performance impact that microservices will have when migrating an existing monolithic application to a microservices model. But their concerns—and expectations—are often misplaced. Yes, there can be a performance hit when decomposing existing monolithic applications in favor of microservices. But what organizations need to understand is the goal of microservices is deployment speed over API invocation speed.

Isolating the development of a service within a team (as mentioned earlier) means the service can be updated as needed—whether that’s weekly, daily or even hourly—in response to business, competitive and security demands. In its Worldwide IT Industry 2019 Predictions report, IDC notes it is “already seeing enterprises that have shifted fully to these new approaches (and supporting tools and technologies) that dramatically accelerate their ability to push out digital innovation through their organization at 50-100 times (or more) the frequency of their traditional approaches.”

Picking the Wrong Applications to Microservice-ize

This worst practice is linked closely to the previous one. Organizations that pick the wrong applications to split into microservices or decompose an entire monolith without thinking about which parts might be best as microservices (and which would fail miserably as microservices) will have the odds stacked against them from the get-go. A financial application or a high-volume application that makes multiple calls may not be good candidates for microservices. Or, it may be that parts of these applications would work well in the microservices model even if the monolith as a whole doesn’t. The idea is to examine each legacy application carefully and to build new applications with microservices in mind from the beginning.

If you’re thinking that it takes a lot to establish a microservices foundation, you’re right. It’s a big investment, and it may take some time before there is a return on that investment. But organizations that move toward microservices in a thoughtful, purposeful way—exploiting the best practices of those that have gone before them—will likely find themselves more agile, more secure and more competitive.

Filed Under: Blogs, DevOps Practice, Enterprise DevOps Tagged With: legacy applications, microservice architecture, microservices, monolithic applications

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)

Like this:

Like Loading...
Sponsored Content
Featured eBook
Dev vs. Ops: The State of Accountability

Dev vs. Ops: The State of Accountability

There has long been a divide between development and operations teams. But recently, there has been a movement, within both small startups and massive enterprise organizations alike, to break down these metaphorical walls and build bridges of shared accountability between the two functions. With the emergence of roles like DevOps ... Read More
« DevOps Chats: Plugins Extend Spinnaker for the Enterprise
DevOps Chats: Canary Deploys Using Istio, with Autodesk »

Top Stories of the Week

  • View DevOps.com Privacy Policy

Digital Anarchist Live

Digital AnarchistDigital Anarchist
Download DevOps.com App on Roku, Fire TV, Apple TV, Android and iOS.

Upcoming Webinars

Mon 16

IT as Code: Disrupting the Disruption

Mon, December 16, 1:00 pm - 2:00 pm EST
Wed 18

2020 Testing Trends: Top Predictions for QA Teams to Watch, Join, and Lead

Wed, December 18, 11:00 am - 12:00 pm EST
Jan 15

Design Patterns for Continuous Everything

Wed January 15, 2020, 1:00 pm - 2:00 pm EST

More Webinars

Past Webinars

Latest from DevOps.com

Cloudera Calls for MLOps Standards Initiative
December 13, 2019 | Mike Vizard
Solo.io Creates Registry for Extensions to Envoy Proxy Serve...
December 13, 2019 | Mike Vizard
SolarWinds Acquires VividCortex for Database Monitoring
December 13, 2019 | Mike Vizard
Survey: DevSecOps Progress Remains Elusive
December 13, 2019 | Mike Vizard
There’s No Such Thing as an Open Source Business Model
December 13, 2019 | Chip Childers

Most Read on DevOps.com

DevOps Tools for the Monitoring Ecosystem
December 9, 2019 | Sean Porter
DevOps Chats: Software Architecture for Cloud Native, .NET C...
December 9, 2019 | Mitchell Ashley
Opportunity Knocks
December 9, 2019 | ROELBOB
Shifting Left – But How Far Left Do Companies Need to Go?
December 10, 2019 | Shahar Sperling
Can We Do Without DevOps?
December 10, 2019 | Veronica Chizh

On-Demand Webinars