Questions tagged [service-bus]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
151 views

Azure Function SQL polling Vs Service Bus. How reliable is Service bus? Does it ever fail?

I have scheduling requirements where I place all my schedules in SQL db and then use the azure function every minute to read that database. When the schedule is met, I then perform a durable function ...
0 votes
0 answers
47 views

Service Bus Handlers Direct Access to DB vs Api

I have a dilemma on my service bus, whether to use an API (blue in the image) or Direct access to the database? (green in the image) Option A Use two api endpoints. First to get accounts to process. ...
  • 151
0 votes
0 answers
102 views

Azure - Event Grid Topic and Service Bus

Our system currently needs to expose multiple events to other systems like Azure Power Apps, Logic Apps, Azure DevOps or any other Custom app. We are mostly an Azure shop so were looking at Event Grid,...
0 votes
0 answers
269 views

Bi-directional messaging using Zero MQ pub sub pattern

I am trying to design a system that can be safely used to share messages between processes on the same system using ZeroMQ. I have chosen to use a central broker that binds to a particular port. All ...
2 votes
3 answers
336 views

Subscribe to topics or to messages on those topics?

I've encountered a couple of different techniques for dealing with service bus messaging (queues and topics) and I'm just looking for some input on best practices. I've encountered a couple of ...
1 vote
1 answer
139 views

Implemeting a distributed n-Producers/1-Consumer service for critical-mission system

I am trying to implement a distributed version of multi-producer/1-consumer for a critical-mission system. I'm looking for good alternatives to the current approach based on RDBMS. The problem The ...
  • 113
2 votes
2 answers
531 views

Service bus and strict message order - how can I handle failed messages?

I am considering using Azure Service Bus, however my question applies to queues in general. I have a requirement to send messages in a certain order. Say that the publisher sends a message to the ...
4 votes
2 answers
2k views

Using distributed locks in microservice environment

I'm developing distributed system and trying to use best practices of microservice architecture. I was faced with a situation when I think I need something like distributed locks. Since I have not so ...
2 votes
3 answers
488 views

Serialization of messages on a servicebus and microservice architecture

In a microservice-based system, it exist some principles. Sam Newman often refers to them as these: You should always model your application around the domain A culture of automation. Automate whats ...
0 votes
1 answer
785 views

Dealing with eventual consistency when persisting and publishing events

Currently working on a DDD application that is using event sourcing with redis as my main persistence store. So unfortunately I do not have built in rollbacks should something fail. The application is ...
  • 103
4 votes
1 answer
410 views

Service bus and authentication

I have a system that consists of several applications. Often these applications need to talk to each other. Sometimes it can make sense to use a "service account" for the communication but other ...
1 vote
2 answers
1k views

Best way to sync data from one database to another

Let's say I have my web shop and database have multiple tables like Products, Product prices and similar. I'm selling my software solution to my affiliate partner. He gets its database, it window ...
4 votes
1 answer
987 views

Actor pattern in azure service fabric

I'm currently designing an application, and I'm confused at how to break apart my monolith application. After doing some research, service fabric actors seem to be the best solution for simple ...
  • 89
0 votes
2 answers
737 views

NServiceBus: What are the advantages of not using retries?

I know you can configure NServiceBus to automatically retry to send messages (FLR: First Level Retries) and wait before retrying again (SLR: Second Level Retries), but, using the default configuration ...
  • 4,060
1 vote
3 answers
432 views

Durable messaging over HTTP

I need to send messages from a Windows Service to a Azure Service Fabric Stateful service. The network connection is not very reliable, and there must not be lost data. I was hoping I could use ...
  • 111
0 votes
0 answers
50 views

Synchronized computation task distribution

I have a system where a set of Operations needs to be done every day. Each Operation has the following metadata: Type, Entity and a Date (independent of current date). It reads something from the ...
18 votes
1 answer
5k views

Should I use a command or an event?

The difference between a command and an event in bus communication seems a little vague to me. I know that commands should be executed once only, while an event can be handled multiple times, but ...
1 vote
3 answers
181 views

In an ESB type system, what field name should be used as a "correlation ID"?

We're using ASP.NET Web API and Azure Service Bus and adding logging to our disparate services and systems. We need to track a correlation ID to the headers of each set of bus messages as well as logs ...
  • 170
2 votes
1 answer
538 views

Is publish–subscribe pattern suitable for my case?

I'm planning to use publish–subscribe pattern with Azure Service Bus in my logistics application, but I'm confused whether publish–subscribe pattern is suitable for my case. My scenarios: Users will ...
  • 159
5 votes
1 answer
15k views

Difference between ESB and ETL

When should a ESB vs ETL tool be used? I have worked on ESB projects using Tibco Businessworks quite a few years ago. The message bus that we built used to consume messages from a source system , ...
4 votes
1 answer
596 views

Identity propagation using Azure service bus

We currently have a platform with a SOA architecture in which the user's identity is propagated from the web application via middle tier services (REST and SOAP) until we actually query our data ...
  • 841
4 votes
1 answer
575 views

Azure ServiceBus Queue: Consumer Application

I am running a .net MVC4 web application. I want to be able to hit an action on a controller, create an email and send it to my service bus queue to be processed (sent). What are my options as far ...
  • 141
10 votes
1 answer
4k views

Single source of truth within an enterprise distributed system

Within an enterprise distributed system I have many services - an E-commerce service, a CRM, support desk, finance, billing. Many of these services share common data, such as Customer data. These ...
4 votes
1 answer
2k views

How many Topics (queues) to practically use in an ESB

In all the Service Bus examples and tutorials I've seen, they cover publishing a single message to a single Topic that is picked up by a single listening Subscriber. Whilst this is good for a simple ...
1 vote
2 answers
216 views

Responsibility of an ESB

When using an enterprise service bus, is it responsible for; a. the successful delivery of a message to a consuming application b. to successfully deliver a message until the application's logic ...
2 votes
1 answer
898 views

Shared database vs tightly coupled message model

We have an ASP.NET MVC application sitting on top of a MySQL database. Now we're thinking about creating a public REST API so that third parties may integrate their services with ours. Now, I would ...
  • 123
1 vote
0 answers
713 views

How do I better manage my Service Bus Quotas in Azure?

I'm trying to determine how best to accomplish the following scenario using the Azure Service Bus. I have millions of devices (desktop software, mobile phone apps, etc) that need to have messages sent ...
  • 166
3 votes
0 answers
1k views

ZeroMQ and Majordomo protocol

I am learning ZeroMQ and came across the Majordomo Protocol. I am wondering if I'm understanding this correctly, is the use case the same as.. for example.. the Microsoft Azure AppFabric service? ...
  • 225
3 votes
1 answer
206 views

How does one deliver messages to (and query from) sites with possibly bad connectivity, having numerous WCF Soap and Web API services?

My company is investigating using a service bus. Currently we have running prototypes of NServiceBus and Microsoft Service Bus (on premise). I'm quite happy with the pub-sub and topic messaging ...
1 vote
1 answer
312 views

What factors should be considered before deciding to build a message bus with SOAP services? [closed]

It would seem to me that the cost of having a team of developers build and maintain all the components necessary to provide routing, workflow orchestration, durability, security and the other features ...
10 votes
1 answer
2k views

Diagramming messages on a service bus

I'm looking for a way to clearly diagram how multiple applications communicate via a service bus. The best I've come up with so far is a sequence diagram, but I really don't like that. Sequence ...
  • 4,085
0 votes
0 answers
177 views

Refactoring expansive message architecture

I am currently working with a system that acts like a message bus. A message comes in to the service (WCF Windows Service hosted). The system then uses a service locator pattern to look up which ...
1 vote
1 answer
733 views

Architecture for interfacing multiple applications

Let's say you have a Master Database and a few External/Internal applications that use WebServices to interface data. What would be your preferred architecture to interface data from and to those ...
  • 111
3 votes
2 answers
1k views

Use of Service Bus in a Pub-Sub Engine

In one of our projects, we've built a Publisher - Subscriber Engine on Oracle Service Bus. The functionality being a series of events are published and subscribers (JMS queues) receive these whenever ...
  • 1,407
19 votes
2 answers
2k views

How granular should a command be in a CQ[R]S model?

I'm considering a project to migrate part of our WCF-based SOA over to a service bus model (probably nServiceBus) and using some basic pub-sub to achieve Command-Query Separation. I'm not new to SOA, ...
  • 43.8k
7 votes
5 answers
20k views

What ESB systems work the best for .Net stack [closed]

What Enterprise Service Bus would you use and why?
  • 2,368
11 votes
7 answers
5k views

Best way for a technical manager to stay up to date on technology

My manager asked for a list of technical blogs he should follow to stay current on technology. His problem is he keeps hearing terms that he hasn't heard of (i.e. NoSql, sharding, agure, sevice bus, ...
  • 6,975