Questions tagged [messaging]
The messaging tag has no summary.
107 questions
1
vote
2
answers
298
views
CQRS: Multiple entry points for a single command
I’m trying to follow the Clean Architecture and CQRS within an application that, let’s say, create a product.
To achieve this, the application has 3 adapters, one for reading a file, another for ...
2
votes
1
answer
487
views
Cons of sending content-available=true and content-priority=high in BULK FCM messages?
While sending FCMs, I've noticed these two headers are important(message won't go without these headers), but what could be the cons of sending both of these headers as it is? I tried to read about ...
0
votes
0
answers
126
views
sync over async in K8S
We build up a microservice architecture which is called from above by a REACT SPA. All is deployed in the AWS Cloud, that is to say in an AWS EKS (K8S). We have at most 600 users in parallel.
Do you ...
2
votes
2
answers
2k
views
How to design inter-service communication with notifications microservice?
I'm creating an application based on the microservice architecture and stuck on notifications microservice design. Basically it should be a service that notifies users about events happening in the ...
1
vote
1
answer
100
views
Efficient Schema For Pairing Styling Metadata with Text Fields in JSON Messages
I am trying to design a schema for pairing styling data with text. However, I need it to pair styling metadata to only one part of a larger string.
For example:
"This is a test string"
I ...
0
votes
4
answers
487
views
GUID possible misuse as short term message id
I have an distributed application that sends P2P messages parallel (for fault tolerance) across different channels.
This mandates an filter to avoid multiple receivement of the same message. Therfor I ...
2
votes
1
answer
652
views
Internal/external commands in CQRS
I have several questions related to CQRS in eventually consistent systems with a need of resilient Command/Event processing.
Is it OK to have external/public synchronous Commands (triggered by API, e....
-1
votes
1
answer
949
views
Chat app database architecture [closed]
I understand that chat apps are a fairly well understood and architected thing. I’m looking for some best practices advice on structuring the backend, particularly as it relates to user inboxes.
One ...
-2
votes
1
answer
119
views
Creating a promise based API, from a message based API
I'm building some software that behind the scenes needs to communicate with hardware via a "message" API, over a named pipe.
For example, I can send this message:
<?xml version="1.0&...
0
votes
1
answer
323
views
What limits throughput for a single topic in Kafka, Pulsar, RabbitMQ?
I am trying to assess which of Apache Kafka, RabbitMQ, and Apache Pulsar will meet my throughput requirements for a system with multiple producers and multiple consumers for a single topic.
How can ...
3
votes
2
answers
2k
views
How do big messaging apps keep users connected
So let's take the Facebook Messenger app for example. When you send a message it instantly gets sent to the other user you are writing to.I believe they use some kind of WebSockets to send these ...
1
vote
0
answers
212
views
Topics best practices - AWS SNS and others
I'm designing a medium size project that will have few decoupled microservices.
I want to avoid costly architecture mistakes at the very beginning.
What I'm wondering (I googled and didn't found any ...
-1
votes
1
answer
139
views
How do social media platforms stay up-to-date with messages and posts? [closed]
This is a question I have always wondered
Is it as simple as repetitive pinging of a server in a seperate thread or is it more complicated than that?
I am only talking about the app version not the ...
2
votes
1
answer
769
views
AMQP messaging: How to generate documentation for consumers?
My application publishes various messages (e.g., telemetry, changed-events, ...) to a RabbitMQ message-broker. The users have no access to the source-code and therefore, will need a separate ...
3
votes
3
answers
1k
views
Avoiding infinite loops in SOA / Enterprise Integration messaging
Thinking within a Service Oriented Architecture / Microservices / Enterprise Integration framework how does one avoid infinite loops when publishing messages between systems, especially when one has ...
1
vote
3
answers
210
views
Is shared message types a design smell?
I recently encountered a microservice architecture with 50+ services communicating with messaging using publish/subscribe on a topic. I have previously worked with event based systems where each ...
0
votes
1
answer
886
views
Message bus: should an event handler trigger other commands?
Given I have a message bus that can handle commands and events. A command handler can dispatch an event. But should an event handler be able to dispatch another command? Or should event handlers only ...
0
votes
3
answers
283
views
Keeping up logical order in a messaging environment
My setting is the following (Please assume that this points are entirely rock solid unchangeable, some for good reasons some: "just because"):
In a super scalable microservice environment i receive ...
0
votes
1
answer
215
views
Architecture question about Instant Messaging Platform with MQTT
I'm starting a project to build an instant messaging application for mobile devices.
Although not the complete list of components these are the main data flows I'm concerned about:
Mobile app ...
0
votes
0
answers
360
views
Design Decision - MassTransit or NetMQ
We work in a traveling company.
We sell tickets for domestic flights, international flights, trains, and buses.
Currently, each of these products has its own team members and they use different ...
2
votes
2
answers
1k
views
Pros and cons of consuming events in batches
Suppose I have a message broker that allows consumers to specify a batch size. What are the advantages and disadvantages of consuming events in batches compared to consume them one by one?
The ...
-1
votes
2
answers
215
views
Using Apache Kafka for rare events [closed]
There are multiple microservices which are responsible for storing data dependent from user, e.g. user preferences on some products, user orders, etc. There is a scenario when user is deleted from ...
0
votes
0
answers
93
views
Notification system on app using Firebase
I have to build an app that manages orders between customers who submit the orders and riders who deliver them. Riders work in shifts, so when a customer submits an order, only the riders that are ...
2
votes
2
answers
119
views
Syncing two Notifications and Merging them Into One
I am running into this issue:
Suppose that there are two independent services, A and B, and both process messages from C.
Suppose that I have a service X that needs to know if a message m from C was ...
0
votes
1
answer
1k
views
Scheduling operations in a micro service
I'm trying to realize a service that executes operations at a certain time, those operations are specified by another service by messaging, here's the scenario:
The service A receives a request to ...