Skip to main content

Questions tagged [message-passing]

Filter by
Sorted by
Tagged with
1 vote
0 answers
202 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 ...
Maciej Pszczolinski's user avatar
-2 votes
2 answers
98 views

How to call the API once per event-message?

I have X number of servers in NLB listening to an event that gets published by a backend system. I am planning to develop a windows service that listens to the event and then calls an internal API. ...
user9969157's user avatar
2 votes
1 answer
179 views

How could I programmatically generate a chart of interservice messaging flows before runtime?

My team is currently developing an application using a microservice architecture with publish/subscribe interservice communication over a message bus. Certain types of HTTP requests and messages ...
Ashok Bhaskar's user avatar
1 vote
0 answers
53 views

MPI Derived Types and Portability

When using derived types in MPI for communication of data which is not contiguous in memory, the sequence of datatype-displacement pairs defining the derived type seems to be assumed to be the same ...
K. Mylonakis's user avatar
2 votes
3 answers
549 views

How to replace parallel async calls between micro services with event based communication

A service A needs to access services B, C and D to process a request. Currently this is implemented as parallel async calls from A to B, C and D. Once all of them has responded, service A follows some ...
Raiyan's user avatar
  • 131
3 votes
1 answer
182 views

What to choose, ioctl-like interface or a set of distinct methods?

I am implementing a messaging protocol between nodes on a network and i am wondering how to expose the messaging system interface to the programmers. The messaging protocol supports a set of commands ...
Karim Manaouil's user avatar
4 votes
1 answer
1k views

Should we be using pub/sub in our messaging stack?

Basically this question is of the variety "Can I check that we're not about to do something dumb?" We're setting up a new system that needs to guarantee delivery of emails. We have an ...
ChrisJ's user avatar
  • 289
3 votes
1 answer
224 views

How to organize exchanges of non critical messages between servers in multiple data centers by using Kafka (or other solution)?

We need to organize a way to exchange messages between servers in multiple data centers. Messages are not critical. We just need to be able to send messages from any servers in any data centers to any ...
Oleksandr's user avatar
  • 141
1 vote
1 answer
662 views

Publish and Subscribe (data transfer) with permanently offline nodes. Are message queues a good fit?

The general question is what kind of mechanism can I use to transfer data to and from publishers and subscribers where publishers or subscribers can be permanently offline? Can message queues be used ...
Kent Bull's user avatar
  • 141
5 votes
2 answers
1k views

How to think in Object Oriented way when it comes to passing messages?

Somewhere I have read that "Object Oriented" is a misnomer and that OO should really stand for "message-oriented programming". What I am not clear about is ... what does it mean? For example in ...
Dennis's user avatar
  • 8,267
8 votes
1 answer
405 views

Can message passing be used for a CPU redundancy and load-balancing construct

In bare metal or minimal RTOS type embedded systems with multiple processors is it possible to have an identical program running on each processor that uses Message Passing Interface (MPI) to provide ...
8bit.wappen's user avatar
2 votes
2 answers
553 views

How is MPI related to "message passing"?

How, if at all, is Message Passing Interface (MPI) related to the general concept of "message passing"? Admittedly, the question does sound ridiculous. Surely, "Message Passing Interface" is an ...
Praxeolitic's user avatar
  • 1,674
0 votes
2 answers
1k views

How can an update message from a rabbitmq broker reach all relevant clients via multiple websocket servers?

Lets say I have multiple websocket servers that maintain many connections to clients to send updates. These websocket servers will be pulling said updates from a rabbitmq broker, and broadcasting them ...
Jaigus's user avatar
  • 103
1 vote
1 answer
184 views

Controlling a sensor network

I am having a problem developing an object-orientated architecture to manage a network of sensors and controls. Currently, I am writing in Python, but this is more of a conceptual question. I have an ...
Michael Molter's user avatar
3 votes
1 answer
269 views

What are good conventions/standards for application messaging through stdin and stdout?

I'm designing and application that spawns another processes to handle some specialized work. The application and the process it spawns will communicate through standard input and standard output (and ...
Rico Kahler's user avatar
1 vote
1 answer
38 views

Does my Remote Procedure and Event Protocol complete?

I recently wrote a protocol I call RPEP (https://github.com/Tixit/RPEP), partially in response to the unfortunately named WAMP protocol. I'm looking for feedback as to whether the protocol is ...
B T's user avatar
  • 350
6 votes
2 answers
4k views

how to decide when to use database replication vs. custom REST applications vs. message brokers (pub / sub)

We have a distributed solution that's currently under design. There are a few points of integration where some application needs data from someone else and vice versa. We could solve by either ...
dot's user avatar
  • 571
16 votes
1 answer
7k views

Alan Kay: "The Big Idea is Messaging" [duplicate]

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 ...
R. Barzell's user avatar
1 vote
1 answer
295 views

Implement RPC via SIP

Look at the following use case. I have a client (Java) application, which wants to get/set the state of another, remote application (C). The communication between them is done via SIP, which is run ...
jcklie's user avatar
  • 111
3 votes
1 answer
254 views

Message Passing: How to detect and/or handle "dead ends"

I'm playing with a mental model for distributed actor system that communicates using messages. In this, it is possible for an actor to create another actor. I've encountered one specific situation ...
PatrickB's user avatar
  • 133
0 votes
2 answers
209 views

Is often using int constants as parameters in communication between objects considered bad design?

An app I'm working on is designed with MVC. The components often interacts with each other by passing int constants, which then have to be interpreted with if statements. I'm wondering if this is ...
Aviv Cohn's user avatar
  • 21.5k
6 votes
4 answers
3k views

Design pattern for bidirectional signals/events

This problem feels rather basic, yet I've never known a great solution. I'm looking for a way for components in an application to notify each other while being as decoupled as possible (both at build/...
Jason Boyd's user avatar
0 votes
1 answer
402 views

In objective C, where does the inheritance chain end? [closed]

In objective C, classes are objects, but what object owns the class objects? I am trying to get as detailed an understanding of iOS programming as I can, and this question popped into my head, so I ...
user3251270's user avatar
2 votes
1 answer
452 views

Objective C - nested messages ... confusion about

Wonder if anyone could shed some light on this messaging construct: The documentation says that messages appear btwn brackets [] and that the msg target/object is on the left, whilst the msg itself (...
user10756's user avatar
1 vote
1 answer
4k views

How to implement session state in a backend web application?

When using a non-MVC service-oriented/Interactor pattern approach to decoupled system architecture, how is session state implemented? I've been thinking of building the frontend of an application ...
Seralize's user avatar
  • 474
3 votes
1 answer
452 views

UI message passing programming paradigm [closed]

I recently (about two months ago) read an article that explained some user interface paradigm that I can't remember the name of and I also can't find the article anymore. The paradigm allows for ...
Ronald Wildenberg's user avatar
0 votes
4 answers
998 views

Objective-C message passing related queries

I am learning objective-C after having good knowledge of C/C++. I have 2 questions: Are Obj-C message passing and C++ vtable, two different ways of implementing polymorphism or Are they two very ...
codecool's user avatar
  • 555
29 votes
6 answers
21k views

Merits of a "Message Passing" system vs. an "Event Based" system

My question is coming from an somewhat uneducated perspective. What are the relative merits of a "message passing" system vs an "event based" system. Why would one choose one over the other? What ...
sylvanaar's user avatar
  • 2,305
17 votes
3 answers
10k views

Entity-Component-System architecture: interaction between systems

I am studying the Entity-Component-System architecture philosophy. As I have read about it, a typical entity system has: 1) Entities - which are merely ID tags which have a number of components 2) ...
noncom's user avatar
  • 303