Event Driven Design is the implementation of requirements through a queue of events that are triggered by user input. Callback functions only create event objects and add them to the queue so state remains unchanged.
Questions tagged [event-driven-design]
241 questions
0
votes
1 answer
Staged Event Driven Architecture - Weblogic
When should I go for Staged Event Driven Architecture ? Do you see any issues in implementing SEDA in weblogic by having multiple Queues/MDBs as stages ? Any insights on disadvantages using SEDA ?

Arihant
- 1
- 1
0
votes
1 answer
How to use JS callbacks in a recursive way?
I have this part of the code that doesn't work. It suppose to make a part of a tree view. The callback for the klassification_ajax should work after the function is done, but cause of the other ajax calls in different iteration of the while loop,…

JMJ
- 2,034
- 2
- 16
- 17
0
votes
1 answer
Understanding Event Driven Microservices
So I've been doing some research around Event Driven design for Microservice architecture to help decouple some of the microservices I've been helping develop. Currently the problem I've been running into is that each microservice is calling other…

Joel Holmes
- 943
- 2
- 12
- 23
0
votes
2 answers
With Spring Cloud Stream, should I config channels for every event type?
I'm working on a project using springboot, spring cloud netflix, etc., to build microservices.
And for some of the async communication, I'm using Spring Cloud Stream to produce and consume events. e.g. After a business contract is drafted in the…

frankskywalker
- 85
- 1
- 11
0
votes
1 answer
Unity GUI Button - Polling Input VS Event Driven Input
I am learning Unity with C# and studying the GUI Button. I found the following statement in Unity documentation:
"This means that your OnGUI implementation might be called several times per frame (one call per event). "
using UnityEngine;
using…

user1232250
- 329
- 3
- 19
0
votes
1 answer
Azure service bus topic receive message with session with event driven architecture model
I am using azure service bus topic. as i have large message so i am splitting large message and sending them in small- small messages with sessionid and split order. I want my receiver to have event driven architecture. as i have to receive all…

Mahesh
- 730
- 7
- 26
0
votes
2 answers
Process messages from AWS SQS using multiple hosts
I have a application involving AWS SNS, SQS and needs to be run on multiple hosts. The exact problem description is:
Whenever there is an event, a message containing ID is published to a SNS topic which has a SQS queue subscribed to it. Now I get…

rightCoder
- 281
- 1
- 3
- 18
0
votes
1 answer
Is it a good idea to program in a non-event driven way in nodejs?
In order to separate the business logic and data access layer , I have separated the files and folders in a non-event driven way. Here is an example of the User signup process I have taken , Here is my Business logic layer file.
var userDA =…

Tamim Addari
- 7,591
- 9
- 40
- 59
0
votes
0 answers
Event-driven design in C++
In my event-driven application I have common issue. Suppose following class diagram:
I'm using observer pattern here. Worker and WorkerManager lives in the same thread. Now suppose sequence of actions:
Worker calls listener class to report result…

Megamozg
- 975
- 9
- 15
0
votes
2 answers
Passing http form values to a C program
I've been assigned to upgrade an embedded application written in C. The application is configured via a web interface.
When the user modifies the web application a file is written to /var/www/settings.json and the file /var/www/UPDATE_SETTINGS is…

coolaj86
- 74,004
- 20
- 105
- 125
0
votes
1 answer
Writing Async code in event driven way
I am programminfg in node.js sometimes async functions become really incredibly dirty.
I want to write async code but retrieve data as an event happens i am aware of promises but it is not exactly what i want simply what i ask is something like this…

nikoss
- 3,254
- 2
- 26
- 40
0
votes
0 answers
Event driven for huge amount of data (Java)
Event-driven is a nice concept. But business is not concerned with programming approaches, rather it expects application to be fast, robust, fault-tolerant, etc.
If I have the following process:
(ext. system) -> IData -> T1 -> T2 -> (ext. system)
I…

Denis Kulagin
- 8,472
- 17
- 60
- 129
0
votes
2 answers
Lightweight Message Bus with broadcasting and routing capabilities?
I am trying to find the most light-weight message bus (queue?) that can handle the following:
Producer A subscribes to the bus. The bus is specified via a well known form of identification (like a name, a socket or something).
Consumer B…

Ashkan Kh. Nazary
- 21,844
- 13
- 44
- 68
0
votes
1 answer
MassTransit: Message contracts, polymorphism and dynamic proxy objects
TL;DR
On contract subscription, how can I get the raw message content or the original published object, rather than a dynamic proxy?
I am having a bad time trying to create a modular application based on MassTransit.
My idea is to have a…

vtortola
- 34,709
- 29
- 161
- 263
0
votes
1 answer
Javafx - should i make a static class for controlling my AI or an Object for each?
I am making a poker game (Texas Hold Em) and am wondering if I should be making a static class that controls all AI for simplicity or should I be aiming at making it in itself an instance so that each player could possibly use a different algorithm?…

John Conner
- 233
- 1
- 4
- 18