All Questions
Tagged with event-programming design
19 questions
2
votes
1
answer
351
views
Event Driven Architecture how should channels be used
I'm using event driven architecture, to perform realtime signal proccessing and to provide independent metrics.
I decided to use a redis cluster to act a cache and a message bus.
I'm a bit confused ...
3
votes
1
answer
154
views
When components of an event-driven program require specific responses to specific events, is event-driven still the correct approach?
I'm working on a multi-threaded program that interfaces with external USB/serial devices via user-space device drivers.
Early in the design stage, I made the decision to split the program into three ...
12
votes
3
answers
6k
views
What's the difference between reactive programming and event driven architecture?
What's the difference between reactive programming and event driven architecture?
Is reactive programming a way of implementing event driven programming?
0
votes
1
answer
139
views
How to identify rules satisfying a certain condition based on events
I am working on a microservice, in an event driven world, where I have tens of 1000s of rules configured which depend on data type A, B, C, D and so on.
As soon as an event arrives I want to be able ...
1
vote
1
answer
322
views
How to avoid losing events kept in memory on application shutdown?
An application App-a I maintain publishes some events to an event bus for other team's application App-z. So far, the events were published right after being generated.
Now, I need to delay events ~...
0
votes
1
answer
371
views
Solving Event Dependence in Event Driven Systems
There are X Million Shipments per day. Each shipment has about 50 metrics to be calculated.
Each metric is calculated based on a type of the event(Let's say event_1 has the required information to ...
2
votes
1
answer
240
views
How can I optimize an alert system that processes 1000 requests / hour?
I am building a solution where IoT-devices send in measurement-data to an API that's hosted on AWS. For each measurement-type the user can set a threshold value; that when reached will trigger an ...
3
votes
1
answer
3k
views
Event Driven Microservice Architecture & Dealing with synchronous external neighboring systems
Let’s say I have an event driven microservice system - a microservice cluster - that takes orders and works with them. Orders are placed by an external neighbor system that is working synchronously ...
6
votes
2
answers
2k
views
Designing event-driven architecture for multiple services
I've created about a dozen services for a intranet. Now I've gotten to the point that these services are more coupled to each other than I'm comfortable with, and I've been having problems where once ...
1
vote
2
answers
236
views
Processing multiple type of messages in multiple ways
In a chat application there may be multiple types of incoming messages to be handled. For example, I have messages of these types: text, link, image, and video. Text and link are handled the same way, ...
2
votes
2
answers
282
views
Handling events based on their property
I'm working with an external system which sends event-like data to us. An existing SDK from the third-party guys parses the JSON so in the end we get something like the following class:
public class ...
8
votes
4
answers
3k
views
How to ensure a method handling each event in an event system?
I have several types of events, for example:
abstract class Event {
static class KeyPress extends Event { ... }
static class KeyRelease extends Event { ... }
static class KeyHold extends ...
5
votes
2
answers
389
views
Is a promise-aware eventing system desirable?
I'm fully aware that Promises and eventing are both ways to do asynchronous programming, and you can choose either one for a given project. However, in practice, the code base I'm working with is ...
1
vote
0
answers
405
views
Using events and event subscribers to create windows in a desktop application
I should probably open this by saying I do mostly Web applications at work, which obviously have some major differences from typical desktop stuff.
I had a small Windows Forms program I'd made for ...
4
votes
1
answer
1k
views
Are there any design pattern to data binding in event driven architecture?
I develop a browser based game with node.js in back and HTML5 canvas in front-end.
It use WebSockets for communication.
My plan is to generate business events in client side, e.g.: "finishJob".
...