Skip to main content

Questions tagged [pubsub]

Publish/subscribe is a method for wiring software components together. One component publishes data, and subscribers receive events containing the data. This decouples the components so they do not need to know about each other; and it allows for configuration to wire components together without recompiling code.

1 vote
2 answers
82 views

Subscribing to a range of topics per instance of a service [closed]

If I have a system where my distributed service is sending live scores of 1000 s of football games from some hypothetical event to millions of clients. The service subscribes to the games from a ...
Ufder's user avatar
  • 244
0 votes
0 answers
39 views

What's the right ZMQ architecture for my scenario?

I have a service A that every once in a while needs to send a message to a cluster of services B1, B2 ... BN. Then all of these services need to receive that message reliably, and send a confirmation ...
codefast's user avatar
0 votes
1 answer
116 views

architecture design: In Pub Sub, how are publishing and subscription servers connected?

I was reading Google's Architectural overview of Pub/Sub and I was curious how publisher and subscription servers were connected. From what I understand: When a message is published, it is stored, ...
Thomas's user avatar
  • 129
0 votes
0 answers
96 views

Good reason not to do this: Pub/Sub with only 1 topic and publishers are also subscribers

Looking for a good reason to avoid this solution. Problem Multiple microservices/SAAS, each storing the same data that needs to be synced (example is customer contact details). 1st is an OAuth ...
Yorro's user avatar
  • 159
0 votes
1 answer
95 views

Is RabbitMQ suitable for allowing SaaS customers to subscribe to events?

I work on a SaaS system which is generally a single-tenant environment. Customers (whom the SaaS instances are for) would like a way to subscribe to events, such as updates of certain data entities. ...
Richard's user avatar
  • 101
0 votes
0 answers
77 views

Event based update of In memory Hashmap in multiple pods of kubernetes

I have a service (S1) that is deployed on kubernetes having multiple replicas (pods). S1 requires some data from database (Cosmos Cassandra Api) for calculation. This data is constantly updated by ...
Lord Nick's user avatar
  • 101
1 vote
2 answers
5k views

Is Kafka an event bus or a publisher subscriber (pubsub)pattern?

Building on this answer here, and its comments it entails that subscribers need to know and locate the publishers in a traditional pub/sub system. It also entails that publishers need to live at least ...
bodhihammer's user avatar
2 votes
3 answers
449 views

What should we do in face of a failing sub in pub-sub?

I'm working on a microservices application that is implemented from the ground up with MediatR em CQRS. We have a list of domain events that will be published via MediatR [simple pub-sub library that ...
underthevoid's user avatar
0 votes
2 answers
196 views

Prevent missing updates using a message broker after creating a task

I'm trying to design a data updates mechanism in my micro-services architecture. For the sake of simplicity, let's assume we have two micro-services A and B, B exposes an API for creating some tasks, ...
Sawel's user avatar
  • 109
2 votes
1 answer
4k views

Event bus vs PubSub

I have been using queues and PubSub patterns for years but never really came across the terminology "event bus". After some googling I didn't really find a clear distinction between "...
Frankster's user avatar
  • 169
0 votes
0 answers
110 views

Design : How to divide the responsibility in micro services

I have two micro services built using spring boot, One micro service is: "payment" Which handles actions related to payments. Like creating a payment link. Getting the latest status of ...
aravind's user avatar
  • 101
1 vote
2 answers
205 views

Make infinite loop handleable via delay?

I have a Node.js micro-service architecture-based back-end. Services communicate with each other via PubSub. E.g. upon a request to service A, service A messages either service B or service C via ...
cis's user avatar
  • 255
0 votes
1 answer
87 views

What kind of bottlenecks are possible when implementing a distributed workflow using a central point of control?

I was going through https://docs.microsoft.com/en-us/azure/architecture/patterns/choreography, the document mentions in the drawbacks of having a central orchestrator that it can become a performance ...
takasugi's user avatar
  • 293
0 votes
0 answers
751 views

gRPC client - to - client communication between other Lan network

I have a question about gRPC communication. I know gRPC has 4 models communication: unay, server-streaming, client-streaming and bi-direction. And the terms "client" and "server" ...
ThanhLam112358's user avatar
0 votes
0 answers
135 views

Redundancy approach for Pub-Sub application with events replication

I'm new to the microservices field. I'm looking for the right approaches regarding how to deal with the challenge of redundancy of a pus-sub application. Assume my application has has the below ...
Roni's user avatar
  • 101

15 30 50 per page
1
2 3 4 5