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 6553349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:34:15+00:00 2026-05-25T12:34:15+00:00

I have a running system that process short and long running operations with a

  • 0

I have a running system that process short and long running operations with a Request-Response interface based on Agatha-RRSL.

Now we want to change a little in order to be able to send requests via website in Json format so i’m trying many REST server implementation that support Json.
REST server will be one module or “shelve” handled by Topshelf, another module will be the processing module and the last the NoSQL database runner module.

To talk between REST and processing module i’m thinking about a servicebus but we have two types of request: short requests that perform work in 1-2 seconds and long requests that do work in 1 minute..

Is servicebus the right choice for this work? I’m thinking about returning a “response” for long running op with a token that can be used to request operation status and results with a new request. The problem is that big part of the requests must be used like sync request in order to complete http response.

I think I have also problems with response size (on MSMQ message transport) when I have to return huge list of objects

Any hint?

  • 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-25T12:34:16+00:00Added an answer on May 25, 2026 at 12:34 pm

    NServiceBus is not really suitable for request-response messaging patterns. It’s more suited to asynchronous publish-subscribe.

    Edit: In order to implement a kind of request response, you would need to message in both directions, but consisting of three logical steps:

    1. So your client sends a message requesting the data.
    2. The server would receive the message, process it, construct a return message with the data, and send it to the client.
    3. The client can then process the data.

    Because each of these steps takes place in isolation and in an asynchronous manner there can be no meaningful SLA or timeout enforced between when a client sends a request and receives a response. But this works nicely for large processing job which may take several minutes to complete.

    Additionally a common value which can be used to tie the request to the response will need to be present in both messages. Otherwise a client could send more than one request, and receive multiple responses and not know which response was for which request.

    So you can do this with NServiceBus but it takes a little more thought.

    Also NServiceBus uses MSMQ as the underlying transport, not http.

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

Sidebar

Related Questions

I have a windows service that runs various system monitoring operations. However, when running
I have a long running process that needs to do a lot of queries
We have a system that has some Bash scripts running besides Java code. Since
I have a Perl/POE/Tk script running on Win32 ActivePerl that calls executables using system
I have a J2EE-based system which is running currently on Apache Tomcat. We are
I have a long-running process where, due to a bug, a trivial/expendable thread is
I have several process in my system that need to communicate with each other.
I have an system running embedded linux and it is critical that it runs
I am looking to implement a continuous unit test running system, something I have
So I have a daemon running on a Linux system, and I want to

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.