By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
vantagefeed.comvantagefeed.comvantagefeed.com
Notification Show More
Font ResizerAa
  • Home
  • Politics
  • Business
  • Tech
  • Health
  • Environment
  • Culture
  • Caribbean News
  • Sports
  • Entertainment
  • Science
Reading: Why microservices may die as the monolith returns with a vengeance
Share
Font ResizerAa
vantagefeed.comvantagefeed.com
  • Home
  • Politics
  • Business
  • Tech
  • Health
  • Environment
  • Culture
  • Caribbean News
  • Sports
  • Entertainment
  • Science
Search
  • Home
  • Politics
  • Business
  • Tech
  • Health
  • Environment
  • Culture
  • Caribbean News
  • Sports
  • Entertainment
  • Science
Have an existing account? Sign In
Follow US
vantagefeed.com > Blog > Technology > Why microservices may die as the monolith returns with a vengeance
Why microservices may die as the monolith returns with a vengeance
Technology

Why microservices may die as the monolith returns with a vengeance

Vantage Feed
Last updated: December 1, 2024 4:48 am
Vantage Feed Published December 1, 2024
Share
SHARE

Join our daily and weekly newsletters for the latest updates and exclusive content on industry-leading AI. learn more


The move to microservices started gaining momentum in the early 2010s as technology companies recognized the limitations of monolithic architectures. However, many companies such as: Amazon (Prime Video), Invision, Istio, and Segment We’re moving back to monolithic architecture. This article explores why many organizations fail to migrate to a microservices architecture.

What is a monolith?

Monolithic architecture is easy. When a user requests data, all business logic and data resides within a single service. However, monolithic systems face challenges such as limited scalability, difficulty deploying updates, and vulnerability to single points of failure.

Creation date Kamba by author.

To address this, many organizations are opting for microservices-based I’ve been trying to move towards architecture.

Why microservices?

In an ideal microservices architecture, each business domain operates as its own independent service with its own database. This configuration has benefits such as increased scalability, flexibility, and resiliency. Consider the diagram below.

Created by the author on Canva.

reality

However, recent trends show that many companies are moving away from this and sticking with monolithic architectures. This level of harmony is difficult to achieve in the real world. The reality is often as shown in the diagram below.

Created by the author on Canva.

Moving to a microservices architecture is known to introduce complex interactions between services, circular calls, data integrity issues, and let’s be honest, it’s nearly impossible to get rid of the monolith completely. Learn why some of these issues arise when you move to a microservices architecture.

Bad domain boundaries

In an ideal scenario, a single service should encapsulate one or more complete business domains, with each domain self-contained within the service. Avoid splitting your domain into multiple services, as this can lead to interdependencies between services. The following diagram shows how a single service can include one or more entire domains and maintain clear boundaries.

Created by the author on Canva.

In complex real-world systems, domain boundaries can be difficult to define, especially when data has traditionally been conceptualized in a particular way. The following diagram shows how real-world systems often look in a microservices architecture when boundaries are not predefined or when engineers add new services without considering domain boundaries. It shows.

Created by the author on Canva.

If your domain is not clearly defined, you will become more dependent on other services, leading to multiple issues, including:

  • Circular dependencies or excessive calls: When services are interdependent, they require frequent data exchange.
  • Data integrity issues: When a single domain is split between services, deeply coupled data is split between multiple services.
  • Ambiguous team ownership: Multiple teams may need to collaborate on overlapping domains, creating inefficiency and confusion.

Tight coupling of data and functionality

In monolithic architectures, it is difficult to enforce encapsulation in a single codebase, so clients often skip the specified interface and access the database directly. This may lead developers to opt for shortcuts, especially if the interface seems unclear or complex. Over time, this creates a web of clients tightly connected to specific database tables and business logic.

When moving to a microservices architecture, each client must be updated to work with the new service API. However, the client is tightly tied to the monolith’s business logic, so you will need to refactor the logic during migration.

Resolving these dependencies without breaking existing functionality takes time. Updates for some clients are often delayed due to the complexity of the work, and some clients remain using the monolith database after migration. To avoid this, engineers may create new data models in new services and keep the existing models within the monolith. When models are deeply linked, data and functionality is split between services, leading to multiple cross-service calls and data integrity issues.

data migration

Data migration is one of the most complex and risky aspects of migrating to microservices. It is important to transfer all relevant data accurately and completely to the new microservice. Many migrations stop at this stage due to complexity, but successful data migration is key to realizing the benefits of microservices. Common challenges include:

  • Data integrity and consistency: Errors during migration can result in data loss or inconsistency.
  • Data volume: Transferring large amounts of data can be resource-intensive and time-consuming.
  • Downtime and Business Continuity: Data migration requires downtime and can disrupt business operations. A smooth transition with minimal impact to users is important.
  • Testing and validation: Rigorous testing is required to ensure that the migrated data is accurate, complete, and functions properly with the new service.

conclusion

While microservices architectures may seem appealing, moving away from a monolith is difficult. Many companies are stuck in limbo, with increasing system complexity, data integrity issues, circular dependencies, and unclear team ownership. Many companies are reverting to a monolithic approach because the benefits of microservices cannot be fully exploited in the real world.

Supriya Lal is the Group Technology Officer for the Commerce Platforms organization. Yelp.

data decision maker

Welcome to the VentureBeat community!

DataDecisionMakers are experts, including data technologists, who can share their data-related insights and innovations.

If you want to read about cutting-edge ideas, updates, best practices, and the future of data and data technology, join DataDecisionMakers.

You may also consider contributing your own article.

Read more about DataDecisionMakers

You Might Also Like

Microcenter Geek Store returns to Silicon Valley to fill in the flies’ vacuum

This video doorbell camera has as many features as my rings and does not require a subscription

Twitch adds 1440p and vertical streaming

Today’s NYT Mini Crossword Answer on May 31st

Walt Disney World finally gets its night parade this summer

TAGGED:diemicroservicesmonolithreturnsvengeance
Share This Article
Facebook Twitter Email Print
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow US

Find US on Social Medias
FacebookLike
TwitterFollow
YoutubeSubscribe
TelegramFollow

Weekly Newsletter

Subscribe to our newsletter to get our newest articles instantly!

Subscribe my Newsletter for new posts, tips & new Articles. Let's stay updated!

Popular News
Shoppers stop in their tracks as HDFC AMC among 11 companies to announce financial results on January 14th
Business

Shoppers stop in their tracks as HDFC AMC among 11 companies to announce financial results on January 14th

Vantage Feed Vantage Feed January 14, 2025
USA and Jamaica head to CONCACAF Nations League showdown
Boeing Hydrofoils used to paint Puget Sounds a rough look
Boeing begins certification flight testing of 777X with FAA, Air Current reports Reuters
Printable 2024-25 Maryland Terrapins Basketball Schedule; TV Broadcasts, Matchups
- Advertisement -
Ad imageAd image
Global Coronavirus Cases

Confirmed

0

Death

0

More Information:Covid-19 Statistics

Importent Links

  • About Us
  • Privacy Policy
  • Terms of Use
  • Contact
  • Disclaimer

About US

We are a dedicated team of journalists, writers, and editors who are passionate about delivering high-quality content that informs, educates, and inspires our readers.

Quick Links

  • Home
  • My Bookmarks
  • About Us
  • Contact

Categories & Tags

  • Business
  • Science
  • Politics
  • Technology
  • Entertainment
  • Sports
  • Environment
  • Culture
  • Caribbean News
  • Health

Subscribe US

Subscribe my Newsletter for new posts, tips & new Articles. Let's stay updated!

© 2024 Vantage Feed. All Rights Reserved.
Welcome Back!

Sign in to your account

Lost your password?