DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Low-Code Development: Leverage low and no code to streamline your workflow so that you can focus on higher priorities.

DZone Security Research: Tell us your top security strategies in 2024, influence our research, and enter for a chance to win $!

Launch your software development career: Dive head first into the SDLC and learn how to build high-quality software and teams.

Open Source Migration Practices and Patterns: Explore key traits of migrating open-source software and its impact on software development.

Avatar

Danny Logsdon

CEO at HoloModular

Company website: https://HoloModular.com

Jacksonville, US

Joined Oct 2022

About

I am an innovative, business executive and software architect who turns creative ideas into enterprise-class technology based upon proven design standards, methodologies and with a commitment to excellence that ensures high levels of reliability and quality for customers in a matrixed, team-based environment.

Stats

Reputation: 350
Pageviews: 11.7K
Articles: 3
Comments: 1
  • Articles
  • Comments

Articles

article thumbnail
Query SQL and NoSQL Databases Using Artificial Intelligence
Learn how to use artificial intelligence to query database tables with simple user input.
June 24, 2024
· 2,008 Views · 2 Likes
article thumbnail
Strategies for Building Self-Healing Software Systems
Self-healing software describes resilient and fault-tolerant components that allow a system to be more autonomous, here are some potential strategies.
June 20, 2024
· 5,083 Views · 5 Likes
article thumbnail
Using a Body With an HTTP Get Method Is Still a Bad Idea
Learn why it's technically possible but generally not recommended to send a body with an HTTP GET request.
June 17, 2024
· 4,567 Views · 9 Likes

Comments

Embedding a Microservice Into Another

Oct 14, 2022 · Claudio Guidi

Thank you for the article, this is a common issue I keep seeing. When microservices with dependencies on other microservices, they become too chatty. The synchronous or asynchronous communication adds to the overall network overhead, especially in event-driven designs. By moving the microservices to run embedded with each other solves this. The hard part is how to achieve this.


I have recently built and am releasing a brand new microservice platform in a few weeks (shameless plug). https://ServiceBrick.com I solved this problem for this technique by using domain events. By embedding and running microservices together in the same process or container, and sharing a common eventing mechanism, especially with a repository-based design, you can hook into the event pipeline a share those same events with a base/core library, without a reference at all. Another solution would be to host an in-memory service bus to share those events specifically between them.


The services themselves are independent, self-contained and form a valid business domain context. But often dependencies between them when in the context of comprising an application, this becomes a more common problem. There is no rule that says you can't host microservices together. Another tool in the toolbelt.

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: