Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7081177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:53:14+00:00 2026-05-28T06:53:14+00:00

We are implementing a SOA-architecture the Udi Dahan way, which means that services are

  • 0

We are implementing a SOA-architecture the Udi Dahan way, which means that services are business-aligned autonomous components (we have few services, each own a part of the domain and they are not allowed to call each other). We are using nservicebus pub/sub. I am trying to figure out the best way to handle “cross-cutting” data concerns.

Let me give you an example:

We have a game service which the user can use to play games. The games have deadlines and we want to warn when the deadline closes by sending the user a mail. The mail will contain data from multiple services. Now, since services can not call other services, I see a few different approaches:

1) Handle it in the game-service

Publish enough messages from the other services so that the game-service can store its own version of the data it needs and therefore do not need to dependent upon data from other services when it wants to compose the mail.

Cons:

-More messages need to be published
-Denormalization of data
-Fussy data-ownership (one fact in multiple places)
-Cumbersome to add new data to the mail (more messages, store the stuff in the game service)

2) Create an aggregating service.

Create an aggregating service which will listen to service events, store everyting it needs to create the mail and fire it off when the game-service notifies that the deadline is closing.

Cons:

-Pretty much the same as 1), but data-ownership is a lot more clear

3) Create a client

Create a “client” (this client will not have a gui and will be nservicebus hosted, pretty much the same as a service, but also something very different). The client will subscribe to bus-events and just like 2) it will get notified by the game service when the deadline is closing. The client will compose mail by querying the services it needs to gather the information it needs.

Cons:

-A client service (fuzzy architecture)
-Everything needed to compose the mail must be queryable (exposed)

How did you do this in your great pub/sub Udi style SOA architecture? 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T06:53:15+00:00Added an answer on May 28, 2026 at 6:53 am

    If you can do HTML email, then have your email component grab the HTML output of a URL that does the regular form of composition. If you can’t do HTML, then you’ll need the IT/Ops service to collect the information (but that is done via in-process communication to components from the various business services that are installed on the same endpoint).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing an SOA at a large company, and I'm not sure which web
Given a (current) project that implements a 2-tier architecture with a well-separated on-tier business
I'm working on the initial architecture for a solution for which an SOA approach
When implementing a needle search of a haystack in an object-oriented way, you essentially
When implementing Quicksort, one of the things you have to do is to choose
When implementing HTTP services in node.js, there is a lot of sample code like
When implementing a Matrix construct using arrays, which would be more efficient? Using a
I'm enamoured with the idea of implementing my own single-entry-point gateway that does two
I am sitting with a problem and hope that you can help me.I'm implementing
Implementing a Thread by providing a new class that extends Thread and overriding its

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.