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
Newsletter
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
Partner Zones Build AI Agents That Are Ready for Production
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
Partner Zones
Build AI Agents That Are Ready for Production

Just dropped: New 2026 “Cloud-Native Foundations” Trend Report. See how teams are tackling complexity, cost & reliability.

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: 512
Pageviews: 37.5K
Articles: 5
Comments: 1
  • Articles
  • Comments

Articles

article thumbnail
From Prompt to Running Microservice: ServiceBricks Step-By-Step
Using ServiceBricks and this step-by-step guide, create modular microservices from scratch with artificial intelligence, source code generation, and a prompt.
December 24, 2024
· 6,151 Views · 4 Likes
article thumbnail
Why AI-Assisted Code Generation Is Transforming Software Development
AI-assisted code generation is revolutionizing software development through its use of machine learning, which is significantly reducing development time and errors.
August 15, 2024
· 5,471 Views · 5 Likes
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
· 4,431 Views · 3 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
· 8,072 Views · 6 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
· 13,396 Views · 10 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

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

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 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook