Questions tagged [messaging]

104 questions
23
votes
1 answer

Does Akka obsolesce JMS/AMQP message brokers?

I spent the last week deep diving into the Akka docs and finally understand what actor systems are, and the problems that they solve. My understanding (and experience with) traditional JMS/AMQP message brokers is that they exist to provide the…
smeeb
  • 4,820
  • 10
  • 30
  • 49
16
votes
1 answer

Alan Kay: "The Big Idea is Messaging"

Alan Kay said "OO" was about messaging, not objects and drew a parallel to biological cells. His views are enticing, but vague. The way I understand it is something like a Cellular Automata. In a Cellular Automata there's a grid of cells that can…
16
votes
1 answer

Why is Akka being marketed as reactive? Is Actor Model reactive?

As far as I understand the Actor Model and the Reactive Programming are separate concepts. Actor Model does not seem to be inherently reactive to me. However the Akka framework which is an Actor Model implementation is being described as…
Den
  • 4,827
  • 2
  • 32
  • 48
14
votes
2 answers

How to determine if a message should be a command message or event message?

Two enterprise integration patterns are the command message and the event message. I am working on a system in which we use messaging not only for integration with other systems, but for internal communication between services. It's supposed to be…
Kazark
  • 1,810
  • 1
  • 17
  • 37
9
votes
1 answer

Architecture for a mobile (Android) chat application

I want to develop a chat application that reminds a bit whatsapp, I am doing it as a learning project. I am currently doing it on Android just because I am doing an Android course. The requirements are: users register with some data (phone number,…
user1002065
  • 193
  • 1
  • 1
  • 3
7
votes
2 answers

Implementation of communication between packages (Java)

I'm making a project with 5 packages. The packages can communicate with each other by sending Messages to a central MessageQueue in the Main package and that MessageQueue takes care of all the messages. (cfr.:…
Aerus
  • 173
  • 4
7
votes
1 answer

How is caching used within messaging apps?

I'm actually studying about web development. I was just asking why a lot of web apps and chats(Whatsapp, Telegram, Discord, and a lot, a lot more!) are using cache. I mean, after learning cache systems like Redis and Memcached, I was asking how…
DanielVip3
  • 83
  • 1
  • 5
7
votes
7 answers

Communication Between Different Technologies in a Distributed Application

I had to a incorporate several legacy applications and services in a network-distributed application. The existing services and applications are written using different languages and technologies, including: java, C#.Net and C++; all running on MS…
sjtaheri
  • 173
  • 5
6
votes
1 answer

CQRS-Event Sourcing: how to process events in the expected order inside the read model

I'm looking for some insights about how to handle the read model in a CQRS Event Sourcing application, in order to do the best to ensure data consistency. The missing point is how to be sure (actually not sure, but reasonably sure) that the…
Enrico Massone
  • 683
  • 6
  • 14
6
votes
3 answers

Eliminating Dependencies vs Eliminating Redundancy

Upon my assignment to a project, I discovered that many message classes were received and then kept intact and passed around inside the receiving application. When these messages changed, code throughout the entire application had to be changed.…
user24449
  • 232
  • 1
  • 6
5
votes
1 answer

Design verification - chat application architecture

So for my newest hobby project, I want to create a simple chat application where users can just log in with a nickname (no passwords) and talk to anybody on the network. Off the top of my head, I'm thinking about this design where a frontend Client…
orion_ix
  • 61
  • 5
5
votes
2 answers

Difference between sending a message and emitting it

Halfway through the RabbitMQ tutorial, I noticed that the tutorial stops referring to producers "sending" messages and starts using the verb "emit" instead — and pretty consistently, too; after the second tutorial, the verb "send" is no longer used…
user34530
4
votes
2 answers

CQRS async query from command handler

In a CQRS/async microservices context, I have a command handler e.g. SendOrderConfirmationEmailCommandHandler implemented in a communications service. This depends on information from the orders service, which can be retrieved via an…
4
votes
1 answer

distributed application design - using message broker

Background I'm trying to design a layer/component in my distributed application that will communicate between component A and component B. Right now, this "communication" is accomplished by replicating an entire database from the server where…
dot
  • 531
  • 4
  • 12
4
votes
2 answers

Master-Slave Cluster - How to make sure the master is really dead for the slave to take over?

I have a in-house messaging system, similar to a message broker. We have one master message broker and one slave message broker. A message broker just receives messages and sends them to all nodes. The slave is acting as a node, receiving messages…
Pika Sucar
  • 49
  • 5
1
2 3 4 5 6 7