Questions tagged [message-passing]
The message-passing tag has no summary.
29 questions
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 ...
-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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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/...
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 ...
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 (...
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 ...
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 ...
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 ...
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 ...
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) ...